joyce8/EMBER2024-capa huggingface dataset:
Function at 0x56ade0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404870
mov eax, dword [ebp - 8]
call fcn.00404870
mov eax, dword [ebp - 0xc]
call fcn.00404870
xor eax, eax
push ebp
push 0x56af0f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov ebx, 0x14
mov dword [ebp - 0x28], 0x14
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], 2
mov dword [ebp - 0x40], 2
mov eax, dword [ebp - 8]
call fcn.00404880
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 3
mov eax, dword [ebp - 0xc]
call fcn.00404880
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xc]
call fcn.00438374
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00404880
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x56aef4
xor eax, eax
push ebp
push 0x56aeed
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x4b
push 0
call sub.wininet.dll_InternetSetOptionA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x56aecd
push 0
push 0
push 0x25
push 0
call sub.wininet.dll_InternetSetOptionA
test eax, eax
jne 0x56aed1
xor eax, eax
jmp 0x56aed3
mov al, 1
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56aef4
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56af16
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004043e4
ret
Function at 0x56af20
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404870
mov eax, dword [ebp - 8]
call fcn.00404870
mov eax, dword [ebp - 0xc]
call fcn.00404870
mov eax, dword [ebp + 0xc]
call fcn.00404870
xor eax, eax
push ebp
push 0x56b08a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov ebx, 0x14
mov dword [ebp - 0x28], 0x14
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x40], 2
mov eax, dword [ebp - 8]
call fcn.00404880
mov esi, eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x34], 3
mov eax, 0x56b09c
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00404880
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x56b067
xor edx, edx
push ebp
push 0x56b060
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 3
mov eax, dword [ebp + 0xc]
call fcn.00404880
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404880
push eax
mov ax, word [ebp + 8]
push eax
push esi
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetConnectA
test eax, eax
je 0x56b049
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x4b
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x56b040
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionA
test eax, eax
jne 0x56b044
xor eax, eax
jmp 0x56b046
mov al, 1
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56b067
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56b091
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004043e4
lea eax, [ebp + 0xc]
call fcn.004043c0
ret
Function at 0x56b0a4
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
mov byte [ebp - 1], 0
mov ebx, 0x14
mov dword [ebp - 0x1c], 0x14
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0x34], 2
mov eax, 0x56b16c
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 3
mov eax, 0x56b170
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 1
push 0x56b16c
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x56b163
xor eax, eax
push ebp
push 0x56b15c
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea eax, [ebp - 0x1c]
push eax
push 0x4b
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionA
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56b163
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
mov al, byte [ebp - 1]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x56b3dc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
xor edx, edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x56b5f0
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 0x105
mov eax, dword [ebp - 0x18]
call fcn.0040283c
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x56b45a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
test eax, eax
je 0x56b444
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 8]
call fcn.004045b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56b461
mov eax, dword [ebp - 8]
call fcn.0040285c
ret

