joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4294e0
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 0x56ca70
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x5d7f50]
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 ebx, eax
mov dword [ebp + 0xc], ebx
cmp ebx, 0xffffffff
jne 0x42954d
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 0x429568
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xa000
call fcn.0043cd6b
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
cmp esi, edi
je 0x42958d
push 0xa000
push edi
push esi
call fcn.00543bb0
add esp, 0xc
push 0xa000
push 0
push esi
call fcn.00543bb0
mov eax, dword [ebp + 8]
add esp, 0xc
lea edx, [ebp - 0x1c]
push edx
push 0x1000
push esi
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [ebp - 0x1c]
mov edi, ecx
test eax, eax
je 0x4295f1
test ecx, ecx
je 0x429620
add dword [ebp - 0x14], ecx
push 0
lea edx, [ebp - 0x20]
push edx
push ecx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp edi, dword [ebp - 0x20]
je 0x42958d
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5c9e00
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], 0x103
call fcn.00543f24
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5c9e00
lea ecx, [ebp - 0x28]
push ecx
mov dword [ebp + 0xc], 0
mov dword [ebp - 0x28], 0x103
call fcn.00543f24
mov eax, 0x42961a
ret
test esi, esi
je 0x42962d
push esi
call fcn.0043cd76
add esp, 4
test ebx, ebx
je 0x429638
push ebx
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 0x429650
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56ded8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x5d7f50]
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.0044b779
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x42969c
push 0x80004005
call fcn.00402bc0
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 0x4296db
push 0x5c9e00
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], 1
call fcn.00543f24
push esi
call fcn.0043cd6b
add esp, 4
mov dword [ebp - 0x28], eax
cmp eax, ebx
jne 0x429700
push 0x5c9e00
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 1
call fcn.00543f24
push eax
push esi
push ebx
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
cmp eax, ebx
jne 0x429723
push 0x5c9e00
lea ecx, [ebp - 0x24]
push ecx
mov dword [ebp - 0x24], 1
call fcn.00543f24
mov edi, dword [ebp - 0x28]
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x18]
push eax
push 0x5ae6dc
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueA]
cmp eax, ebx
jne 0x429753
push 0x5c9e00
lea ecx, [ebp - 0x2c]
push ecx
mov dword [ebp - 0x2c], 1
call fcn.00543f24
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 0x429791
cmp edx, ebx
jne 0x429791
cmp ecx, ebx
jne 0x42977c
cmp esi, ebx
je 0x4297a6
push esi
push ecx
lea edx, [ebp - 0x14]
push str._d._d
push edx
call fcn.004078c0
add esp, 0x10
jmp 0x4297a6
push edx
push eax
push esi
push ecx
lea eax, [ebp - 0x14]
push str._d._d._d._d
push eax
call fcn.004078c0
add esp, 0x18
push edi
call fcn.0043cd76
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
push esi
call fcn.00402b50
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 0x4297e3
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 0x429df0
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 0x429e1e
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 0x42be20
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 [0x5d7f50]
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.00543bb0
push 0x9c
call fcn.0053e900
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42beaa
push 0x9c
push 0
push esi
call fcn.00543bb0
mov eax, 0x5ae8f4
lea edx, [esi + 0x18]
add esp, 0xc
sub edx, eax
jmp 0x42be80
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x42be80
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 0x98], eax
cmp eax, 0xffffffff
jne 0x42bebb
push esi
call fcn.0053e8c6
add esp, 4
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053c99c
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 0x42bf21
call fcn.0042bdf0
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053c99c
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 0x42bf27
mov ecx, dword [ebp - 4]
mov dword [esi + 0x14], ebx
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0053c99c
mov esp, ebp
pop ebp
ret
Function at 0x42bfd0
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 0x42c011
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 0x42c00a
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 0x42c060
cmp dword [ebp + 0x10], 0
jne 0x42c053
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 0x42c0ba
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 0x42c087
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 0x42c07f
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 0x42c0a2
lea ecx, [ebp + 0xc]
call fcn.00402c30
pop edi
xor eax, eax
pop esi
pop ebp
ret 0xc
mov ecx, dword [ebp + 0x10]
push edi
push eax
push ecx
call fcn.005461a0
add esp, 0xc
lea ecx, [ebp + 0xc]
mov dword [ebx], edi
call fcn.00402c30
pop edi
mov eax, 1
pop esi
pop ebp
ret 0xc

