joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402890
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4028a9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4028e4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4028e0
lea ebx, [ebx]
cmp esi, eax
jae 0x4028e4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4028d0
cmp esi, eax
jb 0x4028ea
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x40c9e3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42ab14]
jne 0x40c9ed
repz ret
jmp fcn.004124e2

Function at 0x411306
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x42aca0]
je 0x411321
inc edi
cmp edi, 0x17
jb 0x411312
cmp edi, 0x17
jae 0x4114a1
push ebp
push 3
call fcn.0041a5cb
cmp eax, 1
pop ecx
je 0x41146d
push 3
call fcn.0041a5cb
test eax, eax
pop ecx
jne 0x411355
cmp dword [0x42aaec], 1
je 0x41146d
cmp ebx, 0xfc
je 0x4114a0
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x42de70
push ebp
call fcn.00414c49
add esp, 0xc
test eax, eax
je 0x41138b
push esi
push esi
push esi
push esi
push esi
call fcn.004130e2
add esp, 0x14
push 0x104
mov esi, 0x42de89
push esi
push 0
mov byte [0x42df8d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4113cf
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00414c49
add esp, 0xc
test eax, eax
je 0x4113cf
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004130e2
add esp, 0x14
push esi
call fcn.00415810
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x411414
push esi
call fcn.00415810
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x42e184
push 0x423d8c
sub ecx, eax
push ecx
push eax
call fcn.00414b96
add esp, 0x14
test eax, eax
je 0x411414
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.004130e2
add esp, 0x14
jmp 0x411416
xor esi, esi
push 0x423d88
push ebx
push ebp
call fcn.00414ad0
add esp, 0xc
test eax, eax
je 0x411436
push esi
push esi
push esi
push esi
push esi
call fcn.004130e2
add esp, 0x14
push dword [edi*8 + 0x42aca4]
push ebx
push ebp
call fcn.00414ad0
add esp, 0xc
test eax, eax
je 0x411458
push esi
push esi
push esi
push esi
push esi
call fcn.004130e2
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0041a40e
add esp, 0xc
jmp 0x4114a0
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x4114a0
cmp ebp, 0xffffffff
je 0x4114a0
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x42aca4]
push dword [esi]
call fcn.00415810
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x41a40e
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00411eb7
xor ebx, ebx
cmp dword [0x42e968], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x41a4e4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x41a5c4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x41a5c4
push eax
call fcn.00411e49
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42e968], eax
call esi
push eax
call fcn.00411e49
mov dword [esp], 0x425074
push edi
mov dword [0x42e96c], eax
call esi
push eax
call fcn.00411e49
mov dword [0x42e970], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040dd04
test eax, eax
pop ecx
pop ecx
je 0x41a4b2
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004130e2
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x41a4e4
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00411e49
cmp eax, ebx
pop ecx
mov dword [0x42e978], eax
je 0x41a4e4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00411e49
pop ecx
mov dword [0x42e974], eax
mov eax, dword [0x42e974]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x41a569
cmp dword [0x42e978], ecx
je 0x41a569
push eax
call fcn.00411ec0
push dword [0x42e978]
mov esi, eax
call fcn.00411ec0
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x41a569
cmp edi, ebx
je 0x41a569
call esi
cmp eax, ebx
je 0x41a536
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41a536
test byte [ebp - 0x18], 1
jne 0x41a569
lea eax, [ebp - 0x10]
push eax
call fcn.0040dd3b
test eax, eax
pop ecx
je 0x41a551
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004130e2
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x41a560
or dword [ebp + 0x10], 0x200000
jmp 0x41a5a4
or dword [ebp + 0x10], 0x40000
jmp 0x41a5a4
mov eax, dword [0x42e96c]
cmp eax, dword [ebp - 8]
je 0x41a5a4
push eax
call fcn.00411ec0
cmp eax, ebx
pop ecx
je 0x41a5a4
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x41a5a4
mov eax, dword [0x42e970]
cmp eax, dword [ebp - 8]
je 0x41a5a4
push eax
call fcn.00411ec0
cmp eax, ebx
pop ecx
je 0x41a5a4
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42e968]
call fcn.00411ec0
cmp eax, ebx
pop ecx
je 0x41a5c4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41a5c6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x420c3e
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x42ab14]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00420bd3
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0040f180
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x420c8d
cmp dword [ebp - 0x1c], 5
jb 0x420ca5
jmp 0x420ca1
cmp dword [ebp - 0x10], 1
jne 0x420ca5
cmp dword [ebp - 0x1c], 4
ja 0x420ca1
jne 0x420ca5
cmp dword [ebp - 0x18], 0
jbe 0x420ca5
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x425918
call fcn.00420aa7
test eax, eax
jge 0x420cc6
mov byte [0x42ea68], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0040c9e3
add ebp, 0x78
leave
ret
Function at 0x431432
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
mov ecx, dword ds:[eax + 0x3c]
mov edx, eax
push dword ds:[ecx + edx + 0x78]
push edx
pop edx
pop eax
add eax, edx
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jmp 0x431460
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
cmp edx, dword [ecx + 0x18]
jae 0x431513
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x20]
add ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + edx*4]
add eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov cl, byte [eax]
mov byte [ebp - 0x19], cl
mov edx, dword [ebp - 0x14]
cmp cl, byte [edx]
jne 0x4314cd
cmp byte [ebp - 0x19], 0
je 0x4314c4
mov eax, dword [ebp - 0x18]
mov cl, byte [eax + 1]
mov byte [ebp - 0x1a], cl
mov edx, dword [ebp - 0x14]
cmp cl, byte [edx + 1]
jne 0x4314cd
add dword [ebp - 0x18], 2
add dword [ebp - 0x14], 2
cmp byte [ebp - 0x1a], 0
jne 0x431490
mov dword [ebp - 0x20], 0
jmp 0x4314d5
sbb eax, eax
sbb eax, 0xffffffff
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0
jne 0x43150e
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x24]
add eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov dx, word [eax + ecx*2]
mov word [ebp - 0x10], dx
mov eax, dword [ebp - 4]
mov ecx, dword ds:[eax + 0x1c]
add ecx, dword [ebp + 8]
movzx edx, word [ebp - 0x10]
mov eax, dword ds:[ecx + edx*4]
add eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
jmp 0x431457
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rdata
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x60676c39
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x7fba7adb
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x405c70
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0xc]
xor eax, eax
test edi, edi
jbe 0x405ca0
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x10]
mov ecx, eax
mov edx, ebp
and ecx, 3
shl ecx, 3
shr edx, cl
mov cl, byte [eax + esi]
xor cl, dl
mov byte [eax + esi], cl
inc eax
cmp eax, edi
jb 0x405c85
pop esi
pop ebp
pop edi
ret 0x10
Function at 0x40f8b0
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
xor ecx, ecx
push esi
push edi
mov eax, dword [ebp]
mov edi, dword [ebp + 4]
mov dword [esp + 0x24], edi
mov dword [esp + 0x10], 0
mov cx, word [eax + 0x14]
cmp word [eax + 6], 0
lea ebx, [ecx + eax + 0x18]
jbe 0x40f9b3
add ebx, 0x10
mov eax, dword [ebx]
test eax, eax
jne 0x40f936
mov edx, dword [esp + 0x20]
mov esi, dword [edx + 0x38]
test esi, esi
jle 0x40f996
mov eax, dword [ebp + 0x34]
mov edx, dword [ebx - 4]
push eax
mov ecx, edi
push 4
push 0x1000
add ecx, edx
push esi
push ecx
call dword [ebp + 0x1c]
add esp, 0x14
test eax, eax
je 0x40f9be
mov eax, dword [ebx - 4]
mov ecx, esi
mov edx, ecx
add edi, eax
xor eax, eax
mov dword [ebx - 8], edi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x40f992
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x1c]
add ecx, eax
push ecx
push edx
call fcn.0040f8a0
add esp, 8
test eax, eax
je 0x40f9be
mov eax, dword [ebp + 0x34]
mov ecx, dword [ebx]
push eax
mov eax, dword [ebx - 4]
mov edx, edi
push 4
push 0x1000
add edx, eax
push ecx
push edx
call dword [ebp + 0x1c]
add esp, 0x14
test eax, eax
je 0x40f9be
mov ecx, dword [ebx - 4]
mov esi, dword [ebx + 4]
mov eax, edi
mov edi, dword [esp + 0x18]
add eax, ecx
mov ecx, dword [ebx]
mov edx, ecx
add esi, edi
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebx - 8], eax
mov edi, dword [esp + 0x24]
mov ecx, dword [ebp]
mov eax, dword [esp + 0x10]
xor edx, edx
inc eax
mov dx, word [ecx + 6]
add ebx, 0x28
cmp eax, edx
mov dword [esp + 0x10], eax
jl 0x40f8e3
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x40f9d0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x20]
xor ecx, ecx
push ebp
mov eax, dword [ebx]
mov edx, dword [ebx + 0x3c]
push esi
push edi
mov cx, word [eax + 0x14]
dec edx
not edx
lea edi, [ecx + eax + 0x18]
push edi
push ebx
mov eax, dword [edi + 8]
and edx, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
call fcn.0040fb10
mov ecx, dword [ebx]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x24]
add esp, 8
mov dword [esp + 0x20], eax
mov eax, 1
mov dword [esp + 0x24], 0
add edi, 0x28
cmp word [ecx + 6], ax
mov dword [esp + 0x10], eax
jbe 0x40fae5
mov esi, dword [ebx + 0x3c]
mov eax, dword [edi + 8]
dec esi
push edi
not esi
push ebx
mov dword [esp + 0x34], eax
and esi, eax
call fcn.0040fb10
mov edx, dword [esp + 0x1c]
mov ebp, eax
mov eax, dword [esp + 0x20]
add esp, 8
cmp eax, esi
je 0x40fa8f
mov eax, dword [esp + 0x1c]
add eax, edx
cmp eax, esi
ja 0x40fa8f
lea ecx, [esp + 0x14]
push ecx
push ebx
call fcn.0040fb40
add esp, 8
test eax, eax
je 0x40fb05
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebp
mov eax, dword [edi + 0x24]
mov dword [esp + 0x20], eax
jmp 0x40fac4
mov eax, dword [edi + 0x24]
mov ecx, dword [esp + 0x20]
test eax, 0x2000000
je 0x40faad
test ecx, 0x2000000
je 0x40faad
or ecx, eax
mov dword [esp + 0x20], ecx
jmp 0x40fab8
or eax, ecx
and eax, 0xfdffffff
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
sub ebp, edx
add ebp, eax
mov dword [esp + 0x1c], ebp
mov ecx, dword [ebx]
mov eax, dword [esp + 0x10]
xor edx, edx
inc eax
mov dx, word [ecx + 6]
add edi, 0x28
cmp eax, edx
mov dword [esp + 0x10], eax
jl 0x40fa2f
mov eax, 1
mov dword [esp + 0x24], eax
lea eax, [esp + 0x14]
push eax
push ebx
call fcn.0040fb40
add esp, 8
neg eax
pop edi
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
add esp, 0x18
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x42b7b0
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.00419380
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x42b87b
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 0x42b87b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x42b82e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x42b839
or bh, 8
and edi, 0x8000000
je 0x42b854
mov eax, dword [0x488efc]
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 0x42b87b
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 0x42bc50
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 0x42bc7b
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 0x42bc9f
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 0x42bcba
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 0x42f532
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 0x42f554
cmp dword [edi + 0x3c], 0
jne 0x42f554
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.00447a41
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.0042f581
pop edi
pop esi
pop ebx
ret 8

