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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a4668
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4d8b40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x28], ebx
call fcn.0044dc0d
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x42aaac
push 0x80004005
call fcn.00402ae0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x30]
push ecx
mov dword [ebp - 4], ebx
push edi
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 1
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebx
jne 0x42aaea
push 0x4cf13c
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], 1
call fcn.004679cb
push esi
call fcn.0043fc2b
add esp, 4
mov dword [ebp - 0x28], eax
cmp eax, ebx
jne 0x42ab0f
push 0x4cf13c
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 1
call fcn.004679cb
push eax
push esi
push ebx
push edi
call sub.VERSION.dll_GetFileVersionInfoA
cmp eax, ebx
jne 0x42ab31
push 0x4cf13c
lea ecx, [ebp - 0x24]
push ecx
mov dword [ebp - 0x24], 1
call fcn.004679cb
mov edi, dword [ebp - 0x28]
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x18]
push eax
push 0x4c23cc
push edi
call sub.VERSION.dll_VerQueryValueA
cmp eax, ebx
jne 0x42ab60
push 0x4cf13c
lea ecx, [ebp - 0x2c]
push ecx
mov dword [ebp - 0x2c], 1
call fcn.004679cb
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
mov ecx, eax
movzx esi, ax
mov eax, edx
shr eax, 0x10
shr ecx, 0x10
movzx edx, dx
cmp eax, ebx
jne 0x42ab9e
cmp edx, ebx
jne 0x42ab9e
cmp ecx, ebx
jne 0x42ab89
cmp esi, ebx
je 0x42abb3
push esi
push ecx
lea edx, [ebp - 0x14]
push str._d._d
push edx
call fcn.00407690
add esp, 0x10
jmp 0x42abb3
push edx
push eax
push esi
push ecx
lea eax, [ebp - 0x14]
push str._d._d._d._d
push eax
call fcn.00407690
add esp, 0x18
push edi
call fcn.0043fc36
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
push esi
call fcn.00402a50
mov edi, dword [ebp + 8]
add eax, 0x10
add esp, 8
mov dword [edi], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42abf0
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x42b150
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b17d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
ret 4
Function at 0x42cf10
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x19c
mov eax, dword [0x4d8b40]
xor eax, esp
mov dword [esp + 0x194], eax
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, dword [esp + 0x194]
neg eax
sbb eax, eax
xor ecx, esp
call fcn.0045f97b
add esp, 0x19c
ret

Function at 0x42cf80
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket

Disassembly:
sub esp, 0x150
mov eax, dword [0x4d8b40]
xor eax, esp
mov dword [esp + 0x148], eax
push esi
push 0x12b
lea eax, [esp + 0x1d]
push 0
push eax
mov byte [esp + 0x24], 0
call fcn.00465b60
push 0x9c
call fcn.00461745
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42d0be
push 0x9c
push 0
push esi
call fcn.00465b60
mov eax, 0x4c25e4
add esp, 0xc
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42cfe0
sub eax, edx
cmp eax, 0x80
jae 0x42d0b5
mov eax, 0x4c25e4
lea edx, [esi + 0x18]
sub edx, eax
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x42d000
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 0x98], eax
cmp eax, 0xffffffff
je 0x42d0b5
mov ecx, 2
push edi
mov word [esp + 0xc], cx
call dword [sym.imp.WS2_32.dll_inet_addr]
push ebx
mov dword [esp + 0x10], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0xa], ax
xor eax, eax
push 0x10
lea edx, [esp + 0xc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x98]
push edx
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x42d086
call fcn.0042cf50
xor eax, eax
pop esi
mov ecx, dword [esp + 0x148]
xor ecx, esp
call fcn.0045f97b
add esp, 0x150
ret
mov edx, esi
mov eax, edi
sub edx, edi
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x42d090
mov dword [esi + 0x14], ebx
mov eax, esi
pop esi
mov ecx, dword [esp + 0x148]
xor ecx, esp
call fcn.0045f97b
add esp, 0x150
ret
push esi
call fcn.00461668
add esp, 4
mov ecx, dword [esp + 0x14c]
pop esi
xor ecx, esp
xor eax, eax
call fcn.0045f97b
add esp, 0x150
ret
Function at 0x42d150
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
movzx ecx, word [esp + 4]
push ebp
mov ebp, dword [esp + 0x10]
push esi
push eax
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x42d196
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42d18f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop esi
xor eax, eax
pop ebp
ret 0xc
push edi
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x42d1e2
test ebp, ebp
jne 0x42d1d5
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [ebx], edi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d23c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
lea eax, [ebp + 1]
pop ebp
ret 0xc
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x42d20a
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d202
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
xor eax, eax
pop ebp
ret 0xc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x42d226
lea ecx, [esp + 0x14]
call fcn.00402b20
pop edi
pop esi
xor eax, eax
pop ebp
ret 0xc
push edi
push eax
push ebp
call fcn.00469940
add esp, 0xc
lea ecx, [esp + 0x14]
mov dword [ebx], edi
call fcn.00402b20
pop edi
pop esi
mov eax, 1
pop ebp
ret 0xc

