joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4102a0
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x4113e0
call fcn.00410444
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x4102db
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4102db
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x4102f3
cmp eax, 0x20b
je 0x4102e0
mov dword [ebp - 0x1c], edi
jmp 0x410307
cmp dword [ecx + 0x84], 0xe
jbe 0x4102db
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x410301
cmp dword [ecx + 0x74], 0xe
jbe 0x4102db
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x416a8c], 0xffffffff
or dword [0x416a90], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x41603c]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x416038]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x416a88], eax
call fcn.0041043e
cmp dword [section..data], edi
jne 0x410362
push fcn.0041043e
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.0041042c
push 0x4113b4
push 0x4113b0
call sub.msvcrt.dll__initterm
mov eax, dword [0x416034]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x416030]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x30], eax
push 0x4113ac
push 0x411398
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x24]
mov ecx, dword [sym.imp.msvcrt.dll___initenv]
mov dword [ecx], eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.0040323a
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x34], esi
cmp dword [ebp - 0x1c], edi
jne 0x4103d9
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x41040e
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0041047d
ret
Function at 0x401fb0
Capabilities:
Create http request
Get http content length
Read data from internet
Receive data

Disassembly:
mov eax, 0x10064
call fcn.004109c0
mov edx, dword [0x440274]
mov eax, dword [str.Accept:_____r_n_r_n]
mov ecx, dword [0x440270]
push ebx
push ebp
push esi
xor esi, esi
push edi
push esi
mov dword [esp + 0x2c], edx
push esi
mov dword [esp + 0x28], eax
mov eax, dword [0x440278]
mov dword [esp + 0x2c], ecx
mov cx, word [0x44027c]
push esi
lea edx, [esp + 0x40]
push esi
push edx
mov dword [esp + 0x40], eax
mov word [esp + 0x44], cx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
cmp edi, esi
mov dword [esp + 0x18], edi
jne 0x40201d
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0x10064
ret 8
push esi
lea eax, [esp + 0x24]
push 0x84000100
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [esp + 0x10080]
lea ecx, [esp + 0x28]
push eax
push ecx
push edx
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
cmp edi, esi
jne 0x40205b
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10064
ret 8
mov eax, dword [esp + 0x1007c]
push 0x440268
push eax
call fcn.0041132d
mov ebx, eax
add esp, 8
cmp ebx, esi
jne 0x402088
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x10064
ret 8
lea ecx, [esp + 0x1c]
push esi
lea edx, [esp + 0x18]
push ecx
push edx
push 0x20000005
push edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x4020b3
mov dword [esp + 0x14], esi
mov ebp, dword [sym.imp.WININET.dll_InternetReadFile]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x78]
push 0x4000
push ecx
push edi
call ebp
test eax, eax
je 0x402104
mov eax, dword [esp + 0x10]
push ebx
test eax, eax
je 0x40211f
push eax
lea edx, [esp + 0x7c]
push 1
push edx
call fcn.004111c3
mov eax, dword [esp + 0x20]
add esp, 0x10
add esi, eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x78]
push 0x4000
push ecx
push edi
call ebp
test eax, eax
jne 0x4020cf
push ebx
call fcn.00411146
add esp, 4
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10064
ret 8
call fcn.00410fe0
push ebx
call fcn.00411146
mov edx, dword [esp + 0x20]
add esp, 8
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10064
ret 8

Function at 0x402c20
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push esi
push edi
push 0x4402e8
push 1
push 0
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x402c6f
push 0x4402d4
push 0
mov bl, 1
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x402c6f
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test edi, edi
je 0x402c7a
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test bl, bl
pop edi
pop esi
sete al
pop ebx
ret
Function at 0x403090
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
sub esp, 0x290
push ebx
push ebp
mov ebp, dword [esp + 0x2a0]
xor ebx, ebx
push esi
mov esi, dword [esp + 0x2a0]
test ebp, ebp
push edi
jle 0x4030b6
mov ecx, ebp
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
lea eax, [esp + 0x110]
push eax
push 0x202
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x403126
lea ecx, [esp + 0x10]
push 0x100
push ecx
call dword [sym.imp.WSOCK32.dll_gethostname]
cmp eax, 0xffffffff
je 0x403126
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.WSOCK32.dll_gethostbyname]
test eax, eax
je 0x403120
xor edx, edx
mov ecx, dword [eax + 0xc]
mov ecx, dword [ecx + edx]
mov ecx, dword [ecx]
test ecx, ecx
je 0x403105
mov dword [esi], ecx
inc ebx
add esi, 4
cmp ebx, ebp
jge 0x403120
mov ecx, dword [eax + 0xc]
movsx edi, word [eax + 0xa]
mov ecx, dword [ecx + edx]
add ecx, edi
mov edi, dword [eax]
cmp ecx, edi
jae 0x403120
add edx, 4
jmp 0x4030f3
call dword [sym.imp.WSOCK32.dll_WSACleanup]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x290
ret

