joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41da50
Capabilities:
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x556520
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x5adf10]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
push 0x80
push 2
push edi
push 3
push 0x40000000
push eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp + 0xc], eax
cmp eax, 0xffffffff
jne 0x41dabb
xor al, al
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
mov ecx, dword [ebp + 8]
push edi
push edi
push edi
push edi
push ecx
mov dword [ebp - 4], edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
cmp eax, edi
jne 0x41dad6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xa000
call fcn.0042dec6
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
cmp esi, edi
je 0x41dafb
push 0xa000
push edi
push esi
call fcn.005344b0
add esp, 0xc
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
push 0xa000
push 0
push esi
call fcn.005344b0
mov eax, dword [ebp + 8]
add esp, 0xc
lea edx, [ebp - 0x1c]
push edx
push 0x1000
push esi
push eax
call ebx
mov ecx, dword [ebp - 0x1c]
mov edi, ecx
test eax, eax
je 0x41db67
test ecx, ecx
je 0x41db8f
mov eax, dword [ebp + 0xc]
add dword [ebp - 0x14], ecx
push 0
lea edx, [ebp - 0x20]
push edx
push ecx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp edi, dword [ebp - 0x20]
je 0x41db01
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5a0810
lea edx, [ebp - 0x24]
push edx
mov dword [ebp - 0x24], 0x103
call fcn.00534862
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5a0810
lea ecx, [ebp - 0x28]
push ecx
mov dword [ebp - 0x28], 0x103
call fcn.00534862
mov eax, 0x41db8c
ret
test esi, esi
je 0x41db9c
push esi
call fcn.0042debb
add esp, 4
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
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 0x41dbc0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5574c8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x5adf10]
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.0043c63a
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41dc0c
push 0x80004005
call fcn.004063a0
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 dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov esi, eax
cmp esi, ebx
jne 0x41dc4b
push 0x5a0810
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], 1
call fcn.00534862
push esi
call fcn.0042dec6
add esp, 4
mov dword [ebp - 0x28], eax
cmp eax, ebx
jne 0x41dc70
push 0x5a0810
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 1
call fcn.00534862
push eax
push esi
push ebx
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
cmp eax, ebx
jne 0x41dc93
push 0x5a0810
lea ecx, [ebp - 0x24]
push ecx
mov dword [ebp - 0x24], 1
call fcn.00534862
mov edi, dword [ebp - 0x28]
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x18]
push eax
push 0x586cac
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueA]
cmp eax, ebx
jne 0x41dcc3
push 0x5a0810
lea ecx, [ebp - 0x2c]
push ecx
mov dword [ebp - 0x2c], 1
call fcn.00534862
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 0x41dd01
cmp edx, ebx
jne 0x41dd01
cmp ecx, ebx
jne 0x41dcec
cmp esi, ebx
je 0x41dd16
push esi
push ecx
lea edx, [ebp - 0x14]
push str._d._d
push edx
call fcn.00405bc0
add esp, 0x10
jmp 0x41dd16
push edx
push eax
push esi
push ecx
lea eax, [ebp - 0x14]
push str._d._d._d._d
push eax
call fcn.00405bc0
add esp, 0x18
push edi
call fcn.0042debb
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
push esi
call fcn.00406330
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 0x41dd53
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 0x41e360
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e38e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
pop ebp
ret 4
Function at 0x41fb10
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x5adf10]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x12b
lea eax, [ebp - 0x137]
push 0
push eax
mov byte [ebp - 0x138], 0
call fcn.005344b0
push 0x9c
call fcn.0052f6c5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41fb9a
push 0x9c
push 0
push esi
call fcn.005344b0
mov eax, 0x586e94
lea edx, [esi + 0x18]
add esp, 0xc
sub edx, eax
jmp 0x41fb70
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x41fb70
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 0x98], eax
cmp eax, 0xffffffff
jne 0x41fbab
push esi
call fcn.0052f68b
add esp, 4
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052d75c
mov esp, ebp
pop ebp
ret
mov ecx, 2
push edi
mov word [ebp - 0x148], cx
call dword [sym.imp.WS2_32.dll_inet_addr]
push ebx
mov dword [ebp - 0x144], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x146], ax
xor eax, eax
push 0x10
lea edx, [ebp - 0x148]
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], eax
mov eax, dword [esi + 0x98]
push edx
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x41fc11
call fcn.0041fae0
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052d75c
mov esp, ebp
pop ebp
ret
mov edx, esi
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x41fc17
mov ecx, dword [ebp - 4]
mov dword [esi + 0x14], ebx
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0052d75c
mov esp, ebp
pop ebp
ret
Function at 0x41fcc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
movzx ecx, word [ebp + 8]
push esi
push eax
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x41fd01
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41fcfa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
pop esi
pop ebp
ret 0xc
push edi
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x41fd50
cmp dword [ebp + 0x10], 0
jne 0x41fd43
mov eax, dword [ebp + 0xc]
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 0x41fdaa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
mov eax, 1
pop esi
pop ebp
ret 0xc
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x41fd77
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fd6f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
xor eax, eax
pop esi
pop ebp
ret 0xc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x41fd92
lea ecx, [ebp + 0xc]
call fcn.00406410
pop edi
xor eax, eax
pop esi
pop ebp
ret 0xc
mov ecx, dword [ebp + 0x10]
push edi
push eax
push ecx
call fcn.00536c40
add esp, 0xc
lea ecx, [ebp + 0xc]
mov dword [ebx], edi
call fcn.00406410
pop edi
mov eax, 1
pop esi
pop ebp
ret 0xc

