joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4218a4
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
cmp dword [0x4686b4], 0
jne 0x4218de
lea eax, [ebp - 0x198]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x4218de
push 0x45ec30
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], str.Could_not_start_WSA
call fcn.0043b333
inc dword [0x4686b4]
leave
ret

Function at 0x4218e6
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ecx
and dword [esi + 4], 0
mov dword [esi], vtable.Socket.0
call fcn.004218a4
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
push 4
mov dword [esi + 4], eax
call fcn.0043a403
pop ecx
test eax, eax
je 0x421919
mov dword [eax], 1
jmp 0x42191b
xor eax, eax
mov dword [esi + 8], eax
mov eax, esi
pop ecx
ret

Function at 0x421990
Capabilities:
Connect socket
Resolve dns

Disassembly:
mov eax, 0x45181c
call fcn.0044ca14
sub esp, 0x30
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x24], 0xf
call fcn.004019d2
mov dword [ebp - 4], ebx
cmp dword [esi + 0x18], 0x10
jb 0x4219c2
mov esi, dword [esi + 4]
jmp 0x4219c5
add esi, 4
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
cmp esi, ebx
jne 0x421a09
call fcn.0043cd54
push dword [eax]
call fcn.0043cca6
pop ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.00401782
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.004017a5
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, bl
mov dword fs:[0], ecx
pop ebx
leave
ret 8
push 2
pop eax
push dword [ebp + 0xc]
mov word [ebp - 0x20], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
mov eax, dword [esi + 0xc]
cmp dword [eax], ebx
je 0x4219e8
xor ecx, ecx
mov eax, dword [eax + ecx]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
xor eax, eax
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
je 0x421a50
push 0x10
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x421a61
mov eax, dword [esi + 0xc]
inc ebx
mov ecx, ebx
shl ecx, 2
cmp dword [eax + ecx], 0
jne 0x421a26
jmp 0x4219e8
mov bl, 1
jmp 0x4219ea

Function at 0x421a65
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov ecx, dword [ebx + 4]
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, 0x400
mov eax, edi
test ecx, ecx
je 0x421ab3
test eax, eax
je 0x421ab3
cmp eax, 0x2746
je 0x421ab3
test esi, esi
je 0x421ab3
push 0
cmp esi, edi
mov eax, esi
cmovge eax, edi
push eax
mov eax, dword [esp + 0x14]
sub eax, esi
add eax, dword [esp + 0x18]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x421ab3
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x421ab3
sub esi, eax
jmp 0x421a79
mov eax, dword [esp + 0x10]
pop edi
sub eax, esi
pop esi
ret 8
Function at 0x421b64
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, 0x451ae9
call fcn.0044ca14
sub esp, 0x60
push ebx
push esi
xor esi, esi
mov dword [ebp - 0x14], esi
push esi
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x1c], 0xf
call fcn.004019d2
push str._r_n_r_n
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], esi
call fcn.0040162e
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
mov eax, dword [edi + 4]
cmp eax, esi
je 0x421c7a
push esi
push ebx
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x421c2b
cmp eax, esi
je 0x421c55
push dword [ebp - 0x18]
lea esi, [ebp - 0x34]
call fcn.004045e4
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x3c]
jb 0x421bfe
sub eax, dword [ebp - 0x3c]
push 0xffffffffffffffff
push eax
mov eax, esi
push eax
lea esi, [ebp - 0x6c]
call fcn.00402ccd
mov byte [ebp - 4], 2
or dword [ebp - 0x14], 2
lea ecx, [ebp - 0x50]
call fcn.004030bb
mov byte [ebp - 0xd], bl
test eax, eax
je 0x421c02
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], ebx
test byte [ebp - 0x14], 2
je 0x421c1a
and dword [ebp - 0x14], 0xfffffffd
push 0
push ebx
lea ecx, [ebp - 0x6c]
call fcn.004017a5
cmp byte [ebp - 0xd], 0
jne 0x421cae
xor esi, esi
jmp 0x421b9e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x421b9e
push dword [edi + 4]
push eax
push str.recv
push 8
push dword [0x468674]
call fcn.00429300
add esp, 0x14
cmp dword [ebp - 0x1c], 0x10
mov eax, dword [ebp - 0x30]
jae 0x421c61
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x20]
push str.ReceiveHttpHeader
push 8
push dword [0x468674]
call fcn.00429300
add esp, 0x14
mov ecx, dword [ebp + 8]
push 0x45842a
call fcn.0040162e
push esi
push ebx
lea ecx, [ebp - 0x50]
call fcn.004017a5
push esi
push ebx
lea ecx, [ebp - 0x34]
call fcn.004017a5
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x34]
push eax
call fcn.00401650
push 0
push ebx
lea ecx, [ebp - 0x50]
call fcn.004017a5
push 0
jmp 0x421c92

