joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a1c0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x40a1cb
xor eax, eax
ret
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
not eax
mov edx, esi
cmp esi, 8
jb 0x40a2a9
shr esi, 3
push edi
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x425808]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x425808]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x425808]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x425808]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x425808]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x425808]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x425808]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x425808]
inc ecx
sub edx, 8
sub esi, 1
jne 0x40a1e5
pop edi
test edx, edx
je 0x40a2cb
lea ecx, [ecx]
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x425808]
inc ecx
sub edx, 1
jne 0x40a2b0
not eax
pop esi
ret
Function at 0x401e94
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
push str.WriteOp_Complete
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00402970
push eax
mov ecx, dword [ebp + 8]
call fcn.00401410
push eax
mov edx, dword [0x45d14c]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x401f6e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0xa0], eax
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0xa0], 0x3e5
jne 0x401f5d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x1388
mov dword [ebp - 0x1c], eax
push 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [0x45d14c]
push edx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x401f4e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebp - 0x1c]
jbe 0x401f4c
jmp 0x401f4e
jmp 0x401f24
cmp dword [ebp - 4], 0
je 0x401f5b
mov eax, 1
jmp 0x401f7d
jmp 0x401f6c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0xa0], eax
jmp 0x401f7b
cmp dword [ebp - 4], 0
je 0x401f7b
mov eax, 1
jmp 0x401f7d
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x40c39c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43561b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
mov dword [ebp - 0x114], 0
lea ecx, [ebp - 0x110]
call fcn.00402540
mov dword [ebp - 4], 1
push 0x100
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x5c
lea ecx, [ebp - 0x10c]
push ecx
call fcn.0041a670
add esp, 8
mov byte [eax], 0
lea edx, [ebp - 0x10c]
push edx
push str._seReg.dat
lea eax, [ebp - 0x110]
push eax
call fcn.004281cd
add esp, 0xc
lea ecx, [ebp - 0x110]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00429322
mov edx, dword [ebp - 0x114]
or edx, 1
mov dword [ebp - 0x114], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x110]
call fcn.004295ad
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4122a2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436910
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x64], 0
jne 0x412362
lea ecx, [ebp - 0x14]
call fcn.00402540
mov dword [ebp - 4], 0
push 0x104
push 0x104
lea ecx, [ebp - 0x14]
call fcn.0042997c
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.004299cb
push str.winhlp32.exe
lea ecx, [ebp - 0x14]
call fcn.0042993d
lea ecx, [ebp - 0x14]
call fcn.00401410
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x412349
push 0x6a
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x412349
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.USER32.dll_CopyIcon]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x64], eax
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004295ad
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x412370
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov dword [ebp - 0x118], ecx
lea eax, [ebp - 8]
push eax
push 1
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4123dd
mov dword [ebp - 0x114], 0x104
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x110]
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4125db
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov dword [ebp - 0x218], ecx
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0x4486dc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x20
ja 0x412719
lea edx, [ebp - 0x210]
push edx
push 0x4486e4
push 0x80000000
mov ecx, dword [ebp - 0x218]
call fcn.00412370
test eax, eax
jne 0x412719
push 0x4486ec
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x210]
push edx
push 0x80000000
mov ecx, dword [ebp - 0x218]
call fcn.00412370
test eax, eax
jne 0x412719
push 0x448700
lea eax, [ebp - 0x210]
push eax
call fcn.0041a8d0
add esp, 8
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x4126d9
push 0x448708
lea ecx, [ebp - 0x210]
push ecx
call fcn.0041a8d0
add esp, 8
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x4126ce
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp + eax - 0x211]
mov dword [ebp - 0x214], eax
jmp 0x4126d7
mov ecx, dword [ebp - 0x214]
mov byte [ecx], 0
jmp 0x4126e2
mov edx, dword [ebp - 0x214]
mov byte [edx], 0
push 0x44870c
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x414040
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
and eax, 0xffff
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
jmp 0x414069
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x91
jge 0x414085
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 8]
cmp edx, dword [ecx + 0x448770]
je 0x414085
jmp 0x414060
cmp dword [ebp - 4], 0x91
jne 0x414095
mov dword [ebp - 4], 0x1c
mov eax, dword [ebp - 4]
imul eax, eax, 0x48
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax + 0x4487b0]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
imul eax, eax, 0x48
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x4487b4]
mov dword [ecx], edx
mov esp, ebp
pop ebp
ret 8
Function at 0x4144cf
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov dword [ebp - 0x218], ecx
push 5
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x20
ja 0x414609
lea ecx, [ebp - 0x210]
push ecx
push str..htm
push 0x80000000
mov ecx, dword [ebp - 0x218]
call fcn.00414612
test eax, eax
jne 0x414609
push str._shellopencommand
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x210]
push ecx
push 0x80000000
mov ecx, dword [ebp - 0x218]
call fcn.00414612
test eax, eax
jne 0x414609
push str.__1_
lea edx, [ebp - 0x210]
push edx
call fcn.0041a8d0
add esp, 8
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x4145cb
push 0x4565c0
lea eax, [ebp - 0x210]
push eax
call fcn.0041a8d0
add esp, 8
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x4145c0
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [ebp + eax - 0x211]
mov dword [ebp - 0x214], edx
jmp 0x4145c9
mov eax, dword [ebp - 0x214]
mov byte [eax], 0
jmp 0x4145d4
mov ecx, dword [ebp - 0x214]
mov byte [ecx], 0
push 0x4565c4
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x214]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 5
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4