Function at 0x420b40
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push 0
push 0
push 0
push 0
push 0
push 0x420b30
call fcn.0043986d
mov esi, eax
mov dword [ebp - 0xc], vtable.CCertificateCheck.0
call fcn.0043c63a
test eax, eax
jne 0x420b77
push 0x80004005
call fcn.004063a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 8], eax
call fcn.00420280
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0
mov edx, dword [esi + 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov eax, dword [ebp - 4]
mov ecx, dword [esi + 0x2c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x420bd8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x420c00
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
lea eax, [ebp - 4]
push eax
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov edi, eax
test edi, edi
je 0x420c4c
push edi
call fcn.0042dec6
mov ecx, dword [ebp - 4]
add esp, 4
push eax
push edi
push ecx
push ebx
mov dword [esi], eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
mov edx, dword [esi]
test eax, eax
jne 0x420c53
push edx
call fcn.0042debb
add esp, 4
mov dword [esi], 0
mov dword [esi + 4], 0
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
push ecx
push str.VarFileInfoTranslation
push edx
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
jne 0x420c70
mov eax, dword [esi]
push eax
jmp 0x420c37
mov eax, dword [ebp - 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
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryA]
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push ebx
push ebx
mov dword [ebp - 4], ebx
call edi
mov ecx, dword [ebp - 4]
push ecx
call fcn.0042dec6
add esp, 4
lea edx, [ebp - 4]
push edx
mov esi, eax
push esi
push ebx
call edi
mov edi, eax
test edi, edi
je 0x420ed6
mov ebx, dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
lea esp, [esp]
test dword [esi + 0xc], 0x100000
jne 0x420ea3
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
lea ecx, [ebp - 4]
push ecx
push 0
push edi
mov dword [ebp - 4], 0
call ebx
push esi
call fcn.0042debb
mov edx, dword [ebp - 4]
push edx
call fcn.0042dec6
add esp, 8
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
push edi
call ebx
test eax, eax
jne 0x420e90
lea ebx, [eax + 1]
test esi, esi
je 0x420ee3
push esi
call fcn.0042debb
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x421230
Capabilities:
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55703b
mov eax, dword fs:[0]
push eax
mov eax, 0x271c
call fcn.00532830
mov eax, dword [0x5adf10]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, edx
call fcn.0043c63a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x421280
push 0x80004005
call fcn.004063a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x2724], eax
push 0x2710
lea ecx, [ebp - 0x2720]
push 0
push ecx
mov dword [ebp - 4], 0
call fcn.005344b0
add esp, 0xc
test esi, esi
jne 0x4212b7
xor eax, eax
jmp 0x4212c9
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4212c0
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x2724]
call fcn.00406280
mov eax, dword [ebp - 0x2724]
mov edi, dword [eax - 0xc]
lea esi, [edi + 1]
test esi, esi
jns 0x4212f0
push 0x80070057
call fcn.004063a0
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x421313
push esi
lea ecx, [ebp - 0x2724]
call fcn.004061b0
mov eax, dword [ebp - 0x2724]
mov byte [edi + eax], 0x5c
cmp esi, dword [eax - 8]
jg 0x4212e6
mov dword [eax - 0xc], esi
mov byte [esi + eax], 0
test ebx, ebx
jne 0x42132b
xor eax, eax
jmp 0x421339
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x421330
sub eax, edx
push eax
push ebx
lea ecx, [ebp - 0x2724]
call fcn.00405be0
mov edi, dword [ebp - 0x2724]
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x421391
mov dword [ebp - 4], eax
lea eax, [edi - 0x10]
lea edx, [eax + 0xc]
or ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42138a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x421425
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
push 0x40
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
sub edi, 0x40
je 0x4213f0
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
cmp edi, 0x2710
jbe 0x4213de
lea ecx, [ebp - 0x2728]
push ecx
push 0x2710
lea edx, [ebp - 0x2720]
push edx
push esi
call ebx
sub edi, 0x2710
jne 0x4213b4
jmp 0x4213f0
lea eax, [ebp - 0x2728]
push eax
push edi
lea ecx, [ebp - 0x2720]
push ecx
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2724]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x421420
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052d75c
mov esp, ebp
pop ebp
ret
Function at 0x422770
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, eax
cmp byte [esi + 0x38], 0
je 0x42286f
push edi
lea edi, [esi + 0x1c]
mov eax, 0x10
cmp dword [edi + 0x14], eax
jb 0x422795
mov ecx, dword [edi]
jmp 0x422797
mov ecx, edi
cmp dword [esi + 0x14], eax
jb 0x4227a0
mov eax, dword [esi]
jmp 0x4227a2
mov eax, esi
push ebx
mov ebx, dword [ebp + 8]
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 ebx
call fcn.0052e561
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x10]
add esp, 0x14
cmp dword [edi + 0x14], 0x10
lea esi, [eax + ecx + 0x5c]
mov dword [ebp - 0xc], esi
jb 0x4227d0
mov edi, dword [edi]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
test edi, edi
je 0x4228b2
cmp edi, 0xffffffff
je 0x4228b2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
add ebx, esi
xor esi, esi
push esi
lea edx, [ebp - 4]
push edx
push 0x400
push ebx
push edi
mov dword [ebp - 8], eax
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42284d
mov eax, dword [ebp - 4]
test eax, eax
je 0x42284d
cmp esi, dword [ebp - 8]
ja 0x42284d
push 0
add esi, eax
lea eax, [ebp - 4]
push eax
push 0x400
lea ecx, [esi + ebx]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x422825
add esi, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
mov eax, 0xa0d
push edi
mov word [esi + ecx], ax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
lea eax, [esi + 2]
pop esi
mov esp, ebp
pop ebp
ret 4
lea eax, [esi + 0x1c]
mov ecx, 0x10
cmp dword [eax + 0x14], ecx
jb 0x42287e
mov eax, dword [eax]
cmp dword [esi + 0x14], ecx
jb 0x422887
mov ecx, dword [esi]
jmp 0x422889
mov ecx, esi
mov edx, dword [ebp + 8]
push eax
push ecx
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.0052e561
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x10]
add esp, 0x14
lea eax, [eax + ecx + 0x51]
pop esi
mov esp, ebp
pop ebp
ret 4
pop ebx
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x423590
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 4], edx
cmp dword [ecx + 0x8c], edx
jbe 0x42362c
mov eax, dword [ecx + 0x88]
push ebx
mov ebx, dword [eax]
cmp ebx, eax
je 0x423623
push esi
push edi
mov eax, dword [ebx + 8]
cmp byte [eax + 0x38], 0
je 0x423604
add eax, 0x1c
cmp dword [eax + 0x14], 0x10
jb 0x4235cb
mov eax, dword [eax]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
lea esi, [eax + 0x1800]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 8]
jmp 0x423609
mov esi, 0x2000
mov ebx, dword [ebx]
add edx, esi
mov dword [ebp - 4], edx
cmp ebx, dword [ecx + 0x88]
jne 0x4235b7
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, edx
mov esp, ebp
pop ebp
ret 4
Function at 0x423ad0
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5565d0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5adf10]
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 0x423b22
push 0x5a08ec
lea ecx, [ebp - 0x18]
push ecx
mov dword [ebp - 0x18], str.connection_failed...
call fcn.00534862
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 0x423b69
push 0x5a08ec
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], str.response_failed...
call fcn.00534862
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, 0x423b69
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 0x423f40
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x5adf10]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x1fc
xor edi, edi
lea eax, [esi + 8]
push edi
push eax
mov dword [0x5b6f6c], esi
call fcn.005344b0
push 0x90
lea ecx, [ebp - 0x94]
push edi
push ecx
mov dword [esi + 0x210], edi
mov dword [esi + 0x214], 1
mov dword [esi + 0x218], 1
mov dword [esi + 0x250], edi
mov dword [esi + 0x254], 1
mov dword [esi + 0x21c], edi
mov dword [esi + 0x234], edi
mov dword [esi + 0x24c], edi
mov dword [esi + 0x20c], edi
mov dword [esi + 0x258], edi
mov dword [ebp - 0x98], 0x94
call fcn.005344b0
add esp, 0x18
lea edx, [ebp - 0x98]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x42400b
cmp dword [ebp - 0x94], 5
jb 0x42400b
mov eax, 1
mov dword [esi + 0x220], eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052d75c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov dword [esi + 0x220], edi
xor ecx, ebp
pop edi
call fcn.0052d75c
mov esp, ebp
pop ebp
ret
Function at 0x424900
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [esi + 0xac], 0
je 0x424965
cmp dword [esi + 0xa0], 0
je 0x42496b
mov ecx, dword [esi + 0xe4]
sub ecx, dword [esi + 0xe0]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x42496b
lea ecx, [ebp - 8]
push ecx
push 4
push esi
push 0x424ea0
push 0
push 0
call fcn.005325f0
add esp, 0x18
mov dword [esi + 0xc8], eax
test eax, eax
je 0x424965
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xd0]
test eax, eax
je 0x424965
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
push edi
lea ecx, [ebp - 8]
push ecx
push eax
call edx
mov eax, dword [esi + 0xd0]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov ecx, dword [ebp - 4]
mov eax, dword [esi + 0xd0]
mov edx, dword [eax]
push 0
mov edx, dword [edx + 0x20]
mov edi, ecx
neg edi
push edi
mov edi, dword [ebp - 8]
push edi
push ecx
mov ecx, dword [esi + 0x88]
push 0
push ecx
mov ecx, dword [esi + 0x84]
push ecx
mov ecx, dword [esi + 0xb0]
push 0
push 0
push ecx
push eax
call edx
pop edi
test eax, eax
jne 0x424965
push eax
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4249f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
call fcn.004440b8
mov eax, dword [eax + 0xc]
push str.TYPE_PIC
push 0x546
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x424abb
call fcn.004440b8
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x424abb
push edi
call fcn.004440b8
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x424a5d
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x424aa9
test ebx, ebx
je 0x424aa9
push edi
push eax
push ebx
call fcn.00536c40
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp + 8]
push edi
push esi
call fcn.00424420
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4