Function at 0x421cc9
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 0xc], esi
push edi
jle 0x421d36
mov eax, dword [ebx + 4]
cmp eax, esi
je 0x421d32
cmp esi, dword [esp + 0x10]
jge 0x421d32
mov ecx, dword [esp + 0x10]
push 0
sub ecx, esi
push ecx
mov ecx, dword [esp + 0x14]
add ecx, esi
push ecx
push eax
call dword [sym.imp.WS2_32.dll_send]
mov edi, eax
cmp edi, 0xffffffff
jne 0x421d0b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x421d16
mov eax, dword [ebx + 4]
add esi, edi
test eax, eax
jne 0x421cda
jmp 0x421d32
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.sendbytes_socket_error:__d_n
push 8
push dword [0x468674]
call fcn.00429300
add esp, 0x10
mov eax, esi
jmp 0x421d39
or eax, 0xffffffff
pop edi
pop esi
ret 8

Function at 0x421da0
Capabilities:
Create thread

Disassembly:
test eax, eax
je 0x421dc7
push eax
call fcn.0043e03b
push 0
push 0
push eax
push 0x421d40
push 0
push 0
call fcn.0043a95e
add esp, 0x1c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
ret
Function at 0x421f50
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x478
mov eax, dword [0x464630]
xor eax, esp
mov dword [esp + 0x474], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0x45a574
push eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], 0
call fcn.0043d78d
mov eax, dword [esp + 0x18]
add esp, 0xc
test eax, eax
jne 0x421fab
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x474]
xor ecx, esp
call fcn.0043a84e
mov esp, ebp
pop ebp
ret
push eax
push 0x400
lea ecx, [esp + 0x80]
push 1
push ecx
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0x67452301
mov dword [esp + 0x2c], 0xefcdab89
mov dword [esp + 0x30], 0x98badcfe
mov dword [esp + 0x34], 0x10325476
call fcn.0043e01e
add esp, 0x10
test eax, eax
je 0x422025
lea edx, [esp + 0x78]
push edx
lea esi, [esp + 0x14]
call fcn.00422b00
mov eax, dword [esp + 0x10]
push eax
push 0x400
lea ecx, [esp + 0x84]
push 1
push ecx
call fcn.0043e01e
add esp, 0x14
test eax, eax
jne 0x421ff7
lea eax, [esp + 0x10]
call fcn.00422c10
mov edx, dword [esp + 0xc]
push edx
call fcn.0043daa5
mov ecx, dword [esp + 0x480]
add esp, 4
pop edi
pop esi
xor ecx, esp
mov al, 1
call fcn.0043a84e
mov esp, ebp
pop ebp
ret