Function at 0x414612
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov dword [ebp - 0x118], ecx
lea eax, [ebp - 8]
push eax
push 1
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41467f
mov dword [ebp - 0x114], 0x104
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x110]
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x418730
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x43710c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
push esi
mov esi, ecx
lea eax, [esp + 0xa8]
lea ecx, [esp + 0x18]
push eax
push str.SOFTWAREElectronic_Arts_
push ecx
mov dword [esp + 0xac], 1
call fcn.0042986a
push 0x459428
lea edx, [esp + 0x10]
push eax
push edx
mov byte [esp + 0xac], 2
call fcn.004297f6
lea ecx, [esp + 0xac]
lea edx, [esp + 0x14]
push ecx
push eax
push edx
mov byte [esp + 0xac], 3
call fcn.00429790
push str.ergc
push eax
lea eax, [esp + 0x10]
mov byte [esp + 0xa8], 4
push eax
call fcn.004297f6
lea ecx, [esp + 0x14]
mov byte [esp + 0xa0], 8
call fcn.004295ad
lea ecx, [esp + 0xc]
mov byte [esp + 0xa0], 7
call fcn.004295ad
lea ecx, [esp + 0x18]
mov byte [esp + 0xa0], 6
call fcn.004295ad
mov edx, dword [esp + 8]
lea ecx, [esp + 4]
push ecx
push 1
push 0
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41884c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
push eax
mov eax, dword [esp + 8]
lea edx, [esp + 0x20]
push ecx
push edx
push 0
push 0
push eax
mov dword [esp + 0x28], 0x76
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x418841
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.00418c60
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 8]
mov byte [esp + 0xa0], 1
call fcn.004295ad
lea ecx, [esp + 0xa8]
mov byte [esp + 0xa0], 0
call fcn.004295ad
lea ecx, [esp + 0xac]
mov dword [esp + 0xa0], 0xffffffff
call fcn.004295ad
mov ecx, dword [esp + 0x98]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0xa0
ret 8
Function at 0x4188b0
Capabilities:
Access peb ldr_data
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x437167
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
mov dword [esp + 0x18], 0
lea eax, [esp + 0x30]
lea ecx, [esp + 0x14]
push eax
push str.SOFTWAREElectronic_Arts_
push ecx
mov dword [esp + 0x30], 2
call fcn.0042986a
push 0x459428
lea edx, [esp + 0x14]
push eax
push edx
mov byte [esp + 0x30], 3
call fcn.004297f6
lea ecx, [esp + 0x34]
lea edx, [esp + 0xc]
push ecx
push eax
push edx
mov byte [esp + 0x30], 4
call fcn.00429790
push str.ergc
push eax
lea eax, [esp + 0x10]
mov byte [esp + 0x2c], 5
push eax
call fcn.004297f6
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 9
call fcn.004295ad
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 8
call fcn.004295ad
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 7
call fcn.004295ad
mov edx, dword [esp + 8]
lea ecx, [esp + 4]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4189b1
test esi, esi
je 0x418989
lea ecx, [esi + 4]
jmp 0x41898b
xor ecx, ecx
mov eax, dword [esi + 4]
mov ecx, dword [ecx]
mov eax, dword [eax - 8]
push eax
push ecx
mov ecx, dword [esp + 0xc]
push 1
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4189ba
lea eax, [esi + 4]
jmp 0x4189bc
xor eax, eax
mov esi, dword [esp + 0x2c]
push eax
lea ecx, [esi + 4]
call fcn.00429322
mov dword [esi], 0x439e50
mov dword [esp + 0x18], 1
lea ecx, [esp + 8]
mov byte [esp + 0x24], 2
call fcn.004295ad
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 1
call fcn.004295ad
lea ecx, [esp + 0x34]
mov byte [esp + 0x24], 0
call fcn.004295ad
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc
Function at 0x421129
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x45c5a0
cmp edx, dword [eax]
je 0x42114b
add eax, 8
inc ecx
cmp eax, 0x45c630
jl 0x42113c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x45c5a0]
jne 0x421279
mov eax, dword [0x45f5b4]
cmp eax, 1
je 0x421253
test eax, eax
jne 0x42117c
cmp dword [0x459c44], 1
je 0x421253
cmp edx, 0xfc
je 0x421279
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4211b3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004218c0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0041a1c0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4211f6
lea eax, [ebp - 0x1a4]
push eax
call fcn.0041a1c0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x43c150
push edi
call fcn.0041aa40
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004218c0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004218d0
lea eax, [ebp - 0xa0]
push 0x43c130
push eax
call fcn.004218d0
push dword [esi + 0x45c5a4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004218d0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00422e37
add esp, 0x2c
pop edi
jmp 0x421279
lea eax, [ebp + 8]
lea esi, [esi + 0x45c5a4]
push 0
push eax
push dword [esi]
call fcn.0041a1c0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4274f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0041a3f0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x4275bb
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4275bb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x42756e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x427579
or bh, 8
and edi, 0x8000000
je 0x427594
mov eax, dword [0x460d5c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x4275bb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427990
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4279bb
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x4279df
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x4279fa
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x42a306
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x42a328
cmp dword [edi + 0x3c], 0
jne 0x42a328
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.004324c5
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.0042a355
pop edi
pop esi
pop ebx
ret 8

Function at 0x42b99b
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x42b9d3
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004299f3
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004299cb
jmp 0x42b9df
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x42cfe5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x42d027
call fcn.004324c5
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x42d027
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x42d01e
xor eax, eax
jmp 0x42d02f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0042d035
pop edi
pop esi
pop ebx
ret 4

Function at 0x42e773
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
push esi
push edi
mov ebp, ecx
call fcn.004324c5
mov esi, dword [eax + 0xc]
test esi, esi
je 0x42e797
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x42e79b
xor eax, eax
jmp 0x42e7c2
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push ebx
mov ecx, ebp
call fcn.0042e705
push 1
pop eax
pop ebx
pop edi
pop esi
pop ebp
ret 4

Function at 0x43375a
Capabilities:
Receive data
Receive data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call sub.WSOCK32.dll_recv
ret 0xc

Function at 0x433771
Capabilities:
Send data
Send data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call sub.WSOCK32.dll_send
ret 0xc

Function at 0x58a364
Capabilities:
Encode data using xor

Disassembly:
inc esi
mov byte [esp], 0x1c
mov word [esp + 4], 0x9ac5
mov byte [esp + 4], 0x76
call fcn.00515c25