joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413c50
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x442bc8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x454314]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp + 8]
xor esi, esi
mov edi, dword [ebp + 0x10]
xor ecx, ecx
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], esi
mov word [ebp - 0x44], cx
mov dword [ebp - 4], ecx
cmp dword [eax + 0x10], ecx
je 0x413cff
push ecx
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00414560
mov esi, eax
lea eax, [ebp - 0x44]
cmp eax, esi
je 0x413ce3
cmp dword [ebp - 0x30], 8
jb 0x413cc6
push dword [ebp - 0x44]
call fcn.00419d5c
add esp, 4
xor eax, eax
mov dword [ebp - 0x30], 7
push esi
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
call fcn.00414960
cmp dword [ebp - 0x64], 8
jb 0x413cf4
push dword [ebp - 0x78]
call fcn.00419d5c
add esp, 4
cmp dword [ebp - 0x30], 8
lea esi, [ebp - 0x44]
cmovae esi, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 1
cmp dword [edi + 0x10], eax
je 0x413d6f
push eax
push edi
lea eax, [ebp - 0x78]
push eax
call fcn.00414560
mov edi, eax
lea eax, [ebp - 0x2c]
cmp eax, edi
je 0x413d5e
cmp dword [ebp - 0x18], 8
jb 0x413d41
push dword [ebp - 0x2c]
call fcn.00419d5c
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.00414960
cmp dword [ebp - 0x64], 8
jb 0x413d6f
push dword [ebp - 0x78]
call fcn.00419d5c
add esp, 4
xor eax, eax
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
mov byte [ebp - 4], 2
cmp dword [ebx + 0x10], eax
je 0x413ddf
push eax
push ebx
lea eax, [ebp - 0x78]
push eax
call fcn.00414560
mov edi, eax
lea eax, [ebp - 0x5c]
cmp eax, edi
je 0x413dce
cmp dword [ebp - 0x48], 8
jb 0x413db1
push dword [ebp - 0x5c]
call fcn.00419d5c
add esp, 4
xor eax, eax
mov dword [ebp - 0x48], 7
push edi
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
call fcn.00414960
cmp dword [ebp - 0x64], 8
jb 0x413ddf
push dword [ebp - 0x78]
call fcn.00419d5c
add esp, 4
push 0
push 0
push 0
push 1
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov ecx, dword [ebp - 0x60]
xor ebx, ebx
test eax, eax
setne bl
cmp dword [ebp - 0x48], 8
mov dword [ecx + 4], eax
jb 0x413e0c
push dword [ebp - 0x5c]
call fcn.00419d5c
add esp, 4
xor eax, eax
mov dword [ebp - 0x48], 7
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
jb 0x413e31
push dword [ebp - 0x2c]
call fcn.00419d5c
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
cmp dword [ebp - 0x30], 8
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
jb 0x413e56
push dword [ebp - 0x44]
call fcn.00419d5c
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00418e51
mov esp, ebp
pop ebp
ret 0x14
Function at 0x414140
Capabilities:
Prepare http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x442c48
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x454314]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x414254
cmp dword [ebp + 0x20], 8
lea edx, [ebp + 0xc]
mov eax, 0x800000
cmovae edx, dword [ebp + 0xc]
xor edi, edi
cmp dword [esi + 0x58], 2
cmove edi, eax
cmp dword [esi + 0x3c], 8
lea eax, [esi + 0x28]
jb 0x4141a0
mov eax, dword [eax]
push edi
push 0
push 0
push 0
push eax
push edx
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
cmp byte [ebp + 8], 0
mov dword [esi + 0xc], eax
je 0x41424a
push 0x21
push str.application_x_www_form_urlencoded
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.00402db0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 0xc
push str.Content_Type
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00402db0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00414420
cmp dword [ebp - 0x14], 0x10
jb 0x414227
push dword [ebp - 0x28]
call fcn.00419d5c
add esp, 4
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x41424a
push dword [ebp - 0x40]
call fcn.00419d5c
add esp, 4
xor ebx, ebx
cmp dword [esi + 0xc], ebx
setne bl
jmp 0x414256
xor ebx, ebx
cmp dword [ebp + 0x20], 8
jb 0x414267
push dword [ebp + 0xc]
call fcn.00419d5c
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x414280
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x442c89
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x454314]
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 dword [ebp - 0x24], esi
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x18], 0
movq qword [edi], xmm0
mov dword [edi + 8], 0
mov dword [ebp - 0x14], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
push 0
push dword [esi + 0xc]
mov dword [ebp - 0x20], 1
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x4143f6
mov edi, edi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push dword [esi + 0xc]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x4143f6
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4143f6
push eax
call fcn.0041815a
mov ebx, eax
add esp, 4
mov dword [ebp - 0x28], ebx
test ebx, ebx
je 0x4143f6
push dword [ebp - 0x18]
push 0
push ebx
call fcn.00423d50
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
push ebx
push dword [esi + 0xc]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x4143dd
xor edx, edx
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x18], edx
jbe 0x4143dd
mov esi, ebx
lea esp, [esp]
mov eax, dword [edi + 4]
cmp esi, eax
jae 0x4143af
mov ecx, dword [edi]
cmp ecx, esi
ja 0x4143af
mov ebx, esi
sub ebx, ecx
cmp eax, dword [edi + 8]
jne 0x4143a1
push ecx
mov ecx, edi
call fcn.00414aa0
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4143ca
mov eax, dword [edi]
mov al, byte [ebx + eax]
jmp 0x4143c8
cmp eax, dword [edi + 8]
jne 0x4143bf
push ecx
mov ecx, edi
call fcn.00414aa0
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4143ca
mov al, byte [esi]
mov byte [ecx], al
inc dword [edi + 4]
inc edx
inc esi
mov dword [ebp - 0x1c], edx
cmp edx, dword [ebp - 0x18]
jb 0x414380
mov ebx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x24]
push ebx
call fcn.0041b61b
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x4143f6
cmp dword [ebp - 0x18], 0
ja 0x414310
mov eax, edi
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.00418e51
mov esp, ebp
pop ebp
ret 4
Function at 0x414420
Capabilities:
Set http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x442cc8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x454314]
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 ebx, ecx
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
cmp dword [edx + 0x10], 0
je 0x414538
cmp dword [esi + 0x10], 0
je 0x414538
xor edi, edi
cmp dword [ebx + 0xc], edi
je 0x414534
push 0x44c5f8
lea ecx, [ebp - 0x58]
call fcn.0040ca80
add esp, 4
push esi
mov edx, eax
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x40]
call fcn.0040cb70
add esp, 4
cmp dword [ebp - 0x44], 0x10
jb 0x4144a4
push dword [ebp - 0x58]
call fcn.00419d5c
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x30], eax
je 0x41450f
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00414560
push eax
lea ecx, [ebp - 0x28]
call fcn.00414810
lea ecx, [ebp - 0x58]
call fcn.00402c00
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x90000000
cmovae eax, dword [ebp - 0x28]
push 0xffffffffffffffff
push eax
push dword [ebx + 0xc]
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
cmp dword [ebp - 0x14], 8
mov edi, eax
jb 0x41450f
push dword [ebp - 0x28]
call fcn.00419d5c
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x414534
push dword [ebp - 0x40]
call fcn.00419d5c
add esp, 4
mov eax, edi
jmp 0x41453a
xor eax, eax
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.00418e51
mov esp, ebp
pop ebp
ret 8

