joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405270
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x462511
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47e820]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x14], 0
push 0
push 0
mov dword [esp + 0x28], 1
mov eax, dword [esp + 0x34]
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0xffffffffffffffff
push eax
push 0
push ebp
call ebx
mov edi, eax
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00424b49
mov esi, eax
lea eax, [edi + edi + 2]
push eax
push 0
push esi
call fcn.0044c710
mov ecx, dword [esp + 0x3c]
add esp, 0x10
push edi
push esi
push 0xffffffffffffffff
push ecx
push 0
push ebp
call ebx
mov edx, dword [esp + 0x34]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push esi
push 0
push edx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebp, eax
lea ebx, [ebp + 1]
push ebx
call fcn.00424b49
push ebx
mov edi, eax
push 0
push edi
call fcn.0044c710
mov eax, dword [esp + 0x44]
add esp, 0x10
push 0
push 0
push ebp
push edi
push 0xffffffffffffffff
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
call fcn.0042fdf3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40535b
push 0x80004005
call fcn.0040aa40
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov ebx, dword [esp + 0x28]
add eax, 0x10
mov dword [ebx], eax
push edi
push 0x46ea1c
push ebx
mov dword [esp + 0x20], 1
call fcn.0040ab20
push esi
call fcn.00424b4e
push edi
call fcn.00424b4e
mov byte [esp + 0x34], 0
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4053b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x40a860
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 0x40a879
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40a8b4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x40a8b0
lea ebx, [ebx]
cmp esi, eax
jae 0x40a8b4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x40a8a0
cmp esi, eax
jb 0x40a8ba
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 0x40ce90
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x464018
mov eax, dword fs:[0]
push eax
sub esp, 8
push edi
mov eax, dword [0x47e820]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [esi + 0x20]
push 0
push 0x64
push 0xcd
push eax
call dword [sym.imp.USER32.dll_SetTimer]
call fcn.0042fdf3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40cee1
push 0x80004005
call fcn.0040aa40
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 8], eax
mov dword [esp + 0x18], 0
mov ecx, dword [0x482d8c]
push ecx
lea edx, [esp + 0xc]
push str.c:ipepmemfile_pwfcreate_08_09_17_file__slogin_dooland.swf
push edx
call fcn.0040ab20
mov edi, dword [esp + 0x14]
push edi
push 0
push 0x480164
push 0
push 0
push 1
lea eax, [esi + 0xf58]
push 0x8e
push eax
call fcn.00432c1e
add esp, 0x2c
lea ecx, [esp + 0xc]
push ecx
push 0
push esi
push 0x406680
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea eax, [edi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40cf70
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x14
ret
Function at 0x412470
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns

Disassembly:
sub esp, 0x18
mov eax, dword [0x47e820]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [esp + 8], eax
jne 0x4124b1
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x4124b1
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
push ecx
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.0044cb80
add esp, 0xc
mov edx, dword [esp + 0x1c]
push edx
mov word [esp + 8], 2
call dword [sym.imp.WS2_32.dll_htons]
push 0
push 1
push 2
mov word [esp + 0x12], ax
call dword [sym.imp.WS2_32.dll_socket]
push 0x10
lea ecx, [esp + 8]
push ecx
push eax
mov dword [edi], eax
call dword [sym.imp.WS2_32.dll_connect]
mov ecx, dword [esp + 0x14]
xor edx, edx
cmp eax, 0xffffffff
setne dl
xor ecx, esp
mov eax, edx
call fcn.00448c81
add esp, 0x18
ret 4

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

Disassembly:
sub esp, 0xc10
mov eax, dword [0x47e820]
xor eax, esp
mov dword [esp + 0xc0c], eax
mov eax, dword [esp + 0xc14]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xc28]
push 0x800
mov ebx, edx
xor ebp, ebp
lea edx, [esp + 0x420]
push ebp
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], edi
xor esi, esi
call fcn.0044c710
add esp, 0xc
mov dword [edi], esi
push 0x400
lea eax, [esp + 0x20]
push 0
push eax
call fcn.0044c710
mov edx, dword [ebx]
add esp, 0xc
push 0
push 0x400
lea ecx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
test edi, edi
jle 0x4125b1
push edi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + esi + 0x424]
push ecx
call fcn.0044cb80
lea edx, [esp + 0x428]
push str._r_n_r_n
push edx
add esi, edi
call fcn.0044a580
mov ebp, eax
add esp, 0x14
test ebp, ebp
je 0x412550
jmp 0x4125b5
test ebp, ebp
je 0x4125f3
mov ecx, dword [esp + 0x14]
lea ebx, [esp + 0x41c]
call fcn.00413020
mov ecx, dword [esp + 0x18]
sub esi, ebp
lea esi, [esp + esi + 0x41c]
lea eax, [esi - 4]
push eax
add ebp, 4
push ebp
push ecx
call fcn.0044cb80
mov edx, dword [esp + 0x1c]
add esp, 0xc
add esi, 0xfffffffc
mov dword [edx], esi
mov eax, 1
jmp 0x4125f5
xor eax, eax
mov ecx, dword [esp + 0xc1c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00448c81
add esp, 0xc10
ret 8
Function at 0x412d00
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x404
mov eax, dword [0x47e820]
xor eax, esp
mov dword [esp + 0x400], eax
mov eax, dword [esp + 0x410]
push ebp
mov ebp, dword [esp + 0x40c]
push esi
push edi
mov esi, ecx
push esi
push eax
push ebp
call fcn.0044cb80
add esp, 0xc
push 0x400
lea eax, [esp + 0x10]
push 0
push eax
call fcn.0044c710
mov edx, dword [ebx]
add esp, 0xc
push 0
push 0x400
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_recv]
lea edi, [eax + esi]
cmp edi, dword [esp + 0x418]
jg 0x412d7e
test eax, eax
jle 0x412d7e
push eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esi + ebp]
push ecx
call fcn.0044cb80
mov esi, edi
jmp 0x412d2f
mov ecx, dword [esp + 0x40c]
pop edi
mov eax, esi
pop esi
pop ebp
xor ecx, esp
call fcn.00448c81
add esp, 0x404
ret 0xc