Function at 0x42df20
Capabilities:
Terminate thread

Disassembly:
push ecx
push esi
push edi
push 0
push 0
push 0
push 0
push 0
push 0x42df10
call fcn.00451e16
mov edi, eax
call fcn.0044dc0d
test eax, eax
jne 0x42df4c
push 0x80004005
call fcn.00402ae0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov esi, eax
add esi, 0x10
call fcn.0042d6b0
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 8]
mov dword [esp + 8], 0
mov edx, dword [edi + 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov eax, dword [esp + 8]
mov ecx, dword [edi + 0x2c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42dfac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
pop ecx
ret
Function at 0x42dfd0
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
push edi
lea eax, [esp + 4]
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
je 0x42e019
push edi
call fcn.0043fc2b
mov ecx, dword [esp + 8]
add esp, 4
push eax
push edi
push ecx
push ebx
mov dword [esi], eax
call sub.VERSION.dll_GetFileVersionInfoA
mov edx, dword [esi]
test eax, eax
jne 0x42e020
push edx
call fcn.0043fc36
add esp, 4
mov dword [esi], 0
mov dword [esi + 4], 0
xor eax, eax
pop edi
add esp, 0xc
ret
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
push str.VarFileInfoTranslation
push edx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x42e03e
mov eax, dword [esi]
push eax
jmp 0x42e004
mov eax, dword [esp + 8]
movzx ecx, word [eax]
movzx edx, word [eax + 2]
shl ecx, 0x10
or ecx, edx
mov dword [esi + 4], ecx
mov eax, 1
pop edi
add esp, 0xc
ret

Function at 0x42e220
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryA]
lea eax, [esp + 0xc]
xor ebx, ebx
push eax
push ebx
push ebx
mov dword [esp + 0x18], ebx
call edi
mov ecx, dword [esp + 0xc]
push ecx
call fcn.0043fc2b
add esp, 4
lea edx, [esp + 0xc]
push edx
mov esi, eax
push esi
push ebx
call edi
mov edi, eax
test edi, edi
je 0x42e2aa
mov ebx, dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
lea ecx, [ecx]
test dword [esi + 0xc], 0x100000
jne 0x42e273
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
lea ecx, [esp + 0xc]
push ecx
push 0
push edi
mov dword [esp + 0x18], 0
call ebx
push esi
call fcn.0043fc36
mov edx, dword [esp + 0x10]
push edx
call fcn.0043fc2b
add esp, 8
mov esi, eax
lea eax, [esp + 0xc]
push eax
push esi
push edi
call ebx
test eax, eax
jne 0x42e260
lea ebx, [eax + 1]
test esi, esi
je 0x42e2b7
push esi
call fcn.0043fc36
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
pop ecx
ret
Function at 0x42e610
Capabilities:
Get file size
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a44db
mov eax, dword fs:[0]
push eax
mov eax, 0x271c
call fcn.00465b30
mov eax, dword [0x4d8b40]
xor eax, esp
mov dword [esp + 0x2718], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d8b40]
xor eax, esp
push eax
lea eax, [esp + 0x2730]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, edx
call fcn.0044dc0d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42e66d
push 0x80004005
call fcn.00402ae0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x2710
lea ecx, [esp + 0x20]
push 0
push ecx
mov dword [esp + 0x2744], 0
call fcn.00465b60
add esp, 0xc
test esi, esi
jne 0x42e6a4
xor eax, eax
jmp 0x42e6b9
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42e6b0
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.00402900
mov ecx, dword [esp + 0x14]
mov edi, dword [ecx - 0xc]
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
lea esi, [edi + 1]
sub eax, esi
or eax, edx
jge 0x42e6ed
push esi
lea ecx, [esp + 0x18]
call fcn.00402850
mov ecx, dword [esp + 0x14]
mov byte [edi + ecx], 0x5c
test esi, esi
jl 0x42e82c
cmp esi, dword [ecx - 8]
jg 0x42e82c
mov dword [ecx - 0xc], esi
mov byte [esi + ecx], 0
test ebx, ebx
jne 0x42e711
xor eax, eax
jmp 0x42e71f
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42e716
sub eax, edx
push eax
push ebx
lea ecx, [esp + 0x1c]
call fcn.00407720
mov ebp, dword [esp + 0x14]
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42e79a
mov dword [esp + 0x2738], eax
lea eax, [ebp - 0x10]
lea edx, [eax + 0xc]
or ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42e770
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x2730]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2718]
xor ecx, esp
call fcn.0045f97b
add esp, 0x2728
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
push 0x40
mov edi, eax
push esi
sub edi, 0x40
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test edi, edi
jbe 0x42e7f4
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
nop
push 0
cmp edi, 0x2710
jbe 0x42e7e6
lea ecx, [esp + 0x1c]
push ecx
push 0x2710
lea edx, [esp + 0x28]
push edx
push esi
call ebx
sub edi, 0x2710
jne 0x42e7c0
jmp 0x42e7f4
lea eax, [esp + 0x1c]
push eax
push edi
lea ecx, [esp + 0x28]
push ecx
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x10]
mov dword [esp + 0x2738], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42e822
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x42e772
push 0x80070057
call fcn.00402ae0
int3
Function at 0x4307f0
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0xc
push esi
mov esi, eax
cmp byte [esi + 0x38], 0
push edi
mov edi, 0x10
je 0x43090e
cmp dword [esi + 0x34], edi
jb 0x430810
mov ecx, dword [esi + 0x20]
jmp 0x430813
lea ecx, [esi + 0x20]
cmp dword [esi + 0x18], edi
jb 0x43081d
mov eax, dword [esi + 4]
jmp 0x430820
lea eax, [esi + 4]
push ebp
mov ebp, dword [esp + 0x1c]
push ecx
push eax
push str.__MULTI_PARTS_FORM_DATA_BOUNDARY
push str.___s_r_nContent_Disposition:_form_data__name__s___filename__s__r_n_r_n
push ebp
call fcn.004604f1
mov eax, str.__MULTI_PARTS_FORM_DATA_BOUNDARY
add esp, 0x14
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x430842
mov ecx, dword [esi + 0x30]
add ecx, dword [esi + 0x14]
sub eax, edx
push ebx
lea ebx, [ecx + eax + 0x3c]
mov dword [esp + 0x18], ebx
cmp dword [esi + 0x34], edi
jb 0x430864
mov esi, dword [esi + 0x20]
jmp 0x430867
add esi, 0x20
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor esi, esi
cmp edi, esi
je 0x43096b
cmp edi, 0xffffffff
je 0x43096b
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
lea edx, [esp + 0x14]
push edx
push 0x400
add ebx, ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
push edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], esi
call ebp
test eax, eax
je 0x4308e7
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x4308e7
cmp esi, dword [esp + 0x14]
ja 0x4308e7
push 0
add esi, eax
lea eax, [esp + 0x14]
push eax
push 0x400
lea ecx, [esi + ebx]
push ecx
push edi
call ebp
test eax, eax
jne 0x4308c0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
add esi, edx
mov eax, 0xa0d
push edi
mov word [esi + ecx], ax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop ebp
pop edi
lea eax, [esi + 2]
pop esi
add esp, 0xc
ret 4
cmp dword [esi + 0x34], edi
jb 0x430918
mov ecx, dword [esi + 0x20]
jmp 0x43091b
lea ecx, [esi + 0x20]
cmp dword [esi + 0x18], edi
jb 0x430925
mov eax, dword [esi + 4]
jmp 0x430928
lea eax, [esi + 4]
mov edx, dword [esp + 0x18]
push ecx
push eax
push str.__MULTI_PARTS_FORM_DATA_BOUNDARY
push str.___s_r_nContent_Disposition:_form_data__name__s__r_n_r_n_s_r_n
push edx
call fcn.004604f1
mov eax, str.__MULTI_PARTS_FORM_DATA_BOUNDARY
add esp, 0x14
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x430950
mov ecx, dword [esi + 0x30]
sub eax, edx
add ecx, dword [esi + 0x14]
pop edi
lea eax, [ecx + eax + 0x31]
pop esi
add esp, 0xc
ret 4
mov eax, ebx
pop ebx
pop ebp
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x4318e0
Capabilities:
Get file size

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0x10], eax
cmp dword [edi + 0xa0], eax
jbe 0x4319e9
mov eax, dword [edi + 0x9c]
mov ecx, dword [eax]
mov ebx, dword [edi + 0x88]
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esp + 0x18], ecx
jmp 0x431920
mov esi, dword [edi + 0x9c]
mov eax, dword [edi + 0x88]
test ebx, ebx
je 0x431934
cmp ebx, eax
je 0x431939
call fcn.004627b2
cmp dword [esp + 0x18], esi
je 0x4319e5
test ebx, ebx
jne 0x431974
call fcn.004627b2
xor eax, eax
mov edx, dword [esp + 0x18]
cmp edx, dword [eax + 0x14]
jne 0x43195c
call fcn.004627b2
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 8]
cmp byte [eax + 0x38], 0
je 0x4319b0
cmp dword [eax + 0x34], 0x10
jb 0x431978
mov eax, dword [eax + 0x20]
jmp 0x43197b
mov eax, dword [ebx]
jmp 0x43194e
add eax, 0x20
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
call ebp
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push edi
add esi, 0x1800
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x20]
jmp 0x4319b5
mov esi, 0x2000
add dword [esp + 0x10], esi
test ebx, ebx
jne 0x4319e1
call fcn.004627b2
xor eax, eax
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x14]
jne 0x4319d2
call fcn.004627b2
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
mov dword [esp + 0x18], eax
jmp 0x431920
mov eax, dword [ebx]
jmp 0x4319c4
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x431fa0
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a3160
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4d8b40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x14], ecx
cmp eax, ecx
jne 0x431ff2
push 0x4cf21c
lea ecx, [ebp - 0x18]
push ecx
mov dword [ebp - 0x18], str.connection_failed...
call fcn.004679cb
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x14]
push edx
push 0x400
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x432039
push 0x4cf21c
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], str.response_failed...
call fcn.004679cb
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [esi + 0xc], 0
mov eax, 0x432039
ret
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x432560
Capabilities:
Check os version

