joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411160
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x454586
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x46fb88]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46fb88]
xor eax, esp
push eax
lea eax, [esp + 0x100]
mov dword fs:[0], eax
mov eax, dword [esp + 0x110]
mov ebp, dword [esp + 0x114]
xor ebx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
call fcn.0041b558
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4111cd
push 0x80004005
call fcn.00401150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x28], edi
lea ecx, [esp + 0x30]
push ecx
push ebp
mov dword [esp + 0x110], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebx
jne 0x411233
mov esi, dword [esp + 0x18]
push str.None_VerSion_Supprot
mov ecx, esi
call fcn.00401710
lea eax, [edi - 0x10]
mov dword [esp + 0x108], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41122c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x41135f
push esi
call fcn.0041acde
add esp, 4
mov edi, eax
push edi
push esi
push ebx
push ebp
call sub.VERSION.dll_GetFileVersionInfoA
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
push str.VarFileInfoTranslation
push edi
mov dword [esp + 0x24], ebx
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [esp + 0x14]
shr eax, 2
xor esi, esi
test eax, eax
jle 0x41131a
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
jmp 0x411280
mov eax, dword [esp + 0x1c]
movzx ecx, word [eax + esi*4 + 2]
movzx edx, word [eax + esi*4]
push ecx
push edx
lea eax, [esp + 0x3c]
push str.StringFileInfo_04x_04xProductName
push eax
call ebp
add esp, 0x10
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x3c]
push eax
push edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebx
call sub.VERSION.dll_VerQueryValueA
mov ecx, dword [esp + 0x24]
push ecx
lea ecx, [esp + 0x24]
call fcn.00401710
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x110], 1
call fcn.00402c60
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x108], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41130a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
inc esi
shr ecx, 2
cmp esi, ecx
jl 0x411280
push edi
call fcn.0041acd3
mov esi, dword [esp + 0x2c]
add esi, 0xfffffff0
push esi
call fcn.00401410
mov edi, dword [esp + 0x20]
add eax, 0x10
mov dword [edi], eax
add esp, 8
mov dword [esp + 0x108], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x41135d
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, edi
mov ecx, dword [esp + 0x100]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.0043b6e4
add esp, 0xf8
ret
Function at 0x412e00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
push edi
call fcn.0042a62d
mov edi, dword [eax + 0xc]
mov eax, dword [esp + 0x14]
movzx ecx, word [esp + 0x10]
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
jne 0x412e27
pop edi
pop ebx
pop ecx
ret
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x412e45
pop esi
pop edi
pop ebx
pop ecx
ret
push ebp
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push ebx
push eax
call fcn.0043bd70
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea edx, [esp + 0x10]
push edx
push 0
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ebp, dword [esp + 0x10]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x412ea4
lea eax, [esi + 4]
push eax
push ebp
mov dword [esi], vtable.Gdiplus::Image.0
mov dword [eax], 0
call sub.gdiplus.dll_GdipLoadImageFromStream
mov dword [esi + 8], eax
jmp 0x412ea6
xor esi, esi
mov eax, dword [esp + 0x20]
mov dword [eax], esi
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebp
pop esi
pop edi
mov eax, 1
pop ebx
pop ecx
ret
Function at 0x415820
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x454dc6
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x46fb88]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46fb88]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov esi, dword [esp + 0xa0]
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esi, dword [esi]
xor ebx, ebx
mov eax, esi
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x415880
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x20]
call fcn.0040fd10
mov eax, dword [esp + 0x1c]
mov ebp, 0x10
mov dword [esp + 0x98], ebx
cmp dword [esp + 0x30], ebp
jae 0x4158ae
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0041a4c0
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0xa8], 1
call fcn.0041a5c0
add esp, 0x10
mov ecx, 8
mov esi, str.http:__tj.9158.com_logtest.aspx
lea edi, [esp + 0x6c]
mov byte [esp + 0x98], 2
rep movsd dword es:[edi], dword [esi]
call fcn.0041b558
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x415905
push 0x80004005
call fcn.00401150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x38]
mov byte [esp + 0x98], 3
cmp dword [esp + 0x4c], ebp
jae 0x41592b
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x1c]
push str._s_log_sversion20140121
push edx
call fcn.00401ab0
mov esi, dword [esp + 0x24]
push esi
call fcn.004150a0
lea eax, [esi - 0x10]
add esp, 0x14
mov byte [esp + 0x98], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415971
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x4c], ebp
jb 0x415984
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0041acd3
add esp, 4
mov esi, 0xf
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
cmp dword [esp + 0x68], ebp
jb 0x4159a8
mov edx, dword [esp + 0x54]
push edx
call fcn.0041acd3
add esp, 4
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
cmp dword [esp + 0x30], ebp
jb 0x4159c7
mov eax, dword [esp + 0x1c]
push eax
call fcn.0041acd3
add esp, 4
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0043b6e4
add esp, 0x88
ret