Function at 0x422250
Capabilities:
Get file version info

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
lea eax, [esp + 0xc]
xor ebx, ebx
push eax
push ebp
mov byte [esp + 0x13], bl
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [esp + 0xc], eax
cmp eax, ebx
jne 0x422286
pop ebp
xor al, al
pop ebx
add esp, 0x10
ret
push esi
push eax
call fcn.0043b693
mov ecx, dword [esp + 0x14]
add esp, 4
mov esi, eax
push esi
push ecx
push ebx
push ebp
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4222e4
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
push 0x458f9c
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4222e4
mov eax, dword [esp + 0x14]
movzx ecx, word [eax + 0xa]
movzx edx, word [eax + 8]
mov word [edi], cx
movzx ecx, word [eax + 0xe]
mov word [edi + 2], dx
movzx edx, word [eax + 0xc]
mov word [edi + 4], cx
mov word [edi + 6], dx
mov byte [esp + 0xf], 1
cmp esi, ebx
je 0x4222f1
push esi
call fcn.0043b75d
add esp, 4
mov al, byte [esp + 0xf]
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x422300
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x464630]
xor eax, esp
mov dword [esp + 0x210], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.0043ae00
add esp, 0xc
push 0x104
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x422359
xor al, al
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0043a84e
add esp, 0x214
ret
push edi
push str.kernel32.dll
lea eax, [esp + 0x10]
push 0x104
push eax
call fcn.0043ab78
lea ecx, [esp + 0x18]
push ecx
lea edi, [esp + 0x14]
call fcn.00422250
add esp, 0x10
pop edi
test al, al
je 0x422342
movzx ecx, word [esp + 4]
movzx edx, word [esp]
movzx eax, word [esp + 2]
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x210]
mov dword [esi + 4], edx
xor edx, edx
mov dword [esi + 8], eax
xor ecx, esp
mov dword [esi], 0x114
mov dword [esi + 0x10], 2
mov word [esi + 0x14], dx
mov al, 1
call fcn.0043a84e
add esp, 0x214
ret

Function at 0x4226f0
Capabilities:
Set file attributes

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea eax, [esi + 4]
xor edi, edi
push eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esp + 0x28]
xor ebp, ebp
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edi
mov dword [esi + 0x20], edx
mov eax, 0x465cb0
xor ecx, ecx
cmp dword [eax], edx
je 0x422736
add ecx, 0x10
add eax, 0x10
cmp ecx, 0x40
jb 0x422725
jmp 0x422747
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebp, dword [eax + 0xc]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push edi
push 0x80
push eax
push edi
mov edi, dword [esp + 0x34]
push ecx
push ebp
mov ecx, edi
call fcn.00406a65
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 0x1c], eax
mov ebx, 1
cmp eax, 0xffffffff
jne 0x4227da
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x422792
cmp ebx, 3
jge 0x4227e7
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4227af
cmp eax, 5
jne 0x422800
cmp ebx, 3
jge 0x4227e7
push 0x80
mov ecx, edi
call fcn.00406a65
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push 0
push 0x80
push edx
push 0
push eax
push ebp
mov ecx, edi
call fcn.00406a65
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
inc ebx
mov dword [esi + 0x1c], eax
cmp eax, 0xffffffff
je 0x422778
push 0xffffffffffffffff
push 0
push edi
lea ecx, [esi + 0x24]
call fcn.004017f0
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
test eax, eax
jne 0x4227e7
mov dword [esp + 0x18], 0xfffffffe
jmp 0x4227e7
Function at 0x422850
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push esi
push edi
mov esi, ecx
lea edi, [esi + 4]
push edi
or ebx, 0xffffffff
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x422882
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x422879
mov dword [eax], 0
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 0xc
mov edx, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x10]
push ecx
push eax
mov eax, dword [esi + 0x1c]
push edx
push eax
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4228b1
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
pop ecx
ret 0xc
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0xc]
test ecx, ecx
je 0x4228c2
mov dword [ecx], eax
add dword [esi + 0x40], eax
test eax, eax
jne 0x4228d2
pop edi
pop esi
mov eax, 0xfffffffd
pop ebx
pop ecx
ret 0xc
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov eax, ebx
pop ebx
pop ecx
ret 0xc