Function at 0x42ce60
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 0x42ce50
call fcn.00450908
mov esi, eax
mov dword [ebp - 0xc], vtable.CCertificateCheck.0
call fcn.0044b779
test eax, eax
jne 0x42ce97
push 0x80004005
call fcn.00402bc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 8], eax
call fcn.0042c5a0
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 0x42cef8
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 0x42cf20
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 0x42cf6c
push edi
call fcn.0043cd6b
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 0x42cf73
push edx
call fcn.0043cd76
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 0x42cf90
mov eax, dword [esi]
push eax
jmp 0x42cf57
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 0x42d170
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.0043cd6b
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 0x42d1f6
mov ebx, dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
lea esp, [esp]
test dword [esi + 0xc], 0x100000
jne 0x42d1c3
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.0043cd76
mov edx, dword [ebp - 4]
push edx
call fcn.0043cd6b
add esp, 8
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
push edi
call ebx
test eax, eax
jne 0x42d1b0
lea ebx, [eax + 1]
test esi, esi
je 0x42d203
push esi
call fcn.0043cd76
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42d550
Capabilities:
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56dd2b
mov eax, dword fs:[0]
push eax
mov eax, 0x271c
call fcn.00542140
mov eax, dword [0x5d7f50]
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.0044b779
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42d5a0
push 0x80004005
call fcn.00402bc0
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.00543bb0
add esp, 0xc
test esi, esi
jne 0x42d5d7
xor eax, eax
jmp 0x42d5e9
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42d5e0
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x2724]
call fcn.00402a20
mov eax, dword [ebp - 0x2724]
mov edi, dword [eax - 0xc]
lea esi, [edi + 1]
test esi, esi
jns 0x42d610
push 0x80070057
call fcn.00402bc0
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x42d633
push esi
lea ecx, [ebp - 0x2724]
call fcn.00402950
mov eax, dword [ebp - 0x2724]
mov byte [edi + eax], 0x5c
cmp esi, dword [eax - 8]
jg 0x42d606
mov dword [eax - 0xc], esi
mov byte [esi + eax], 0
test ebx, ebx
jne 0x42d64b
xor eax, eax
jmp 0x42d659
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42d650
sub eax, edx
push eax
push ebx
lea ecx, [ebp - 0x2724]
call fcn.004078f0
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 0x42d6b1
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 0x42d6aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x42d745
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 0x42d710
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
cmp edi, 0x2710
jbe 0x42d6fe
lea ecx, [ebp - 0x2728]
push ecx
push 0x2710
lea edx, [ebp - 0x2720]
push edx
push esi
call ebx
sub edi, 0x2710
jne 0x42d6d4
jmp 0x42d710
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 0x42d740
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.0053c99c
mov esp, ebp
pop ebp
ret
Function at 0x42eb30
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 0x42ec2f
push edi
lea edi, [esi + 0x1c]
mov eax, 0x10
cmp dword [edi + 0x14], eax
jb 0x42eb55
mov ecx, dword [edi]
jmp 0x42eb57
mov ecx, edi
cmp dword [esi + 0x14], eax
jb 0x42eb60
mov eax, dword [esi]
jmp 0x42eb62
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.0053d809
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 0x42eb90
mov edi, dword [edi]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
test edi, edi
je 0x42ec72
cmp edi, 0xffffffff
je 0x42ec72
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 0x42ec0d
mov eax, dword [ebp - 4]
test eax, eax
je 0x42ec0d
cmp esi, dword [ebp - 8]
ja 0x42ec0d
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 0x42ebe5
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 0x42ec3e
mov eax, dword [eax]
cmp dword [esi + 0x14], ecx
jb 0x42ec47
mov ecx, dword [esi]
jmp 0x42ec49
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.0053d809
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 0x42f940
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 0x42f9dc
mov eax, dword [ecx + 0x88]
push ebx
mov ebx, dword [eax]
cmp ebx, eax
je 0x42f9d3
push esi
push edi
mov eax, dword [ebx + 8]
cmp byte [eax + 0x38], 0
je 0x42f9b4
add eax, 0x1c
cmp dword [eax + 0x14], 0x10
jb 0x42f97b
mov eax, dword [eax]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
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 0x42f9b9
mov esi, 0x2000
mov ebx, dword [ebx]
add edx, esi
mov dword [ebp - 4], edx
cmp ebx, dword [ecx + 0x88]
jne 0x42f967
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 0x42fe80
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56cd60
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5d7f50]
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 0x42fed2
push 0x5c9e88
lea ecx, [ebp - 0x18]
push ecx
mov dword [ebp - 0x18], str.connection_failed...
call fcn.00543f24
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 0x42ff19
push 0x5c9e88
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], str.response_failed...
call fcn.00543f24
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, 0x42ff19
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 0x4302f0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x5d7f50]
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 [0x5e3448], esi
call fcn.00543bb0
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.00543bb0
add esp, 0x18
lea edx, [ebp - 0x98]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x4303bb
cmp dword [ebp - 0x94], 5
jb 0x4303bb
mov eax, 1
mov dword [esi + 0x220], eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053c99c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov dword [esi + 0x220], edi
xor ecx, ebp
pop edi
call fcn.0053c99c
mov esp, ebp
pop ebp
ret
Function at 0x430b80
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x5d7f50]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
mov edi, eax
test edi, edi
je 0x430bc8
push esi
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push esi
push 0x430ab0
push edi
call dword [sym.imp.USER32.dll_EnumChildWindows]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053c99c
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x28]
push eax
push 5
mov dword [ebp - 0x28], 0x24
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x430c40
mov eax, dword [ebp - 0x1c]
cmp eax, 3
ja case.default.0x430be7
jmp dword [eax*4 + 0x430c70]
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
lea ecx, [eax - 0x64]
add eax, 0xfffffff0
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
mov dword [esi], edx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053c99c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
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
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053c99c
mov esp, ebp
pop ebp
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
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0053c99c
mov esp, ebp
pop ebp
ret

Function at 0x430cf0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5d7f50]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
lea eax, [ebp - 0xc]
push eax
push 8
push 0x48
mov dword [ebp - 0xc], 8
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
cmp dword [ebp - 8], 0
je 0x430d41
lea ecx, [ebp - 0x24]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea esi, [ebp - 0x14]
call fcn.00430b80
mov edx, esi
push edx
lea eax, [ebp - 0x24]
push eax
push 3
push edi
call dword [sym.imp.USER32.dll_DrawAnimatedRects]
push edi
call fcn.00430c80
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]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0053c99c
mov esp, ebp
pop ebp
ret