Function at 0x403200
Capabilities:
Get routing table

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
lea eax, [esp + 8]
push esi
mov ecx, dword [edi]
push eax
push ecx
mov dword [esp + 0x14], 0
call sub.iphlpapi.dll_GetIpForwardTable
test eax, eax
jne 0x403238
push 0x440308
call fcn.004114ca
add esp, 4
xor eax, eax
pop edi
pop esi
pop ecx
ret
cmp eax, 0x7a
jne 0x403258
mov edx, dword [esp + 8]
push edx
call fcn.004107cf
add esp, 4
lea ecx, [esp + 8]
mov dword [edi], eax
push esi
push ecx
push eax
call sub.iphlpapi.dll_GetIpForwardTable
pop edi
pop esi
pop ecx
ret

Function at 0x403390
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
lea eax, [esp]
push esi
push eax
push 0xf003f
push 0
push ecx
push edx
mov dword [esp + 0x1c], 0x63
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4033cb
xor eax, eax
pop esi
add esp, 8
ret
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 4]
lea eax, [esp + 8]
lea edx, [esp + 0x14]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push 0
push eax
push esi
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40340a
test esi, esi
je 0x403403
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
add esp, 8
ret
test esi, esi
je 0x403415
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
add esp, 8
ret
Function at 0x4062c0
Capabilities:
Set registry value

Disassembly:
push ecx
mov edx, dword [esp + 0xc]
lea eax, [esp + 0xc]
push esi
lea ecx, [esp + 4]
push eax
mov eax, dword [esp + 0x10]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push edx
push eax
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4062fc
xor eax, eax
pop esi
pop ecx
ret 0x10
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0x14]
inc eax
push eax
push esi
mov esi, dword [esp + 0xc]
push 1
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x406334
test esi, esi
je 0x40632d
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
pop ecx
ret 0x10
test esi, esi
je 0x40633f
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
pop ecx
ret 0x10

Function at 0x406350
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x430f08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push esi
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
lea eax, [esp + 4]
mov dword [esp + 0x78], 0
push eax
push 0xf003f
push 0
push ecx
push edx
mov dword [esp + 0x1c], 0x63
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4063eb
mov esi, dword [esp + 4]
mov dword [esp + 0x84], eax
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x8c]
lea edx, [esp + 0x88]
push ecx
push edx
push 0
push eax
push esi
mov dword [esp + 0x98], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4063ff
test esi, esi
je 0x4063eb
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
add esp, 0x78
ret 0x10
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x90]
call fcn.00421e87
test esi, esi
je 0x40641b
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x70]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x78
ret 0x10

Function at 0x407600
Capabilities:
Delete registry value
Set registry value

Disassembly:
sub esp, 0x104
lea eax, [esp + 4]
push 0x100
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [esp + 0x108]
test eax, eax
je 0x407677
lea ecx, [esp]
push edi
push ecx
push 0x4404b8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea edi, [esp + 8]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 8]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push 1
push eax
mov eax, dword [esp + 0x14]
push 0x4402e8
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
add esp, 0x104
ret 4
lea edx, [esp]
push edx
push 0x4404b8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov eax, dword [esp]
push 0x4402e8
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add esp, 0x104
ret 4
Function at 0x4076f0
Capabilities:
Create udp socket
Initialize winsock library