Function at 0x56c9bc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov bl, 2
lea eax, [ebp - 0xa]
xor ecx, ecx
mov edx, 0xa
call fcn.00402f00
push 0xa
lea eax, [ebp - 0xa]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
je 0x56c9f6
cmp byte [ebp - 0xa], 0x31
jne 0x56c9f4
mov bl, 1
jmp 0x56c9f6
xor ebx, ebx
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x56e11c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 4], edx
mov esi, eax
xor ebx, ebx
mov eax, esi
call fcn.00464580
test al, al
je 0x56e1da
mov byte [ebp - 9], 0
xor ebx, ebx
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 8], eax
jmp 0x56e1b8
cmp word [esi + 0x5f2], 0
je 0x56e16d
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 9]
push eax
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, dword [esi + 0x5f4]
call dword [esi + 0x5f0]
mov al, byte [esi + 0x5e8]
or al, byte [ebp - 9]
jne 0x56e18f
cmp dword [ebp - 4], 0
jbe 0x56e18b
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
ja 0x56e18f
xor ebx, ebx
jmp 0x56e191
mov bl, 1
test bl, bl
jne 0x56e1da
mov eax, dword [0x6065b0]
mov eax, dword [eax]
cmp byte [eax + 0x9c], 0
jne 0x56e1da
mov eax, dword [0x6065b0]
mov eax, dword [eax]
call fcn.0047d4d0
push 1
call sub.kernel32.dll_Sleep_1
test esi, esi
je 0x56e1da
cmp byte [esi + 0x588], 0
jne 0x56e1da
mov edx, 0xfffffdf3
mov eax, esi
call fcn.00498cc4
cmp eax, 4
jne 0x56e14a
mov byte [esi + 0x5e8], 0
test bl, bl
sete al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x57cdf4
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe68
test dl, dl
je 0x57ce09
add esp, 0xfffffff0
call fcn.004038f4
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
lea eax, [ebp - 0x198]
push eax
mov dl, 1
mov al, 1
call fcn.00407900
push eax
call sub.wsock32.dll_WSAStartup
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], edx
mov dl, 1
mov eax, dword [0x41bf6c]
call fcn.00403560
mov edx, dword [ebp - 4]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0xffffffff
mov eax, dword [ebp - 4]
add eax, 0x10
call fcn.004043c0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x30], 0
mov eax, dword [ebp - 4]
add eax, 0x70
xor ecx, ecx
mov edx, 0x20
call fcn.00402f00
mov eax, dword [ebp - 4]
add eax, 0x90
xor ecx, ecx
mov edx, 0x20
call fcn.00402f00
mov eax, dword [ebp - 4]
add eax, 0x14
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [ebp - 4]
push eax
push 4
mov eax, dword [ebp - 4]
add eax, 0x84
push eax
mov ecx, 0x57cac0
xor edx, edx
xor eax, eax
call fcn.00404374
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
mov eax, dword [ebp - 4]
push eax
push 4
mov eax, dword [ebp - 4]
add eax, 0x84
push eax
mov ecx, 0x57cad8
xor edx, edx
xor eax, eax
call fcn.00404374
mov edx, dword [ebp - 4]
mov dword [edx + 0xa0], eax
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x57cefc
call fcn.0040394c
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x58192c
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0x67452301
mov eax, dword [ebp - 8]
mov dword [eax + 4], 0xefcdab89
mov eax, dword [ebp - 8]
mov dword [eax + 8], 0x98badcfe
mov eax, dword [ebp - 8]
mov dword [eax + 0xc], 0x10325476
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 8]
add eax, 0x18
mov edx, 0x40
call fcn.00407934
pop ecx
pop ecx
pop ebp
ret
Function at 0x584c8c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor ecx, ecx
mov dword [ebp - 0xc], ecx
test dl, dl
je 0x584ca3
add esp, 0xfffffff0
call fcn.004038f4
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x584da6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 4]
add eax, 8
call fcn.004043c0
mov eax, dword [ebp - 4]
mov byte [eax + 0x10], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0xffffffff
mov eax, dword [ebp - 4]
push eax
push 0x584c44
call fcn.0042845c
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x28], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x30], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 4]
add eax, 0x24
call fcn.004043c0
mov eax, dword [0x605f1c]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
mov dword [eax + 0x44], edx
mov dword [eax + 0x40], 0x585044
mov eax, dword [0x605f1c]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
mov dword [eax + 0x4c], edx
mov dword [eax + 0x48], 0x585118
mov eax, dword [0x605f1c]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
mov dword [eax + 0x64], edx
mov dword [eax + 0x60], 0x585244
mov eax, dword [0x605f1c]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
mov dword [eax + 0x5c], edx
mov dword [eax + 0x58], 0x585198
mov eax, dword [0x605f1c]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
mov dword [eax + 0x54], edx
mov dword [eax + 0x50], 0x585198
push 0
push 0xa
push 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.user32.dll_SetTimer
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x584dad
lea eax, [ebp - 0xc]
call fcn.004043c0
ret