Disassembly:
sub esp, 0x98
mov eax, dword [0x4d8b40]
xor eax, esp
mov dword [esp + 0x94], eax
push edi
push 0x1fc
xor edi, edi
lea eax, [esi + 8]
push edi
push eax
mov dword [0x4e0cb8], esi
call fcn.00465b60
push 0x90
lea ecx, [esp + 0x18]
push edi
push ecx
mov dword [esi + 0x210], edi
mov dword [esi + 0x214], 1
mov dword [esi + 0x218], 1
mov dword [esi + 0x258], edi
mov dword [esi + 0x25c], 1
mov dword [esi + 0x21c], edi
mov dword [esi + 0x23c], edi
mov dword [esi + 0x254], edi
mov dword [esi + 0x20c], edi
mov dword [esi + 0x260], edi
mov dword [esp + 0x1c], 0x94
call fcn.00465b60
add esp, 0x18
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x14], 2
jne 0x432629
cmp dword [esp + 8], 5
jb 0x432629
mov eax, 1
mov dword [esi + 0x220], eax
pop edi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.0045f97b
add esp, 0x98
ret
mov ecx, dword [esp + 0x98]
mov dword [esi + 0x220], edi
pop edi
xor ecx, esp
call fcn.0045f97b
add esp, 0x98
ret
Function at 0x432e10
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x24
push edi
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
mov edi, eax
test edi, edi
je 0x432e41
push esi
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push esi
push 0x432d50
push edi
call dword [sym.imp.USER32.dll_EnumChildWindows]
pop edi
add esp, 0x24
ret
lea eax, [esp + 4]
push eax
push 5
mov dword [esp + 0xc], 0x24
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x432eae
mov eax, dword [esp + 0x10]
cmp eax, 3
ja case.default.0x432e63
jmp dword [eax*4 + 0x432ed4]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
lea ecx, [eax - 0x64]
add eax, 0xfffffff0
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
mov dword [esi], edx
pop edi
add esp, 0x24
ret
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esi + 4], ecx
lea ecx, [eax - 0x64]
add eax, 0xfffffff0
mov dword [esi + 0xc], edx
mov dword [esi], ecx
mov dword [esi + 8], eax
pop edi
add esp, 0x24
ret
push 0
push esi
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov edx, dword [esi + 8]
mov eax, dword [esi + 0xc]
sub edx, 0x96
sub eax, 0x1e
mov dword [esi + 4], eax
mov dword [esi], edx
pop edi
add esp, 0x24
ret