Function at 0x4176f0
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, ecx
push 0x40
lea eax, [esi + 4]
push 0
push eax
mov dword [esi], vtable.CMD5Checksum.0
call fcn.0043b700
add esp, 0xc
mov dword [esi + 0x48], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x4c], 0x67452301
mov dword [esi + 0x50], 0xefcdab89
mov dword [esi + 0x54], 0x98badcfe
mov dword [esi + 0x58], 0x10325476
mov eax, esi
pop esi
ret
Function at 0x4183b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4551dc
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46fb88]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call fcn.0041b558
xor ecx, ecx
xor ebp, ebp
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x4183f7
push 0x80004005
call fcn.00401150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xc], eax
mov dword [esp + 0x20], ebp
call fcn.0041b558
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x418424
push 0x80004005
call fcn.00401150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x10], eax
mov byte [esp + 0x20], 1
lea ebx, [esi + 0x1c]
call fcn.0041b558
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x418455
push 0x80004005
call fcn.00401150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov byte [esp + 0x20], 2
lea edi, [esi + 0x28]
call fcn.0041b558
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x418485
push 0x80004005
call fcn.00401150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
push ebp
mov dword [esi], ecx
push 0x458f28
lea ecx, [esi + 0xc]
mov byte [esp + 0x28], 3
mov dword [esi + 4], edx
mov dword [esi + 8], eax
call fcn.00401590
push ebp
push 0x458f28
lea ecx, [esi + 0x10]
call fcn.00401590
push ebp
push 0x458f28
mov ecx, ebx
mov dword [esi + 0x14], ebp
mov dword [esi + 0x18], ebp
call fcn.00401590
push ebp
push 0x458f28
mov ecx, edi
mov dword [esi + 0x20], ebp
mov dword [esi + 0x24], ebp
call fcn.00401590
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc
Function at 0x4193e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
push edi
call fcn.0042a62d
mov edi, dword [eax + 8]
movzx eax, word [esp + 0x10]
push 0x45a1fc
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
je 0x41949c
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41949b
push ebp
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push ebx
push eax
call fcn.0043bd70
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push 0
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ebp, dword [esp + 0x10]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x419478
lea eax, [esi + 4]
push eax
push ebp
mov dword [esi], vtable.Gdiplus::Image.0
mov dword [eax], 0
call sub.gdiplus.dll_GdipLoadImageFromStream
mov dword [esi + 8], eax
jmp 0x41947a
xor esi, esi
mov edx, dword [esp + 0x1c]
push edi
mov dword [edx], esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebp
pop esi
pop edi
pop ebx
pop ecx
ret 8
Function at 0x41a8d0
Capabilities:
Create tcp socket

Disassembly:
push esi
push 6
push 1
push 2
mov esi, ecx
call dword [sym.imp.WSOCK32.dll_socket]
mov dword [esi + 0x24c], eax
cmp eax, 0xffffffff
jne 0x41a904
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
push str.socket___failed
mov ecx, esi
call fcn.0041a820
mov eax, reloc.OLEAUT32.dll_SysReAllocString
pop esi
ret
xor eax, eax
mov dword [esi + 0x22c], eax
mov dword [esi + 0x230], eax
mov dword [esi + 0x234], eax
mov dword [esi + 0x238], eax
mov dword [esi + 0x23c], eax
mov dword [esi + 0x240], eax
mov dword [esi + 0x244], eax
mov dword [esi + 0x248], eax
pop esi
ret

