joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46f894
Capabilities:
Terminate process

Disassembly:
push ecx
push ecx
push ebx
push ebp
mov ebx, ecx
mov ebp, edx
push esi
push edi
test ebx, ebx
jne 0x46f8b5
cmp dword [esp + 0x24], ecx
je 0x46f8ae
push ebp
call dword [esp + 0x28]
pop ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
mov edi, 0x18cf
push edi
push 0x762568
push 1
push 0x18
call fcn.005ce020
mov esi, eax
add esp, 0x10
test esi, esi
je 0x46f9c6
push 6
xor eax, eax
mov edi, esi
pop ecx
rep stosd dword es:[edi], eax
mov dword [esi + 8], ebp
cmp dword [esp + 0x1c], eax
je 0x46f8fc
call fcn.00470e8d
mov ecx, eax
mov edi, edx
mov eax, dword [esp + 0x1c]
cdq
add ecx, eax
adc edi, edx
jmp 0x46f90d
xorps xmm0, xmm0
movlpd qword [esp + 0x10], xmm0
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x24]
mov dword [esi], ecx
mov dword [esi + 4], edi
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x2c]
push 0xffffffffffffffff
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebx + 0x2c]
mov edi, dword [ecx + 0xc]
test edi, edi
jne 0x46f940
mov edx, esi
call fcn.00470071
jmp 0x46f98e
mov edx, dword [esi]
xor ebp, ebp
mov ecx, dword [esi + 4]
test edi, edi
je 0x46f94f
mov eax, dword [edi]
jmp 0x46f951
mov eax, ebp
cmp ecx, dword [eax + 4]
jl 0x46f965
jg 0x46f95c
cmp edx, dword [eax]
jb 0x46f965
mov edi, dword [edi + 8]
test edi, edi
jne 0x46f94b
jmp 0x46f972
mov edx, esi
mov ecx, edi
call fcn.0046ff8c
test edi, edi
jne 0x46f97e
mov ecx, dword [ebx + 0x2c]
mov edx, esi
call fcn.00470071
jmp 0x46f996
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x46f98a
mov ebp, dword [eax]
cmp ebp, esi
jne 0x46f996
mov ecx, dword [ebx + 0xc]
call fcn.0046c589
mov edx, dword [esi + 4]
mov eax, dword [ebx + 0x20]
mov ecx, dword [esi]
cmp dword [ebx + 0x24], edx
jg 0x46f9b1
jl 0x46f9a9
cmp eax, ecx
ja 0x46f9b1
and eax, dword [ebx + 0x24]
cmp eax, 0xffffffff
jne 0x46f9b7
mov dword [ebx + 0x20], ecx
mov dword [ebx + 0x24], edx
mov ecx, dword [ebx + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
jmp fcn.004700a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edx, 0x762584
push esi
push edi
xor ecx, ecx
call fcn.0047145c
add esp, 0xc
push edi
push 0x7625a0
push 0x7625bc
call fcn.004010b4
add esp, 0xc
push esi
call fcn.005aae60
int3
Function at 0x46fce4
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, 0x19d1
mov edi, ecx
push ebx
push 0x7625e0
push 1
push 0x38
call fcn.005ce020
mov esi, eax
add esp, 0x10
test esi, esi
je 0x46fd4d
push 0x38
push 0
push esi
call fcn.0059de40
add esp, 0xc
mov dword [esi + 0x14], str.ILibLifeTime
xor ecx, ecx
call fcn.0046febf
xor ecx, ecx
mov dword [esi + 0x2c], eax
mov dword [esi], 0x46f9fd
mov dword [esi + 8], 0x46fc89
mov dword [esi + 0xc], edi
call fcn.0046febf
mov edx, esi
mov dword [esi + 0x28], eax
mov ecx, edi
call fcn.0046c508
pop edi
mov eax, esi
pop esi
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edx, 0x7625fc
push esi
push ebx
xor ecx, ecx
call fcn.0047145c
push ebx
push 0x762618
push 0x762634
call fcn.004010b4
add esp, 0x18
push esi
call fcn.005aae60
int3

Function at 0x470170
Capabilities:
Terminate process

Disassembly:
push esi
push edi
mov edi, 0x1c09
push edi
push 0x762684
push 1
push 0xc
call fcn.005ce020
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4701c6
mov edi, esi
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov ecx, dword [esi]
mov dword [esi + 4], 0x4700fe
test ecx, ecx
je 0x4701ad
push 0
xor edx, edx
call fcn.004708fd
pop ecx
push 0
mov edx, 0x4700db
mov ecx, 0x100
call fcn.004705bb
pop ecx
mov dword [esi], eax
mov eax, esi
pop edi
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edx, 0x7626a0
push esi
push edi
xor ecx, ecx
call fcn.0047145c
push edi
push 0x7626bc
push 0x7626d8
call fcn.004010b4
add esp, 0x18
push esi
call fcn.005aae60
int3

Function at 0x470362
Capabilities:
Terminate process

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, 0x1c8e
mov ebx, edx
push edi
push 0x7626fc
push 1
push 0x18
mov ebp, ecx
call fcn.005ce020
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4703f9
push 6
xor eax, eax
mov edi, esi
pop ecx
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x14]
and dword [esi + 0x14], eax
mov dword [esi + 8], ebp
mov dword [esi + 0x10], edi
test edi, edi
jle 0x4703f2
mov ebp, 0x1c95
push ebp
push 0x762774
push 1
push edi
call fcn.005ce020
add esp, 0x10
mov dword [esi + 0xc], eax
test eax, eax
jne 0x4703e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edx, 0x762790
push esi
push ebp
xor ecx, ecx
call fcn.0047145c
push ebp
push 0x7627ac
push 0x7627c8
jmp 0x47041e
push edi
push ebx
mov edx, edi
mov ecx, eax
call section..text
pop ecx
pop ecx
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edx, 0x762718
push esi
push edi
xor ecx, ecx
call fcn.0047145c
push edi
push 0x762734
push 0x762750
call fcn.004010b4
add esp, 0x18
push esi
call fcn.005aae60
int3
Function at 0x470a85
Capabilities:
Terminate process

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
push edi
push 1
push dword [esp + 0x20]
mov esi, edx
xor edx, edx
push esi
call fcn.0046dd77
mov ecx, dword [esp + 0x34]
mov ebp, eax
push 0x1ee0
push 0x762808
push 1
mov edi, dword [ebp + 8]
dec edi
mov dword [esp + 0x2c], ebp
dec ecx
imul edi, ecx
add edi, esi
lea eax, [edi + 1]
push eax
mov dword [esp + 0x2c], eax
call fcn.005ce020
mov ebx, eax
add esp, 0x1c
test ebx, ebx
je 0x470b32
mov byte [ebx + edi], 0
xor edi, edi
mov esi, dword [ebp]
test esi, esi
je 0x470b22
mov ebp, dword [esp + 0x28]
push dword [esi + 4]
mov edx, dword [esp + 0x14]
lea ecx, [ebx + edi]
push dword [esi]
sub edx, edi
call section..text
add edi, dword [esi + 4]
cmp dword [esi + 8], 0
pop ecx
pop ecx
je 0x470b17
mov edx, dword [esp + 0x10]
lea ecx, [ebx + edi]
push ebp
push dword [esp + 0x28]
sub edx, edi
call section..text
pop ecx
pop ecx
add edi, ebp
mov esi, dword [esi + 8]
test esi, esi
jne 0x470ae2
mov ebp, dword [esp + 0x14]
mov ecx, ebp
call fcn.0046df18
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
pop ecx
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0x1ee0
push esi
push edi
mov edx, 0x762824
xor ecx, ecx
call fcn.0047145c
push edi
push 0x762840
push 0x76285c
call fcn.004010b4
add esp, 0x18
push esi
call fcn.005aae60
int3