Function at 0x414fe0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x454314]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [edx + 0x14], 0x10
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 4
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 4
jb 0x415018
mov edx, dword [edx]
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x415078
cmp dword [esi + 0x14], 0x10
jb 0x41503b
mov esi, dword [esi]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x14]
test eax, eax
jne 0x415072
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418e51
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
xor ecx, ebp
pop esi
call fcn.00418e51
mov esp, ebp
pop ebp
ret
Function at 0x415090
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x454314]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [edx + 0x14], 0x10
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
jb 0x4150ba
mov edx, dword [edx]
lea eax, [ebp - 0xc]
push eax
push 0x20006
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x415111
cmp dword [esi + 0x14], 0x10
jb 0x4150d9
mov esi, dword [esi]
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push esi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0xc]
test eax, eax
jne 0x41510b
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418e51
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.00418e51
mov esp, ebp
pop ebp
ret
Function at 0x415270
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x442e1d
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x454314]
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 edi, edx
mov esi, ecx
mov dword [ebp - 0x134], 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov dword [ebp - 0x138], esi
mov byte [esi], 0
lea eax, [ebp - 0x130]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push str.Local_SettingsSoftwareMicrosoftWindowsShellMuiCache
push closesocket
mov dword [ebp - 0x134], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x415472
xor ebx, ebx
mov dword [ebp - 0x114], pe_nt_image_headers32
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x110]
push eax
push ebx
push dword [ebp - 0x130]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x415466
lea ecx, [ecx]
cmp byte [ebp - 0x110], 0
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
jne 0x415358
xor ecx, ecx
jmp 0x41536a
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x415361
sub ecx, edx
push ecx
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x12c]
call fcn.00402db0
mov dword [ebp - 4], 1
cmp dword [edi + 0x14], 0x10
jb 0x41538e
mov eax, dword [edi]
jmp 0x415390
mov eax, edi
push dword [edi + 0x10]
push ecx
push eax
lea ecx, [ebp - 0x12c]
call fcn.004161d0
cmp eax, 0xffffffff
jne 0x4153f8
inc ebx
mov byte [ebp - 4], 0
cmp dword [ebp - 0x118], 0x10
mov dword [ebp - 0x114], pe_nt_image_headers32
jb 0x4153cb
push dword [ebp - 0x12c]
call fcn.00419d5c
add esp, 4
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x110]
push eax
push ebx
push dword [ebp - 0x130]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x415330
jmp 0x415466
lea edx, [ebp - 0x12c]
lea ecx, [ebp - 0x150]
call fcn.00415130
mov edi, eax
cmp esi, edi
je 0x415438
cmp dword [esi + 0x14], 0x10
jb 0x41541f
push dword [esi]
call fcn.00419d5c
add esp, 4
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push edi
mov byte [esi], 0
call fcn.0040b660
cmp dword [ebp - 0x13c], 0x10
jb 0x41544f
push dword [ebp - 0x150]
call fcn.00419d5c
add esp, 4
cmp dword [ebp - 0x118], 0x10
jb 0x415466
push dword [ebp - 0x12c]
call fcn.00419d5c
add esp, 4
push dword [ebp - 0x130]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
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.00418e51
mov esp, ebp
pop ebp
ret
Function at 0x415490
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x442e7d
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x454314]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x13c], 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov dword [ebp - 0x158], esi
mov byte [esi], 0
push edx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x134]
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths_
mov dword [ebp - 0x13c], 1
call fcn.0040c650
add esp, 4
lea ecx, [ebp - 0x138]
mov dword [ebp - 4], 1
cmp dword [ebp - 0x120], 0x10
lea eax, [ebp - 0x134]
push ecx
cmovae eax, dword [ebp - 0x134]
push 0x20019
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x415638
push 0x103
push eax
mov byte [ebp - 0x118], al
lea eax, [ebp - 0x117]
push eax
call fcn.00423d50
add esp, 0xc
mov dword [ebp - 0x11c], 0x104
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x118]
push eax
push 0
push 0
push 0
push dword [ebp - 0x138]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41562c
mov dword [ebp - 0x140], 0xf
mov dword [ebp - 0x144], eax
mov byte [ebp - 0x154], al
cmp byte [ebp - 0x118], al
jne 0x4155b0
xor ecx, ecx
jmp 0x4155c9
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4155c0
sub ecx, edx
push ecx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x154]
call fcn.00402db0
lea eax, [ebp - 0x154]
cmp esi, eax
je 0x415615
cmp dword [esi + 0x14], 0x10
jb 0x4155f6
push dword [esi]
call fcn.00419d5c
add esp, 4
lea eax, [ebp - 0x154]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov ecx, esi
push eax
mov byte [esi], 0
call fcn.0040b660
cmp dword [ebp - 0x140], 0x10
jb 0x41562c
push dword [ebp - 0x154]
call fcn.00419d5c
add esp, 4
push dword [ebp - 0x138]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x120], 0x10
jb 0x41564f
push dword [ebp - 0x134]
call fcn.00419d5c
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00418e51
mov esp, ebp
pop ebp
ret
Function at 0x415670
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x442ebb
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x454314]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x103
lea eax, [ebp - 0x117]
mov dword [ebp - 0x134], 0
push 0
push eax
mov byte [ebp - 0x118], 0
call fcn.00423d50
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
dec eax
cmp eax, 0x102
ja 0x41578d
cmp byte [ebp - 0x118], 0
mov dword [ebp - 0x11c], 0xf
mov dword [ebp - 0x120], 0
mov byte [ebp - 0x130], 0
jne 0x41570b
xor ecx, ecx
jmp 0x41571d
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x415714
sub ecx, edx
push ecx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x130]
call fcn.00402db0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x130]
cmp dword [ebp - 0x11c], 0x10
mov eax, dword [ebp - 0x120]
cmovae ecx, dword [ebp - 0x130]
cmp byte [ecx + eax - 1], 0x5c
je 0x415766
push 0x5c
push ecx
lea ecx, [ebp - 0x130]
call fcn.0040ed40
lea eax, [ebp - 0x130]
mov ecx, esi
push eax
call fcn.0040aa20
cmp dword [ebp - 0x11c], 0x10
jb 0x4157ac
push dword [ebp - 0x130]
call fcn.00419d5c
add esp, 4
jmp 0x4157ac
push 0
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push 0x44b17c
mov byte [esi], 0
call fcn.00402db0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00418e51
mov esp, ebp
pop ebp
ret