Function at 0x424410
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x451bfe
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x464630]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi + 4], 1
mov dword [esi + 8], 8
mov dword [esi + 0xc], 0xffffffff
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x14], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0x20], ecx
mov dword [esi + 0x18], edx
push 0xffffffffffffffff
lea ecx, [esi + 0x24]
mov dword [esi], vtable.t_taskMsgConditionEnd.0
push edi
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], edi
push eax
mov word [ecx + 4], dx
call fcn.004017f0
mov eax, dword [esp + 0x38]
push 0xffffffffffffffff
lea ecx, [esi + 0x40]
mov byte [esp + 0x1c], 1
push edi
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], edi
push eax
mov word [ecx + 4], dx
call fcn.004017f0
mov eax, dword [esp + 0x3c]
push 0xffffffffffffffff
lea ecx, [esi + 0x5c]
mov byte [esp + 0x1c], 2
push edi
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], edi
push eax
mov word [ecx + 4], dx
call fcn.004017f0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x20
Function at 0x424ae0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x451bc3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x464630]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi + 4], 1
mov dword [esi + 8], 0x1c
mov dword [esi + 0xc], 0xffffffff
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], 0
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x18], edx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x2c]
xor edx, edx
push 0xffffffffffffffff
lea ecx, [esi + 0x20]
mov dword [esi], vtable.t_taskMsgPingbackConditionEnd.0
push edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], 0
push eax
mov word [ecx + 4], dx
call fcn.004017f0
mov eax, dword [esp + 0x30]
xor edx, edx
push 0xffffffffffffffff
lea ecx, [esi + 0x3c]
mov byte [esp + 0x18], 1
push edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], 0
push eax
mov word [ecx + 4], dx
call fcn.004017f0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x18

Function at 0x427380
Capabilities:
Hash data with md5

Disassembly:
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x4287b0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x808
mov eax, dword [0x464630]
xor eax, esp
mov dword [esp + 0x804], eax
mov ecx, dword [esp + 0x80c]
push esi
lea eax, [esp + 0x814]
push eax
push ecx
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_wvsprintfW]
mov esi, eax
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [0x46680c]
lea ecx, [esi + esi]
push ecx
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x808]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0043a84e
add esp, 0x808
ret

Function at 0x428820
Capabilities:
Create process on windows
Print debug messages

Disassembly:
sub esp, 0x468
mov eax, dword [0x464630]
xor eax, esp
mov dword [esp + 0x464], eax
push esi
push edi
xor eax, eax
push 0x40e
push eax
lea ecx, [esp + 0x66]
push ecx
mov word [esp + 0x68], ax
call fcn.0043ae00
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
add esp, 0xc
push 0x455894
lea edx, [esp + 0x60]
push edx
call esi
push 0x466e28
lea eax, [esp + 0x60]
push eax
call esi
push 0x466e28
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
jbe 0x4289f1
push 0x466e28
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp word [edi*2 + 0x466e26], 0x5c
je 0x4288a5
push 0x458f9c
lea ecx, [esp + 0x60]
push ecx
call esi
mov edx, dword [str.crashrpt.exe]
push edx
lea eax, [esp + 0x60]
push eax
call esi
push 0x45588c
lea ecx, [esp + 0x60]
push ecx
call esi
push 0x466c20
lea edx, [esp + 0x60]
push edx
call esi
push 0x45588c
lea eax, [esp + 0x60]
push eax
call esi
mov ecx, dword [str.sogoupy]
push ecx
lea edx, [esp + 0x60]
push edx
call esi
push 0x45588c
lea eax, [esp + 0x60]
push eax
call esi
cmp byte [0x464004], 0
mov eax, 0x455888
jne 0x428904
mov eax, 0x455884
push eax
lea ecx, [esp + 0x60]
push ecx
call esi
push 0x455894
lea edx, [esp + 0x60]
push edx
call esi
push 0x5c
push 0x466a18
call fcn.0043ab4c
mov edi, eax
add esp, 8
test edi, edi
je 0x428950
push 0x45587c
lea eax, [esp + 0x60]
push eax
call esi
add edi, 2
push edi
lea ecx, [esp + 0x60]
push ecx
call esi
push 0x455894
lea edx, [esp + 0x60]
push edx
call esi
push 0x5c
push 0x466810
call fcn.0043ab4c
mov edi, eax
add esp, 8
test edi, edi
je 0x428988
push 0x45587c
lea eax, [esp + 0x60]
push eax
call esi
add edi, 2
push edi
lea ecx, [esp + 0x60]
push ecx
call esi
push 0x455894
lea edx, [esp + 0x60]
push edx
call esi
push 0x44
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.0043ae00
add esp, 0xc
cmp byte [0x464004], 0
mov dword [esp + 0x18], 0x44
je 0x4289bc
mov ecx, 5
mov dword [esp + 0x44], 1
mov word [esp + 0x48], cx
xor eax, eax
lea edx, [esp + 8]
push edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x7c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [esp + 0x46c]
pop edi
pop esi
xor ecx, esp
call fcn.0043a84e
add esp, 0x468
ret
Function at 0x4297d0
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
push edi
lea eax, [esp + 8]
mov edi, ecx
push eax
mov ecx, esi
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 1
call fcn.00423570
push eax
lea ecx, [edi + 0x10]
call fcn.0042a8e0
test al, al
jne 0x42980f
pop edi
or eax, 0xffffffff
pop esi
add esp, 8
ret 4
cmp dword [esp + 0xc], 0
je 0x429804
mov ecx, esi
call fcn.00423540
cmp eax, 0xffffffff
je 0x429804
push ebx
push ebp
mov ecx, esi
call fcn.00423540
mov ecx, esi
test eax, eax
jne 0x429841
call fcn.00423ed0
mov ecx, esi
mov edi, eax
call fcn.00425290
jmp 0x42984f
call fcn.004234b0
mov ecx, esi
mov edi, eax
call fcn.004234c0
mov ebp, dword [esp + 0x10]
push 0x42a280
mov ecx, esi
mov ebx, eax
call fcn.00423560
push eax
push ebx
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFileEx]
neg eax
pop ebp
sbb eax, eax
pop ebx
neg eax
pop edi
dec eax
pop esi
add esp, 8
ret 4