Function at 0x470b6b
Capabilities:
Terminate process

Disassembly:
push ebx
push ebp
push esi
mov esi, edx
mov ebx, ecx
push edi
test esi, esi
jns 0x470b8e
test ebx, ebx
jne 0x470b7f
xor esi, esi
jmp 0x470b8e
push 0x1000
push ebx
call fcn.005d06e0
pop ecx
pop ecx
mov esi, eax
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
test edi, edi
jns 0x470bb1
test ebp, ebp
jne 0x470ba2
xor edi, edi
jmp 0x470bb1
push 0x1000
push ebp
call fcn.005d06e0
pop ecx
pop ecx
mov edi, eax
push 0x1f43
push 0x762994
lea eax, [edi + 1]
add eax, esi
push 1
push eax
call fcn.005ce020
add esp, 0x10
mov dword [esp + 0x18], eax
test eax, eax
je 0x470c01
push esi
lea edx, [edi + 1]
mov ecx, eax
push ebx
add edx, esi
call section..text
add esi, dword [esp + 0x20]
lea edx, [edi + 1]
push edi
push ebp
mov ecx, esi
call section..text
mov eax, dword [esp + 0x28]
add esp, 0x10
mov byte [esi + edi], 0
pop edi
pop esi
pop ebp
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0x1f43
push esi
push edi
mov edx, 0x7629b0
xor ecx, ecx
call fcn.0047145c
push edi
push 0x7629cc
push 0x7629e8
call fcn.004010b4
add esp, 0x18
push esi
call fcn.005aae60
int3
Function at 0x470c3a
Capabilities:
Terminate process