Function at 0x415860
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x454314]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x2c]
mov esi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ax, word [ebp - 0x2c]
cmp ax, 6
je 0x41589e
cmp ax, 9
je 0x41589e
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418e51
mov esp, ebp
pop ebp
ret
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, eax
mov eax, dword [0x459d4c]
test eax, eax
jne 0x4158c9
push str.IsWow64Process
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x459d4c], eax
test eax, eax
je 0x41588d
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push esi
call eax
test eax, eax
je 0x41588d
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [ebp - 8], eax
pop esi
sete al
xor ecx, ebp
call fcn.00418e51
mov esp, ebp
pop ebp
ret
Function at 0x4159c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x454314]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 2
mov edi, ecx
mov dword [ebp - 0x234], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x415a04
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418e51
mov esp, ebp
pop ebp
ret
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.00423d50
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x415a65
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea ecx, [ecx]
cmp dword [ebp - 0x228], edi
je 0x415a58
lea eax, [ebp - 0x230]
push eax
push esi
call ebx
test eax, eax
jne 0x415a40
jmp 0x415a64
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x234], eax
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x234]
xor ecx, ebp
pop edi
pop esi
call fcn.00418e51
mov esp, ebp
pop ebp
ret
Function at 0x415b30
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x442f03
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x454314]
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 edi, edx
mov ebx, ecx
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
push 0
push 2
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x415c9f
push 0x228
lea eax, [ebp - 0x254]
push 0
push eax
call fcn.00423d50
add esp, 0xc
mov dword [ebp - 0x258], 0x22c
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x415c98
cmp dword [ebp - 0x250], edi
je 0x415bef
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x415bd0
jmp 0x415c98
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x28c]
call fcn.00402ba0
push ecx
lea edx, [ebp - 0x28c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x270]
call fcn.00414ce0
mov edi, eax
add esp, 4
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x415c4f
cmp dword [ebp - 0x14], 0x10
jb 0x415c34
push dword [ebp - 0x28]
call fcn.00419d5c
add esp, 4
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.0040b660
cmp dword [ebp - 0x25c], 0x10
jb 0x415c66
push dword [ebp - 0x270]
call fcn.00419d5c
add esp, 4
cmp dword [ebp - 0x278], 8
mov dword [ebp - 0x25c], 0xf
mov dword [ebp - 0x260], 0
mov byte [ebp - 0x270], 0
jb 0x415c98
push dword [ebp - 0x28c]
call fcn.00419d5c
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.0040aa20
cmp dword [ebp - 0x14], 0x10
jb 0x415cbb
push dword [ebp - 0x28]
call fcn.00419d5c
add esp, 4
mov eax, ebx
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.00418e51
mov esp, ebp
pop ebp
ret
Function at 0x415ce0
Capabilities:
List tcp connections and listeners

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x454314]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetExtendedTcpTable]
lea eax, [ebp - 8]
push edi
xor edi, edi
mov dword [ebp - 0xc], ecx
push edi
push 5
push 2
push edi
push eax
push edi
mov dword [ebp - 8], edi
call esi
cmp eax, 0x7a
jne 0x415d8f
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 0x1c
mul edx
push ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041815a
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x415d7c
push edi
push 5
push 2
push edi
lea eax, [ebp - 8]
push eax
push ebx
call esi
test eax, eax
jne 0x415d73
xor esi, esi
cmp dword [ebx], esi
jbe 0x415d73
lea edi, [ebx + 0xc]
nop
push dword [ebp - 0xc]
call dword [sym.imp.WS2_32.dll_htons]
movzx eax, ax
cmp dword [edi], eax
je 0x415d6c
inc esi
add edi, 0x18
cmp esi, dword [ebx]
jb 0x415d50
xor edi, edi
jmp 0x415d73
lea eax, [esi + esi*2]
mov edi, dword [ebx + eax*8 + 0x18]
push ebx
call fcn.0041b61b
add esp, 4
pop ebx
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418e51
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00418e51
mov esp, ebp
pop ebp
ret