Function at 0x42f5cf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.00447a41
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x42f600
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.0042f613
pop edi
pop esi
pop ebx
ret 8

Function at 0x430c35
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x430c6d
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.0043403d
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00434015
jmp 0x430c79
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x432841
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 0x432883
call fcn.00447a41
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x432883
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x43287a
xor eax, eax
jmp 0x43288b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00432891
pop edi
pop esi
pop ebx
ret 4
Function at 0x448d80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 8], ecx
call fcn.00447a41
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x448dbd
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x448dbd
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x448dc1
xor eax, eax
jmp 0x448e3f
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.0042fcfe
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x448df9
mov ecx, ebx
lea eax, [esi + 8]
movzx edx, word [eax]
inc dword [ebp - 4]
mov dword [ecx], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 4
inc eax
cmp dword [ebp - 4], edx
jl 0x448de3
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.00448f30
push ebx
mov edi, eax
call fcn.0042fd27
test edi, edi
pop ecx
je 0x448e3b
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
lea esi, [ecx + 7]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [eax + 7]
push eax
push esi
push edx
call fcn.00448cf9
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.00448e44
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4

Function at 0x449bf4
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x449c22
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x449c40
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00449b5a
jmp 0x449c40
mov eax, dword [esi + 0x14]
test eax, eax
je 0x449c40
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00449b5a
test edi, edi
mov eax, edi
jne 0x449c2a
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219

Function at 0x433003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x2fc64406
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x756122f1
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219