Function at 0x429be0
Capabilities:
Create pipe

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
xor bl, bl
cmp dword [esi], 0xffffffff
push edi
mov edi, ecx
je 0x429bf3
mov bl, 1
mov eax, 0x40000003
test bl, bl
jne 0x429c01
mov eax, 0x400c0003
mov ebp, dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push 0
push 0
push 0x2000
push 0x2000
push 0xff
push 6
push eax
mov eax, dword [edi]
push eax
call ebp
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x429c5c
test bl, bl
jne 0x429c53
mov ecx, dword [edi]
push 0
push 0
push 0x2000
push 0x2000
push 0xff
push 0
push 0x40000003
push ecx
call ebp
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x429c5c
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
mov edx, dword [esi]
push 0x10000000
push 6
push edx
call fcn.00422460
mov eax, dword [esi]
push 6
push eax
call fcn.00422500
mov ecx, dword [esp + 0x28]
mov edx, dword [esi]
add esp, 0x14
push ecx
push edx
mov ecx, edi
call fcn.00429880
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x42a170
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45023b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x464630]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x24]
mov dword [esi], eax
xor edi, edi
push edx
lea eax, [esp + 0x13]
lea ecx, [esi + 0x10]
push eax
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
call fcn.00429e70
push edi
mov dword [esi + 0x30], edi
push edi
lea ecx, [esi + 0x38]
mov dword [esp + 0x24], edi
mov dword [esi + 0x34], edi
call fcn.00429d00
mov dword [esi + 0x80], edi
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 4
Function at 0x42a460
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
push edi
lea eax, [esp + 8]
mov edi, ecx
push eax
mov ecx, esi
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 1
call fcn.00423570
push eax
lea ecx, [edi + 0x10]
call fcn.0042a8e0
test al, al
je 0x42a4db
cmp dword [esp + 0xc], 0
je 0x42a4db
push ebx
mov ebx, dword [esp + 0xc]
push 0x42a410
mov ecx, esi
call fcn.00423560
push eax
mov ecx, esi
call fcn.00425290
push eax
mov ecx, esi
call fcn.00423ed0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFileEx]
pop ebx
test eax, eax
je 0x42a4cc
inc dword [edi + 0x34]
neg eax
sbb eax, eax
neg eax
pop edi
dec eax
pop esi
add esp, 8
ret 4
test esi, esi
je 0x42a4ef
mov ecx, esi
call fcn.00423550
push esi
call fcn.0043a3dd
add esp, 4
pop edi
xor eax, eax
pop esi
add esp, 8
ret 4