Function at 0x412da0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x404
mov eax, dword [0x47e820]
xor eax, esp
mov dword [esp + 0x400], eax
mov eax, dword [esp + 0x40c]
push ebx
push ebp
mov ebp, dword [esp + 0x410]
push esi
push edi
push 0x46ed0c
push eax
mov edi, ecx
mov ebx, edx
call fcn.00449428
mov esi, eax
add esp, 8
test esi, esi
jne 0x412de3
or eax, 0xffffffff
jmp 0x412e49
test edi, edi
jle 0x412df4
push esi
push 1
push edi
push ebx
call fcn.00449555
add esp, 0x10
mov ebx, dword [sym.imp.WS2_32.dll_recv]
lea ebx, [ebx]
push 0x400
lea eax, [esp + 0x14]
push 0
push eax
call fcn.0044c710
mov edx, dword [ebp]
add esp, 0xc
push 0
push 0x400
lea ecx, [esp + 0x18]
push ecx
push edx
call ebx
test eax, eax
push esi
jle 0x412e3f
push 1
push eax
add edi, eax
lea eax, [esp + 0x1c]
push eax
call fcn.00449555
add esp, 0x10
jmp 0x412e00
call fcn.00449655
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x410]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00448c81
add esp, 0x404
ret 8
Function at 0x413750
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4629a6
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
mov eax, dword [0x47e820]
xor eax, esp
mov dword [esp + 0x1a8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47e820]
xor eax, esp
push eax
lea eax, [esp + 0x1c0]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1d0]
mov ebp, dword [esp + 0x1d4]
mov ebx, edx
push 0x46e9e4
push eax
mov esi, ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x1c], ebx
call fcn.00449428
mov edi, eax
xor eax, eax
add esp, 8
cmp edi, eax
jne 0x41380b
cmp ebp, eax
je 0x413804
call fcn.0044a86d
mov eax, dword [eax]
push eax
call fcn.0044a7cb
add esp, 4
test eax, eax
jne 0x4137e5
xor ecx, ecx
push ecx
push eax
mov ecx, ebp
call fcn.0040aa90
xor al, al
jmp 0x41399d
mov ecx, eax
lea esi, [ecx + 1]
lea ebx, [ebx]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x4137f0
sub ecx, esi
push ecx
push eax
mov ecx, ebp
call fcn.0040aa90
xor al, al
jmp 0x41399d
cmp ebx, eax
je 0x413817
mov ecx, dword [ebx]
mov dword [esp + 0x18], ecx
jmp 0x41381b
mov dword [esp + 0x18], eax
mov ecx, esi
mov byte [esp + 0x1a8], al
mov dword [esp + 0x1a9], eax
mov dword [esp + 0x1ad], eax
mov dword [esp + 0x1b1], eax
mov dword [esp + 0x1b5], eax
mov word [esp + 0x1b9], ax
mov byte [esp + 0x1bb], al
call fcn.0040ad60
push 2
push 0
push edi
call fcn.0044a4f1
push edi
call fcn.0044aa49
push 0
push 0
push edi
mov ebp, eax
call fcn.0044a4f1
add esp, 0x1c
test ebp, ebp
je 0x413969
mov eax, dword [esi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, ebp
or eax, ecx
jge 0x413899
push ebp
mov ecx, esi
call fcn.0040abd0
mov eax, dword [esi]
push edi
push 1
push ebp
push eax
call fcn.0044992e
add esp, 0x10
push ebp
mov ecx, esi
call fcn.00416ac0
mov eax, dword [esi]
push 0xfde9
lea edx, [esp + 0xac]
push eax
lea eax, [esp + 0xac]
mov dword [esp + 0xac], edx
call fcn.004168d0
mov dword [esp + 0x1c8], 0
mov ebx, dword [esp + 0xa4]
lea eax, [esp + 0x24]
mov dword [esp + 0x20], eax
call dword [0x47fb70]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.00416980
mov byte [esp + 0x1c8], 1
mov edx, dword [esp + 0x20]
test edx, edx
jne 0x413911
xor eax, eax
jmp 0x413921
mov eax, edx
lea ebx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x413916
sub eax, ebx
push eax
push edx
mov ecx, esi
call fcn.0040aa90
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x24]
cmp eax, edx
je 0x41393f
push eax
call fcn.0044b405
add esp, 4
mov dword [esp + 0x1c8], 0xffffffff
mov eax, dword [esp + 0xa4]
lea ecx, [esp + 0xa8]
cmp eax, ecx
je 0x413965
push eax
call fcn.0044b405
add esp, 4
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x413988
push ebp
lea edx, [esp + 0x1ac]
push edx
push str._s_d_bytes
push eax
call fcn.0040ab20
add esp, 0x10
push edi
call fcn.00449655
add esp, 4
test ebx, ebx
je 0x41399b
mov eax, dword [esp + 0x18]
mov dword [ebx], eax
mov al, 1
mov ecx, dword [esp + 0x1c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1a8]
xor ecx, esp
call fcn.00448c81
add esp, 0x1b8
ret
Function at 0x4139d0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x463456
mov eax, dword fs:[0]
push eax
sub esp, 0x1b0
mov eax, dword [0x47e820]
xor eax, esp
mov dword [esp + 0x1ac], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47e820]
xor eax, esp
push eax
lea eax, [esp + 0x1c4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1d4]
mov ebp, dword [esp + 0x1d8]
mov ebx, edx
push 0x46ed0c
push eax
mov esi, ecx
mov dword [esp + 0x28], ebx
mov byte [esp + 0x1f], 1
call fcn.00449428
mov edi, eax
xor eax, eax
add esp, 8
cmp edi, eax
jne 0x413a8b
cmp ebx, eax
je 0x413a84
call fcn.0044a86d
mov eax, dword [eax]
push eax
call fcn.0044a7cb
add esp, 4
test eax, eax
jne 0x413a66
xor ecx, ecx
push ecx
push eax
mov ecx, ebx
call fcn.0040aa90
xor al, al
jmp 0x413c0d
mov ecx, eax
lea esi, [ecx + 1]
jmp 0x413a70
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x413a70
sub ecx, esi
push ecx
push eax
mov ecx, ebx
call fcn.0040aa90
xor al, al
jmp 0x413c0d
cmp ebp, eax
je 0x413a98
mov ecx, dword [ebp]
mov dword [esp + 0x1c], ecx
jmp 0x413a9c
mov dword [esp + 0x1c], eax
mov ebx, dword [esi]
mov byte [esp + 0x1ac], al
mov dword [esp + 0x1ad], eax
mov dword [esp + 0x1b1], eax
mov dword [esp + 0x1b5], eax
mov dword [esp + 0x1b9], eax
mov word [esp + 0x1bd], ax
mov byte [esp + 0x1bf], al
mov esi, dword [ebx - 0xc]
test esi, esi
je 0x413bb3
lea edx, [esp + 0xac]
mov dword [esp + 0xa8], edx
call dword [0x47fb70]
push eax
push ebx
lea eax, [esp + 0xb0]
call fcn.004168d0
mov dword [esp + 0x1cc], 0
mov ebx, dword [esp + 0xa8]
push 0xfde9
lea ecx, [esp + 0x28]
lea eax, [esp + 0x2c]
push ecx
mov dword [esp + 0x2c], eax
call fcn.00416980
mov byte [esp + 0x1cc], 1
mov edx, dword [esp + 0x24]
push edx
lea ecx, [esp + 0x1c]
call fcn.0040aee0
mov eax, dword [esp + 0x18]
mov esi, dword [eax - 0xc]
push edi
push 1
push esi
push eax
call fcn.00449555
add esp, 0x10
cmp eax, 1
mov eax, dword [esp + 0x18]
sete byte [esp + 0x17]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413b78
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x28]
cmp eax, ecx
je 0x413b8d
push eax
call fcn.0044b405
add esp, 4
mov dword [esp + 0x1cc], 0xffffffff
mov eax, dword [esp + 0xa8]
lea edx, [esp + 0xac]
cmp eax, edx
je 0x413bb3
push eax
call fcn.0044b405
add esp, 4
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x413bd2
push esi
lea eax, [esp + 0x1b0]
push eax
push str._s_d_bytes
push ebx
call fcn.0040ab20
add esp, 0x10
cmp byte [esp + 0x17], 0
jne 0x413bf5
test ebx, ebx
je 0x413bf5
call fcn.0044a86d
mov ecx, dword [eax]
push ecx
call fcn.0044a7cb
add esp, 4
push eax
mov ecx, ebx
call fcn.0040adc0
push edi
call fcn.00449655
add esp, 4
test ebp, ebp
je 0x413c09
mov edx, dword [esp + 0x1c]
mov dword [ebp], edx
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x1c4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1ac]
xor ecx, esp
call fcn.00448c81
add esp, 0x1bc
ret
Function at 0x41c7e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x461d98
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push edi
mov eax, dword [0x47e820]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push eax
call edi
push eax
call fcn.0042b771
push eax
lea ecx, [esp + 0x30]
call fcn.0042831d
lea ecx, [esp + 0xc]
mov dword [esp + 0x4c], 0
mov edx, dword [esi + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x1c]
push edx
push eax
call edi
push eax
call fcn.0042b771
mov ecx, eax
call fcn.00427fd0
cmp dword [esi + 0x134], 0
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
jne 0x41c901
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0x130]
call fcn.0042828a
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
push eax
push ecx
push edx
lea edi, [esi + 0x140]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call fcn.00428551
test edi, edi
je 0x41c8bb
mov edi, dword [edi + 4]
mov eax, dword [esi + 0x134]
push edi
push eax
call fcn.0042861f
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0xc]
push 0xcc0020
push edx
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x148], eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
push edx
push eax
mov eax, dword [esi + 0x134]
push ecx
push 0
push 0
push eax
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
sub eax, dword [esp + 0x10]
sub ecx, dword [esp + 0xc]
lea edx, [esi + 0x130]
test edx, edx
je 0x41c91e
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
push eax
push ecx
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 4]
push 0
push 0
push edx
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], 0xffffffff
call fcn.00428371
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x44
ret 4
Function at 0x422f30
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax + 0x14], 7
mov dword [eax + 0x18], 5
mov dword [eax + 0x1c], 4
mov dword [eax + 0x20], 6
mov dword [eax + 0x24], 0xc
mov dword [eax + 0x28], 9
mov dword [eax + 0x2c], 0xb
mov dword [eax + 0x30], 0xa
mov dword [eax + 0x34], 0x11
mov dword [eax + 0x38], 0xe
mov dword [eax + 0x3c], 0x10
mov dword [eax + 0x40], 0xf
mov dword [eax + 0x44], 0x16
mov dword [eax + 0x48], 0x14
mov dword [eax + 0x4c], 0x17
mov dword [eax + 0x50], 0x15
mov dword [eax + 4], 0x67452301
mov dword [eax + 8], 0xefcdab89
mov dword [eax + 0xc], 0x98badcfe
mov dword [eax + 0x10], 0x10325476
ret

Function at 0x423e10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x423e81
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x423e81
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
jne 0x423e6a
jmp 0x423e81
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
push 0x40
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x4264d9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x42651f
call fcn.0042fc51
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x42651f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x426562
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x42654b
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x42654b
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x42655f
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x42797d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0042fc51
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4279b4
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0042759f
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x42ca72
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x42caab
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0042ca35
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00416ac0
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x42e7d7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x42e81a
call fcn.0042fc51
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x42e81a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42e835
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0042e38e
test ebx, ebx
mov esi, eax
je 0x42e833
test edi, edi
je 0x42e833
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x43f65b
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 0x43f689
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x43f6a7
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0043f5c5
jmp 0x43f6a7
mov eax, dword [esi + 0x14]
test eax, eax
je 0x43f6a7
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0043f5c5
test edi, edi
mov eax, edi
jne 0x43f691
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x481d40]
test ecx, ecx
je 0x43f76a
jmp 0x43f65a
ret 8

Function at 0x448c81
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47e820]
jne 0x448c8b
repz ret
jmp fcn.0044ef56