Disassembly:
push ebx
push ebp
push esi
mov esi, edx
push edi
mov edi, ecx
test esi, esi
jns 0x470c5d
test edi, edi
jne 0x470c4e
xor esi, esi
jmp 0x470c5d
push 0x1000
push edi
call fcn.005d06e0
pop ecx
pop ecx
mov esi, eax
push 0x1f4d
push 0x762a0c
lea ebp, [esi + 1]
push 1
push ebp
call fcn.005ce020
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x470c93
push esi
push edi
mov edx, ebp
mov ecx, ebx
call section..text
pop ecx
pop ecx
pop edi
mov byte [ebx + esi], 0
mov eax, ebx
pop esi
pop ebp
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0x1f4d
push esi
push edi
mov edx, 0x762a28
xor ecx, ecx
call fcn.0047145c
push edi
push 0x762a44
push 0x762a60
call fcn.004010b4
add esp, 0x18
push esi
call fcn.005aae60
int3

Function at 0x470ccc
Capabilities:
Read file on windows
Terminate process

Disassembly:
push ecx
and dword [esp], 0
lea eax, [esp]
push ebx
push 0x762b74
push edx
push eax
mov ebx, ecx
call fcn.005cad70
add esp, 0xc
cmp dword [esp + 4], 0
jne 0x470cf4
and dword [ebx], 0
xor eax, eax
jmp 0x470d61
push ebp
push esi
push edi
push 2
push 0
push dword [esp + 0x18]
call fcn.005ad120
push dword [esp + 0x1c]
call fcn.005abb70
push 0
push 0
push dword [esp + 0x28]
mov esi, eax
call fcn.005ad120
mov ebp, 0x1f8a
lea eax, [esi + 1]
push ebp
push 0x762b78
push 1
push eax
call fcn.005ce020
mov edi, eax
add esp, 0x2c
test edi, edi
je 0x470d64
push dword [esp + 0x10]
push esi
push 1
push edi
call fcn.005d0dc0
mov esi, eax
mov byte [edi + esi], 0
push dword [esp + 0x20]
call fcn.005ac520
add esp, 0x14
mov dword [ebx], edi
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edx, 0x762b94
push esi
push ebp
xor ecx, ecx
call fcn.0047145c
push ebp
push 0x762bb0
push 0x762bcc
call fcn.004010b4
add esp, 0x18
push esi
call fcn.005aae60
int3