Function at 0x432f50
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x28
push esi
push 0
lea eax, [esp + 0xc]
push eax
push 8
push 0x48
mov dword [esp + 0x18], 8
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
cmp dword [esp + 0xc], 0
je 0x432f9a
lea ecx, [esp + 0x18]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea esi, [esp + 8]
call fcn.00432e10
mov edx, esi
push edx
lea eax, [esp + 0x1c]
push eax
push 3
push edi
call dword [sym.imp.USER32.dll_DrawAnimatedRects]
push edi
call fcn.00432ef0
add esp, 4
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 3
push 0
push 0
push 0
push 0
push 1
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
pop esi
add esp, 0x28
ret

Function at 0x432fd0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x28
push esi
push 0
lea eax, [esp + 0xc]
push eax
push 8
push 0x48
mov dword [esp + 0x18], 8
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
cmp dword [esp + 0xc], 0
je 0x433031
lea ecx, [esp + 8]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea esi, [esp + 0x18]
call fcn.00432e10
push 0
push edi
call dword [sym.imp.USER32.dll_SetParent]
lea edx, [esp + 8]
push edx
mov eax, esi
push eax
push 3
push edi
call dword [sym.imp.USER32.dll_DrawAnimatedRects]
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
add esp, 0x28
ret
push 0
push edi
call dword [sym.imp.USER32.dll_SetParent]
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
add esp, 0x28
ret