Function at 0x58ca00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor edx, edx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x58ca8f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
mov edx, 0x10
call fcn.00407934
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00402f00
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0x40
push 0
push 0
push 0
lea edx, [ebp - 0x5c]
mov eax, dword [0x6065b0]
mov eax, dword [eax]
call fcn.0047dc8c
mov eax, dword [ebp - 0x5c]
call fcn.00404880
push eax
push 0
call sub.kernel32.dll_CreateProcessA
push 0
call sub.kernel32.dll_ExitProcess_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58ca96
lea eax, [ebp - 0x5c]
call fcn.004043c0
ret
Function at 0x58ccd4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
xor edx, edx
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x74], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x58cf2c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x6065b0]
mov eax, dword [eax]
call fcn.0047cfa4
mov eax, dword [ebp - 4]
call fcn.0058cf38
mov eax, dword [ebp - 4]
call fcn.0058d090
lea eax, [ebp - 8]
push eax
mov eax, dword [0x605f0c]
mov dword [ebp - 0x70], eax
mov byte [ebp - 0x6c], 0xb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x380]
add eax, 0x9a
mov dword [ebp - 0x68], eax
mov byte [ebp - 0x64], 4
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x74]
mov edx, dword [0x606018]
mov ecx, 0xe
call fcn.00404630
mov eax, dword [ebp - 0x74]
mov ecx, 1
pop edx
call fcn.0040a55c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [0x605f0c]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0x78], 0xb
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x80]
mov edx, dword [0x605f5c]
mov ecx, 0xb
call fcn.00404630
mov eax, dword [ebp - 0x80]
xor ecx, ecx
pop edx
call fcn.0040a55c
mov eax, dword [ebp - 8]
call fcn.00409964
test al, al
jne 0x58ce1e
push 0x40
lea eax, [ebp - 0x84]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0x78], 0xb
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x88]
mov edx, dword [0x60620c]
mov ecx, 0x10
call fcn.00404630
mov eax, dword [ebp - 0x88]
xor ecx, ecx
pop edx
call fcn.0040a55c
mov eax, dword [ebp - 0x84]
call fcn.00404880
push eax
mov eax, dword [ebp - 4]
call fcn.0046427c
mov ecx, dword [0x606298]
pop edx
call fcn.005110a8
jmp 0x58cef9
lea eax, [ebp - 0x60]
mov edx, 0x10
call fcn.00407934
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x44
call fcn.00402f00
mov dword [ebp - 0x50], 0x44
lea eax, [ebp - 0x8c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x380]
add edx, 0xba
call fcn.00404624
mov eax, dword [ebp - 0x8c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x380]
mov ax, word [eax + 0xca]
push eax
lea eax, [ebp - 0x90]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x380]
add edx, 0x7b
call fcn.00404624
mov eax, dword [ebp - 0x90]
push eax
lea eax, [ebp - 0x94]
mov edx, dword [0x605f50]
mov ecx, 0xf
call fcn.00404630
mov edx, dword [ebp - 0x94]
mov eax, dword [0x6062d8]
mov eax, dword [eax]
pop ecx
call fcn.0058a230
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404880
push eax
push 0
push 0x40
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404880
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x58cef9
xor edx, edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x364]
mov ecx, dword [eax]
call dword [ecx + 0x64]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58cf33
lea eax, [ebp - 0x94]
mov edx, 6
call fcn.004043e4
lea eax, [ebp - 0x74]
call fcn.004043c0
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004043e4
ret
Function at 0x4079c0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47086b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00466a6d
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x407a42
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00460e2b
mov eax, dword [eax]
push 0x48ebb4
push eax
call fcn.004538da
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00466cf8
test bl, bl
je 0x407a42
push 0x48ebb4
lea ecx, [esp + 0xc]
call fcn.004670d4
push 0x48ebc0
lea ecx, [esp + 0xc]
call fcn.004670d4
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x407a7e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00466cf8
jmp 0x407b49
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x407b02
lea edx, [esp + 0x7c]
push 0x48ebbc
push edx
call fcn.004538da
add esp, 8
test eax, eax
je 0x407b02
lea eax, [esp + 0x7c]
push 0x48ebb8
push eax
call fcn.004538da
add esp, 8
test eax, eax
je 0x407b02
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x407a92
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00466cf8
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x408360
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4083c2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x4083d0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4708eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x495ff0]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x408508
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x408436
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00466cf8
xor eax, eax
jmp 0x40857f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00466e81
push esi
lea ecx, [esp + 0xc]
call fcn.00467110
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40855d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocStringLen
call fcn.00408360
test eax, eax
jne 0x40855d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocStringLen
mov ecx, edi
call fcn.00408360
test eax, eax
jne 0x40855d
lea eax, [esp + 0x14]
push 0x48ebd8
push eax
call fcn.00453e10
mov esi, eax
add esp, 8
test esi, esi
jne 0x40853c
lea ecx, [esp + 0x14]
push 0x48ebd4
push ecx
call fcn.00453d90
mov esi, eax
add esp, 8
test esi, esi
jne 0x40853c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40853f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00466e31
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40844e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00466cf8
xor eax, eax
jmp 0x40857f
mov byte [esi], 0
push 0x48ebd0
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00466cf8
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x41b190
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x471828
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x74]
push edi
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.0041bd10
lea edx, [esp + 0x18]
push eax
push edx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x18]
xor edi, edi
xor ecx, ecx
cmp eax, edi
setl cl
dec ecx
xor edx, edx
and ecx, eax
mov eax, dword [esp + 0x1c]
cmp eax, edi
mov dword [esp + 0x18], ecx
setl dl
dec edx
and edx, eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x20], edx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x41b239
mov eax, dword [esp + 0x6c]
push ebx
mov ebx, eax
xor ecx, ecx
xor edx, edx
xor esi, esi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.0041ae20
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push edi
lea ecx, [esp + 0x4c]
call fcn.0046a911
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], edi
call fcn.00431150
mov edx, dword [esp + 0x5c]
add esp, 0xc
lea ecx, [esp + 0x18]
push 2
push ecx
push edx
call dword [sym.imp.GDI32.dll_LPtoDP]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x38]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
lea edx, [esp + 0x38]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, esi
mov dword [esp + 0x64], 0xffffffff
mov dword [edx], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x48]
call fcn.0046a983
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14