Function at 0x470d98
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push esi
push 0x762bf0
push ecx
push eax
mov esi, edx
call fcn.005cad70
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x470dd4
push dword [ebp - 4]
push dword [ebp + 8]
push 1
push esi
call fcn.005ca2c0
push dword [ebp - 4]
call fcn.005ac520
add esp, 0x14
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x470dd9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push 0x762bf4
push dword [0x76a578]
push eax
call fcn.005cad70
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x470e1b
push dword [ebp - 4]
push dword [ebp + 8]
push 1
push 0x76b080
call fcn.005ca2c0
push dword [ebp - 4]
call fcn.005ac520
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x471216
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x6b0d44]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov dword [ebp - 0x18], edx
xor ebx, ebx
xor edx, edx
mov dword [ebp - 8], ebx
push edi
mov edi, dword [ebp + 8]
inc edx
mov dword [ebp - 0x1c], edx
mov esi, ecx
mov dword [ebp - 0xc], esi
test edi, edi
je 0x47124a
push 7
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
push 8
xor eax, eax
lea edi, [ebp - 0x3c]
cmp byte [esi], 0x5b
pop ecx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], 6
jne 0x471294
push 0x1000
push esi
call fcn.005d06e0
pop ecx
pop ecx
mov edi, eax
call fcn.0059c6e0
mov esi, esp
lea eax, [edi - 2]
push eax
mov eax, dword [ebp - 0xc]
mov edx, edi
inc eax
mov ecx, esi
push eax
call section..text
pop ecx
pop ecx
mov byte [esi + edi - 2], bl
test esi, esi
jne 0x47129f
mov edi, ebx
mov dword [ebp - 0xc], ebx
jmp 0x4712ba
push ebx
push ebx
push 0xffffffffffffffff
push esi
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea edi, [eax*2 + 2]
mov dword [ebp - 0xc], edi
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x4712c6
mov dword [ebp - 0x10], ebx
jmp 0x4712e1
push ebx
push ebx
push 0xffffffffffffffff
push eax
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x10], eax
test edi, edi
jne 0x4712ea
mov dword [ebp - 0x14], ebx
jmp 0x4712f4
mov eax, edi
call fcn.0059c6e0
mov dword [ebp - 0x14], esp
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4712ff
mov edi, ebx
jmp 0x471306
call fcn.0059c6e0
mov edi, esp
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x471320
push dword [ebp - 0xc]
push eax
push 0xffffffffffffffff
push esi
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test edi, edi
je 0x47133b
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
push eax
push edi
push 0xffffffffffffffff
push edx
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x14]
push edi
push eax
call dword [sym.imp.WS2_32.dll_GetAddrInfoW]
mov esi, eax
test esi, esi
je 0x471366
cmp dword [ebp - 8], ebx
je 0x471362
push dword [ebp - 8]
call dword [sym.imp.WS2_32.dll_FreeAddrInfoW]
mov eax, esi
jmp 0x4713ba
mov esi, dword [ebp - 8]
test esi, esi
jne 0x471372
or eax, 0xffffffff
jmp 0x4713ba
xor eax, eax
inc eax
test eax, eax
jle 0x4713af
cmp dword [esi + 4], 2
je 0x471385
cmp dword [esi + 4], 0x17
jne 0x4713a8
push dword [esi + 0x10]
mov edi, dword [ebp + 8]
mov ecx, edi
push dword [esi + 0x18]
push 0x1c
pop edx
call section..text
mov eax, dword [ebp - 0x1c]
add edi, 0x1c
inc ebx
mov dword [ebp + 8], edi
pop ecx
dec eax
pop ecx
mov dword [ebp - 0x1c], eax
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x471375
push dword [ebp - 8]
call dword [sym.imp.WS2_32.dll_FreeAddrInfoW]
mov eax, ebx
lea esp, [ebp - 0x48]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059b3f0
mov esp, ebp
pop ebp
ret
Function at 0x471589
Capabilities:
Terminate process

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, 0x8d
mov ebx, edx
push edi
push 0x762fcc
push 1
push 0xc
mov ebp, ecx
call fcn.005ce020
mov esi, eax
add esp, 0x10
test esi, esi
je 0x471611
mov edi, esi
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, 0x92
mov dword [esi + 4], ebx
push edi
push 0x763050
push 1
push ebx
call fcn.005ce020
add esp, 0x10
mov dword [esi], eax
test eax, eax
jne 0x4715f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea esi, [edi + 0x6c]
mov edx, 0x763070
push esi
push edi
xor ecx, ecx
call fcn.0047145c
push edi
push 0x763090
push 0x7630b0
jmp 0x471636
push ebx
push ebp
mov edx, ebx
mov ecx, eax
call section..text
and dword [esi + 8], 0
mov eax, esi
pop ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edx, 0x762fec
push esi
push edi
xor ecx, ecx
call fcn.0047145c
push edi
push 0x76300c
push 0x76302c
call fcn.004010b4
add esp, 0x18
push esi
call fcn.005aae60
int3