Function at 0x41a9b0
Capabilities:
Connect socket

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
mov eax, 2
mov word [esi], ax
movzx ecx, word [edi + 2]
push ecx
call dword [sym.imp.WSOCK32.dll_htons]
push 0x10
mov word [esi + 2], ax
mov eax, dword [esi + 0x24c]
mov edx, dword [edi + 4]
push esi
push eax
mov dword [esi + 4], edx
call dword [sym.imp.WSOCK32.dll_connect]
cmp eax, 0xffffffff
jne 0x41aa07
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
push str.connect___failed
mov ecx, esi
call fcn.0041a820
pop edi
mov eax, reloc.OLEAUT32.dll_SysReAllocString
pop esi
ret 4
pop edi
mov dword [esi + 0x228], 1
xor eax, eax
pop esi
ret 4
Function at 0x41aa20
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
sub esp, 0x18
mov eax, dword [0x46fb88]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push esi
mov esi, dword [esp + 0x24]
mov eax, esi
push edi
mov edi, ecx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41aa40
sub eax, edx
je 0x41ab58
mov ebx, dword [esp + 0x2c]
test ebx, ebx
je 0x41ab58
movsx eax, byte [esi]
push eax
call fcn.0043c1f2
add esp, 4
push esi
test eax, eax
je 0x41ab10
call dword [sym.imp.WSOCK32.dll_gethostbyname]
test eax, eax
je 0x41aa86
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
jmp 0x41ab16
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
test eax, eax
je 0x41aaf7
cmp eax, 0x2af9
jne 0x41aabd
push eax
push str.Host_not_found_n
mov ecx, edi
call fcn.0041a820
pop edi
pop esi
mov eax, reloc.WSOCK32.dll_closesocket
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0043b6e4
add esp, 0x18
ret 8
cmp eax, 0x2afc
jne 0x41aaea
push eax
push str.No_data_record_found_n
mov ecx, edi
call fcn.0041a820
pop edi
pop esi
mov eax, reloc.WSOCK32.dll_closesocket
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0043b6e4
add esp, 0x18
ret 8
push eax
push str.Function_failed_with_error:__ld_n
mov ecx, edi
call fcn.0041a820
pop edi
pop esi
mov eax, reloc.WSOCK32.dll_closesocket
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0043b6e4
add esp, 0x18
ret 8
call dword [sym.imp.WSOCK32.dll_inet_addr]
push eax
mov dword [esp + 0x18], eax
mov word [esp + 0x16], bx
call dword [sym.imp.WSOCK32.dll_inet_ntoa]
push eax
lea eax, [edi + 0x22c]
push 0x20
push eax
call fcn.0043e915
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call fcn.0041a9b0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0043b6e4
add esp, 0x18
ret 8
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, closesocket
call fcn.0043b6e4
add esp, 0x18
ret 8

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

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x41abcf
mov eax, dword [esp + 0xc]
test eax, eax
je 0x41abcf
push 0
push eax
mov eax, dword [esi + 0x24c]
push ecx
push eax
call dword [sym.imp.WSOCK32.dll_send]
cmp eax, 0xffffffff
jne 0x41abd4
mov dword [esi + 0x228], 0
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
push str.send___failed
mov ecx, esi
call fcn.0041a820
mov eax, reloc.OLEAUT32.dll_SysReAllocString
pop esi
ret 8
mov eax, closesocket
pop esi
ret 8

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

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
test eax, eax
je 0x41ac22
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 0x24c]
push 0
push ecx
push eax
push edx
call dword [sym.imp.WSOCK32.dll_recv]
cmp eax, 0xffffffff
jne 0x41ac24
mov dword [esi + 0x228], 0
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
push str.recv___failed
mov ecx, esi
call fcn.0041a820
xor eax, eax
pop esi
ret 8
Function at 0x41ac30
Capabilities:
Set socket configuration

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jge 0x41ac43
mov eax, closesocket
pop esi
ret 4
mov ecx, dword [esi + 0x24c]
push 4
lea eax, [esp + 0xc]
push eax
push 0x1006
push 0xffff
push ecx
call dword [sym.imp.WSOCK32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x41ac82
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
push str.setsockopt___failed.
mov ecx, esi
call fcn.0041a820
mov eax, reloc.OLEAUT32.dll_SysReAllocString
pop esi
ret 4
xor eax, eax
pop esi
ret 4

Function at 0x420ca1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x420ce8
call fcn.0042a62d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x420ce8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x420d04
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0042081b
mov esi, eax
test edi, edi
je 0x420d02
test ebx, ebx
je 0x420d02
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x421b88
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x455e16
call fcn.0043ec4b
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x421bad
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x421bf3
lea ecx, [ebp - 0x10]
call fcn.004018a0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041ad84
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401220
mov eax, esi
call fcn.0043ed23
ret 8

Function at 0x4236db
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x423706
call fcn.0042a62d
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 8], eax
test eax, eax
jne 0x423729
push eax
push dword [esi + 4]
call fcn.00423661
push esi
push eax
mov ecx, 0x4744d4
call fcn.00423310
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x424128
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x455812
call fcn.0043ec4b
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.004240e8
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.004018a0
push dword [esi + 8]
mov edi, dword [edi + 8]
push 0
push 3
push dword [ebp + 0x18]
mov byte [ebp - 4], 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [esi + 4], eax
test eax, eax
jne 0x42418e
push eax
push dword [esi + 8]
call fcn.00423661
push dword [esi + 0xc]
mov ecx, 0x4744d4
push eax
call fcn.00423310
mov eax, esi
call fcn.0043ed23
ret 0x18