Disassembly:
sub esp, 0x1a0
lea eax, [esp + 0x10]
push esi
push edi
push eax
mov edi, ecx
push 0x202
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x4077a0
mov ax, word [esp + 0x18]
cmp al, 2
jne 0x4077a0
xor ecx, ecx
mov cl, ah
cmp cl, al
jne 0x4077a0
push 0
push 2
push 2
call dword [sym.imp.WSOCK32.dll_socket]
push 0x43
mov esi, eax
mov dword [esp + 0x10], 0
mov word [esp + 0xc], 2
call dword [sym.imp.WSOCK32.dll_ntohs]
cmp esi, 0xffffffff
mov word [esp + 0xa], ax
je 0x4077a0
lea edx, [esp + 8]
push 0x10
push edx
push esi
call dword [sym.imp.WSOCK32.dll_bind]
test eax, eax
je 0x407799
call dword [sym.imp.WSOCK32.dll_WSACleanup]
push esi
call dword [sym.imp.WSOCK32.dll_closesocket]
mov eax, dword [edi + 0x1c]
push 0x44144c
push 3
push 0x466
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
mov eax, 1
pop esi
add esp, 0x1a0
ret
push esi
call dword [sym.imp.WSOCK32.dll_closesocket]
call dword [sym.imp.WSOCK32.dll_WSACleanup]
pop edi
xor eax, eax
pop esi
add esp, 0x1a0
ret
Function at 0x4079b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x431120
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
mov esi, ecx
push 0xd05
push ecx
lea eax, [esi + 0x2d8]
xor edi, edi
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
mov dword [esi + 0x60], edi
call fcn.00421a73
lea ecx, [esp + 0x24]
call fcn.004018c0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], edi
call fcn.00401970
test eax, eax
je 0x407b95
push 0x44578c
lea ecx, [esp + 0x14]
call fcn.00421d6c
mov ebx, 1
push 0x44578c
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], bl
call fcn.00421d6c
mov eax, dword [esi + 0x78]
mov byte [esp + 0x38], 2
cmp eax, edi
jbe 0x407a61
cmp dword [esi + 0x74], edi
jbe 0x407a61
mov ecx, dword [esi + 0xd4]
mov edx, dword [esi + 0xd0]
push eax
push ecx
push edx
lea eax, [esp + 0x18]
push 0x44150c
push eax
call fcn.00420e11
add esp, 0x14
jmp 0x407a81
mov ecx, dword [esi + 0xd4]
mov edx, dword [esi + 0xd0]
push ecx
push edx
lea eax, [esp + 0x14]
push 0x440884
push eax
call fcn.00420e11
add esp, 0x10
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.00421a73
push ecx
mov byte [esp + 0x44], 3
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x4414f8
call fcn.00421d6c
lea ecx, [esp + 0x28]
mov byte [esp + 0x44], 2
call fcn.004019f0
lea ecx, [esp + 0x1c]
call fcn.00401e40
mov eax, dword [esp + 0x10]
push 0x4414ec
push eax
call fcn.00410909
add esp, 8
test eax, eax
jne 0x407ae7
mov ecx, dword [esi + 0x1c]
push edi
push edi
push 0x464
push ecx
jmp 0x407b16
mov edx, dword [esp + 0x10]
push 0x4414d8
push edx
call fcn.00410909
add esp, 8
test eax, eax
jne 0x407b67
push edi
push edi
push 0x4414cc
mov ecx, esi
call fcn.00423d2f
mov eax, dword [esi + 0x1c]
push edi
push edi
push 0x464
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
or edi, 0xffffffff
lea ecx, [esp + 0xc]
mov dword [esi + 0xd0], edi
mov dword [esi + 0xd4], edi
mov byte [esp + 0x38], bl
call fcn.00421cfe
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 0
call fcn.00421cfe
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], edi
call fcn.00401850
mov eax, ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x30
ret
push 0x10
push 0x4414c0
push 0x4414b4
mov ecx, esi
call fcn.00423d2f
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], bl
call fcn.00421cfe
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 0
call fcn.00421cfe
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00401850
mov ecx, dword [esp + 0x30]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x30
ret
Function at 0x420170
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.004109c0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x42023b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x42023b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4201ee
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4201f9
or bh, 8
and edi, 0x8000000
je 0x420214
mov eax, dword [0x4499fc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x42023b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x420610
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x42063b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x42065f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x42067a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x424981
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4249c3
call fcn.0042dbd6
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4249c3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4249ba
xor eax, eax
jmp 0x4249cb
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004249d1
pop edi
pop esi
pop ebx
ret 4

Function at 0x425b31
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x425b53
cmp dword [edi + 0x3c], 0
jne 0x425b53
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.0042dbd6
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
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.00425b80
pop edi
pop esi
pop ebx
ret 8

Function at 0x425bce
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.0042dbd6
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x425bff
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.00425c12
pop edi
pop esi
pop ebx
ret 8

Function at 0x42bdf3
Capabilities:
Create http request

Disassembly:
mov eax, 0x4315d8
call fcn.0041196c
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], 0x435c24
jne 0x42be2b
call fcn.0042dbd6
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]
test eax, eax
mov dword [esi + 8], eax
jne 0x42be50
push eax
push dword [esi + 4]
call fcn.0042cab8
jmp 0x42be5c
push esi
push eax
mov ecx, 0x447d28
call fcn.0042be6d
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x42bfcd
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x431613
call fcn.0041196c
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004277d2
mov eax, dword [0x441620]
lea ebx, [esi + 0x24]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebx], eax
mov eax, dword [ebp + 0x10]
mov dword [esi], 0x435c3c
mov ecx, 0x447d28
mov byte [ebp - 4], 1
push dword [eax + 0xc]
push dword [ebp + 8]
call fcn.0042be6d
push dword [ebp + 0xc]
lea ecx, [esi + 0xc]
call fcn.00421e87
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
mov dword [esi + 0x1c], eax
lea eax, [ebp + 0x10]
push eax
call fcn.004089b7
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.00421e37
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call fcn.00421cfe
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10