Function at 0x471c0d
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [esp + 0xc]
xor eax, eax
push eax
push eax
push esi
push 0x471bc1
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x28], eax
pop esi
ret

Function at 0x471c52
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, 0x22b
mov edi, ecx
push ebx
push 0x7630f4
push 1
push 0x34
call fcn.005ce020
mov esi, eax
add esp, 0x10
test esi, esi
je 0x471cea
push 0x34
xor ebx, ebx
push ebx
push esi
call fcn.0059de40
add esp, 0xc
mov dword [esi + 0x14], str.ILibProcessPipe_Manager
mov dword [esi + 0xc], edi
push 4
pop ecx
call fcn.0046febf
push ebx
push ebx
push 1
push ebx
mov dword [esi + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, edi
mov dword [esi + 0x24], eax
call fcn.00471556
push esi
test eax, eax
jne 0x471cc0
push ebx
mov edx, fcn.00471c0d
mov ecx, edi
call fcn.0046c24f
jmp 0x471cc6
push edi
call fcn.00471c0d
pop ecx
pop ecx
mov dword [esi + 8], 0x471c29
mov edx, esi
mov ecx, edi
cmp dword [edi + 4], ebx
jne 0x471cdf
call fcn.0046c508
jmp 0x471ce4
call fcn.0046c2f5
pop edi
mov eax, esi
pop esi
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edx, 0x763114
push esi
push ebx
xor ecx, ecx
call fcn.0047145c
push ebx
push 0x763134
push 0x763154
call fcn.004010b4
add esp, 0x18
push esi
call fcn.005aae60
int3
Function at 0x471e2d
Capabilities:
Terminate process

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
xor ebp, ebp
push edi
push ebp
push esi
push 0x280
push 0x763190
push 1
push 0x70
pop eax
mov edi, ecx
test esi, esi
mov ebx, edx
lea ecx, [eax + 0x10]
cmovg eax, ecx
add eax, esi
push eax
call fcn.005ce020
add esp, 0x10
mov ecx, eax
push 0x60
pop edx
call fcn.0046bf0b
cmp dword [esp + 0x1c], 1
mov esi, eax
pop ecx
pop ecx
mov dword [esi + 0x18], edi
jne 0x471ea8
lea eax, [esp + 0x18]
push eax
push ebp
push 4
pop edx
push 0x14
pop ecx
call fcn.0046c097
pop ecx
pop ecx
push ebp
push ebp
push 1
push ebp
mov dword [esi + 0x44], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [esi + 0x44]
mov dword [ecx + 0x10], eax
test eax, eax
je 0x471eb5
mov eax, dword [esp + 0x18]
mov dword [eax], esi
pop edi
mov dword [esi + 0x3c], ebx
mov eax, esi
mov dword [esi + 0x40], ebx
pop esi
pop ebp
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edi, 0xfe
mov esi, 0x288
push edi
push esi
mov edx, 0x7631b0
xor ecx, ecx
call fcn.0047145c
push esi
push 0x7631d0
push 0x7631f0
call fcn.004010b4
add esp, 0x18
push edi
call fcn.005aae60
int3
Function at 0x471ef6
Capabilities:
Create pipe
Terminate process

Disassembly:
sub esp, 0x110
mov eax, dword [0x6b0d44]
xor eax, esp
mov dword [esp + 0x10c], eax
mov edx, dword [esp + 0x118]
push ebx
push ebp
push esi
push edi
xor ebp, ebp
mov esi, ecx
push ebp
push edx
push 0x2a4
push 0x763214
push 1
push 0x70
pop eax
test edx, edx
mov edi, ebp
lea ecx, [eax + 0x10]
cmovg eax, ecx
add eax, edx
push eax
call fcn.005ce020
add esp, 0x10
mov ecx, eax
push 0x60
pop edx
call fcn.0046bf0b
mov ebx, eax
pop ecx
pop ecx
mov dword [ebx + 0x18], esi
xor esi, esi
mov dword [ebx + 0x28], ebp
inc esi
mov dword [esp + 0x10], 0xc
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebp
push edi
push ebx
push str..pipe_p_u
lea eax, [esp + 0x28]
push 0xff
push eax
call fcn.0040112a
add esp, 0x14
lea eax, [esp + 0x10]
inc edi
push eax
push ebp
mov eax, 0x1000
push eax
push eax
push esi
push ebp
push 0x40080001
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov dword [ebx + 0x3c], eax
cmp eax, 0xffffffff
je 0x472089
cmp eax, 5
je 0x471f66
push 0x2b4
push 0x7632a8
push esi
push 0x14
call fcn.005ce020
mov edi, eax
add esp, 0x10
mov dword [ebx + 0x44], edi
test edi, edi
je 0x4720b5
xor eax, eax
stosd dword es:[edi], eax
push ebp
push ebp
push esi
stosd dword es:[edi], eax
push ebp
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [ebx + 0x44]
mov dword [ecx + 0x10], eax
test eax, eax
jne 0x47201c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0x2b6
push esi
push edi
mov edx, 0x76332c
xor ecx, ecx
call fcn.0047145c
push edi
push 0x76334c
push 0x76336c
jmp 0x4720df
push ebp
push 0x80
push 3
lea eax, [esp + 0x1c]
push eax
push ebp
push 0x40000000
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebx + 0x40], eax
cmp eax, 0xffffffff
jne 0x47206e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0x2b9
push esi
push edi
mov edx, 0x763390
xor ecx, ecx
call fcn.0047145c
push edi
push 0x7633b0
push 0x7633d0
jmp 0x4720df
mov ecx, dword [esp + 0x11c]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0059b3f0
add esp, 0x110
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0x2b1
push esi
push edi
mov edx, 0x763244
xor ecx, ecx
call fcn.0047145c
push edi
push 0x763264
push 0x763284
jmp 0x4720df
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0x2b4
push esi
push edi
mov edx, 0x7632c8
xor ecx, ecx
call fcn.0047145c
push edi
push 0x7632e8
push 0x763308
call fcn.004010b4
add esp, 0x18
push esi
call fcn.005aae60
int3
Function at 0x472d3f
Capabilities:
Create thread
Read file on windows
Terminate process