Function at 0x427baf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x427bd3
cmp dword [edi + 0x54], 0
jne 0x427bd3
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0042a62d
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
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00427b70
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x428981
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x4289c9
call fcn.0042a62d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4289c9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x428a0c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x4289f5
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 0x4289f5
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x428a09
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 0x43b6e4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46fb88]
jne 0x43b6ee
repz ret
jmp fcn.00443f7c
Function at 0x44e09d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004438c0
and dword [ebp - 4], 0
cmp dword [0x4752e8], 0
mov ebx, eax
jne 0x44e14e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x44e1ff
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4617ac
push edi
call esi
test eax, eax
je 0x44e1ff
push eax
call fcn.0044384e
mov dword [esp], 0x46179c
push edi
mov dword [0x4752e8], eax
call esi
push eax
call fcn.0044384e
mov dword [esp], 0x461788
push edi
mov dword [0x4752ec], eax
call esi
push eax
call fcn.0044384e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4752f0], eax
call esi
push eax
call fcn.0044384e
pop ecx
mov dword [0x4752f8], eax
test eax, eax
je 0x44e14e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0044384e
pop ecx
mov dword [0x4752f4], eax
mov eax, dword [0x4752f4]
cmp eax, ebx
je 0x44e1a6
cmp dword [0x4752f8], ebx
je 0x44e1a6
push eax
call fcn.004438c9
push dword [0x4752f8]
mov esi, eax
call fcn.004438c9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x44e1a6
test edi, edi
je 0x44e1a6
call esi
test eax, eax
je 0x44e19d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x44e19d
test byte [ebp - 0xc], 1
jne 0x44e1a6
or dword [ebp + 0x10], 0x200000
jmp 0x44e1df
mov eax, dword [0x4752ec]
cmp eax, ebx
je 0x44e1df
push eax
call fcn.004438c9
pop ecx
test eax, eax
je 0x44e1df
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x44e1df
mov eax, dword [0x4752f0]
cmp eax, ebx
je 0x44e1df
push eax
call fcn.004438c9
pop ecx
test eax, eax
je 0x44e1df
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4752e8]
call fcn.004438c9
pop ecx
test eax, eax
je 0x44e1ff
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x44e201
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x2d33700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.02d3378f
jae 0x2d3370e
xor ecx, ecx
call fcn.02d3378f
jae 0x2d3373d
xor eax, eax
call fcn.02d3378f
jae 0x2d3374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.02d3378f
adc al, al
jae 0x2d3372f
jne 0x2d33779
stosb byte es:[edi], al
jmp 0x2d33711
call fcn.02d3379b
sub ecx, ebx
jne 0x2d33756
call fcn.02d33799
jmp 0x2d33775
lodsb al, byte [esi]
shr eax, 1
je 0x2d33783
adc ecx, ecx
jmp 0x2d33772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.02d33799
cmp eax, 0x7d00
jae 0x2d33772
cmp ah, 5
jae 0x2d33773
cmp eax, 0x7f
ja 0x2d33774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2d33711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8