Disassembly:
push ebx
push ebp
push esi
push edi
push 0x632
xor ebp, ebp
mov ebx, edx
push 0x763538
inc ebp
mov edi, ecx
push ebp
push ebx
call fcn.005ce020
mov ecx, eax
add esp, 0x10
mov dword [edi], ecx
test ecx, ecx
je 0x472dd3
mov eax, dword [esp + 0x14]
xor esi, esi
mov dword [edi + 0x24], eax
mov eax, dword [esp + 0x18]
mov dword [edi + 0x2c], eax
mov eax, dword [esp + 0x1c]
mov dword [edi + 4], ebx
mov dword [edi + 0x30], eax
cmp dword [edi + 0x44], esi
je 0x472db1
push dword [edi + 0x44]
mov dword [edi + 0x4c], ebp
push esi
push ebx
push ecx
push dword [edi + 0x3c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [edi + 0x44]
mov ecx, dword [edi + 0x18]
push 0x472704
push edi
mov edx, dword [edx + 0x10]
push esi
call fcn.00471754
add esp, 0xc
jmp 0x472dce
push esi
push ebp
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push esi
push esi
push edi
push 0x472bf8
push esi
push esi
mov dword [edi + 0x38], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebp
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0x632
push esi
push edi
mov edx, 0x763558
xor ecx, ecx
call fcn.0047145c
push edi
push str...microstackILibProcessPipe.c
push 0x763598
call fcn.004010b4
add esp, 0x18
push esi
call fcn.005aae60
int3

Function at 0x472fe8
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
push 0xfffffffffffffffc
pop edi
test esi, esi
je 0x4730cb
push ebp
xor ebp, ebp
cmp dword [esi + 0x20], ebp
jne 0x47300c
xor ecx, ecx
call fcn.0046febf
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x20]
push 0xffffffffffffffff
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x20]
cmp dword [eax + 0xc], ebp
je 0x47303a
mov edx, dword [esp + 0x14]
push ecx
mov ecx, ebx
call fcn.00471589
pop ecx
mov ecx, dword [esi + 0x20]
mov edx, eax
call fcn.00470071
jmp 0x473095
push dword [esi + 0x44]
push ebp
push dword [esp + 0x1c]
push ebx
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x473056
xor edi, edi
inc edi
jmp 0x473095
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x47309f
mov edx, dword [esp + 0x14]
mov edi, ebp
push ecx
mov ecx, ebx
call fcn.00471589
mov ecx, dword [esi + 0x20]
mov edx, eax
call fcn.00470071
mov edx, dword [esi + 0x44]
mov ecx, dword [esi + 0x18]
mov dword [esp], 0x4728b1
push esi
mov edx, dword [edx + 0x10]
push ebp
call fcn.00471754
add esp, 0xc
mov ecx, dword [esi + 0x20]
call fcn.004700a7
jmp 0x4730ca
mov ecx, dword [esi + 0x20]
call fcn.004700a7
cmp dword [esi + 0x28], ebp
je 0x4730c3
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x4730be
mov edx, dword [esi + 0x44]
mov edx, dword [edx + 0x10]
call fcn.004716ca
push esi
call dword [esi + 0x28]
pop ecx
mov ecx, esi
call fcn.00471d1e
pop ebp
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x473659
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x48
mov eax, dword [0x6b0d44]
xor eax, esp
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x58]
push ebx
mov ebx, dword [esp + 0x54]
push ebp
push esi
push edi
push 2
mov edi, ecx
mov dword [esp + 0x14], edx
push 0
push edi
mov dword [esp + 0x20], eax
call fcn.005ad120
mov eax, dword [esp + 0x68]
add esp, 0xc
mov ebp, dword [esp + 0x64]
add eax, 0x3c
mov esi, dword [sym.imp.WS2_32.dll_htonl]
add eax, ebp
push eax
call esi
push dword [esp + 0x5c]
mov dword [esp + 0x1c], eax
call esi
push ebp
mov dword [esp + 0x20], eax
call esi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
push 0x30
test eax, eax
je 0x4736cf
pop edx
push edx
push eax
lea ecx, [esp + 0x2c]
call section..text
pop ecx
pop ecx
jmp 0x4736de
lea eax, [esp + 0x28]
push 0
push eax
call fcn.0059de40
add esp, 0xc
push edi
push 0x3c
lea eax, [esp + 0x20]
push 1
push eax
call fcn.005ca2c0
push edi
push dword [esp + 0x70]
push 1
push dword [esp + 0x2c]
call fcn.005ca2c0
push edi
call fcn.005abb70
cdq
add esp, 0x24
mov dword [esp + 0x10], edx
mov esi, eax
test ebx, ebx
je 0x47371e
push edi
push ebp
push 1
push ebx
call fcn.005ca2c0
add esp, 0x10
push edi
call fcn.005ac300
mov edx, dword [esp + 0x14]
mov eax, esi
pop ecx
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0059b3f0
add esp, 0x48
ret