joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ae300
Capabilities:
Get local ipv4 addresses
Terminate process

Disassembly:
sub esp, 8
push ebp
push esi
push edi
push 0x178
mov ebp, ecx
mov dword [esp + 0x14], 0x178
xor edi, edi
call fcn.0058d200
mov esi, eax
add esp, 4
test esi, esi
je 0x4ae403
lea eax, [esp + 0x10]
push eax
push esi
push edi
push 0x2a
push 0x17
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
cmp eax, 0x6f
jne 0x4ae35e
push esi
call fcn.0058bf82
add esp, 4
push dword [esp + 0x10]
call fcn.0058d200
mov esi, eax
add esp, 4
test esi, esi
je 0x4ae444
lea eax, [esp + 0x10]
push eax
push esi
push 0
push 0x2a
push 0x17
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
test eax, eax
je 0x4ae386
push esi
call fcn.0058bf82
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 8
ret
mov eax, esi
test esi, esi
je 0x4ae3aa
nop dword [eax]
cmp dword [eax + 0x34], 0
je 0x4ae3a3
test byte [eax + 0x38], 0x18
jne 0x4ae3a3
cmp dword [eax + 0x44], 1
jne 0x4ae3a3
inc edi
mov eax, dword [eax + 8]
test eax, eax
jne 0x4ae390
lea eax, [edi*4]
push eax
call fcn.0058d200
mov edx, eax
add esp, 4
mov dword [ebp], edx
test edx, edx
je 0x4ae485
mov ecx, esi
test esi, esi
je 0x4ae3f1
nop dword [eax]
cmp dword [ecx + 0x34], 0
je 0x4ae3ea
test byte [ecx + 0x38], 0x18
jne 0x4ae3ea
cmp dword [ecx + 0x44], 1
jne 0x4ae3ea
mov eax, dword [ecx + 4]
mov dword [edx], eax
add edx, 4
mov ecx, dword [ecx + 8]
test ecx, ecx
jne 0x4ae3d0
push esi
call fcn.0058bf82
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 8
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x2e6
mov edx, 0x61c29c
xor ecx, ecx
call fcn.004b47e0
add esp, 0xc
push 0x2e6
push 0x61c2b8
push 0x61c2d4
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.00587d2d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x2ea
mov edx, 0x61c2f8
xor ecx, ecx
call fcn.004b47e0
add esp, 0xc
push 0x2ea
push 0x61c314
push 0x61c330
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.00587d2d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x302
mov edx, 0x61c354
xor ecx, ecx
call fcn.004b47e0
add esp, 0xc
push 0x302
push 0x61c370
push 0x61c38c
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.00587d2d
int3
Function at 0x4ae4d0
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
test esi, esi
je 0x4ae547
mov edi, dword [esp + 0x10]
xor eax, eax
cmp eax, edi
sbb eax, eax
and eax, 0x10
add eax, 0x10
add eax, ebx
add eax, edi
push eax
push 0
push esi
call fcn.005869c0
mov dword [esi], ebx
lea edx, [esi + 0x10]
mov dword [esi + 4], edi
add esp, 0xc
mov eax, dword [0x61c4d0]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0xc], eax
test edi, edi
je 0x4ae541
cmp dword [edx - 0xc], 0
jbe 0x4ae523
mov eax, dword [edx - 0x10]
add eax, edx
jmp 0x4ae528
mov eax, 0xfffffff0
mov dword [eax], edi
mov dword [eax + 4], 0
mov ecx, dword [0x61c4d8]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], 2
pop edi
pop esi
mov eax, edx
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x46d
mov edx, 0x61c474
xor ecx, ecx
call fcn.004b47e0
add esp, 0xc
push 0x46d
push 0x61c490
push 0x61c4ac
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.00587d2d
int3

Function at 0x4ae6a0
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, edx
mov ebp, ecx
lea ebx, [edi + 0x10]
push ebx
call fcn.0058d200
mov esi, eax
add esp, 4
test esi, esi
je 0x4ae705
push ebx
push 0
push esi
call fcn.005869c0
add esp, 0xc
mov dword [esi], edi
mov dword [esi + 4], 0
lea edx, [esi + 0x10]
mov eax, dword [0x61c4d0]
mov dword [esi + 8], eax
push 0x4ae660
mov dword [esi + 0xc], 0
mov ecx, dword [ebp + 0x2e4]
push 0x4ae660
push 0
call fcn.004b2450
add esp, 0xc
lea eax, [esi + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x46d
mov edx, 0x61c474
xor ecx, ecx
call fcn.004b47e0
add esp, 0xc
push 0x46d
push 0x61c490
push 0x61c4ac
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.00587d2d
int3

Function at 0x4ae770
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, edx
xor eax, eax
mov ebp, ecx
test edi, edi
mov ecx, 4
cmovg eax, ecx
lea ebx, [eax + ebp]
add ebx, edi
push ebx
call fcn.0058d200
mov esi, eax
add esp, 4
test esi, esi
je 0x4ae7dd
push ebx
push 0
push esi
call fcn.005869c0
add esp, 0xc
test edi, edi
jle 0x4ae7bd
mov ecx, dword [esp + 0x1c]
mov dword [esi + ebp], edi
test ecx, ecx
je 0x4ae7cb
lea eax, [ebp + 4]
add eax, esi
mov dword [ecx], eax
jmp 0x4ae7cb
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4ae7cb
mov dword [eax], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4ae7d5
mov dword [eax], esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x4c4
mov edx, 0x61c4e8
xor ecx, ecx
call fcn.004b47e0
add esp, 0xc
push 0x4c4
push 0x61c504
push 0x61c520
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.00587d2d
int3
Function at 0x4ae830
Capabilities:
Terminate process

Disassembly:
sub esp, 0xc
push ebx
push esi
push edi
push 8
mov esi, edx
mov ebx, ecx
call fcn.0058d200
mov edi, eax
add esp, 4
test edi, edi
je 0x4ae8de
mov eax, dword [esp + 0x1c]
xorps xmm0, xmm0
movq qword [edi], xmm0
mov dword [edi], esi
mov dword [edi + 4], eax
cmp dword [ebx + 0x2ec], 0
jne 0x4ae89f
lea eax, [esp + 0x14]
xor edx, edx
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [edx + 0x18]
call fcn.004ae770
mov esi, dword [esp + 0x18]
add esp, 8
mov eax, dword [esp + 0x14]
push 0
push 0x40
push 1
push 0
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov dword [esi], eax
mov dword [ebx + 0x2ec], esi
mov esi, dword [ebx + 0x2ec]
mov ecx, esi
call fcn.004b2df0
mov dword [eax], edi
mov dword [eax + 4], esi
mov dword [eax + 8], 0
mov ecx, dword [esi + 0x10]
mov dword [eax + 0xc], ecx
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x4ae8c8
mov dword [ecx + 8], eax
cmp dword [esi + 0xc], 0
mov dword [esi + 0x10], eax
jne 0x4ae8d4
mov dword [esi + 0xc], eax
inc dword [esi + 4]
pop edi
pop esi
pop ebx
add esp, 0xc
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x4c4
mov edx, 0x61c4e8
xor ecx, ecx
call fcn.004b47e0
add esp, 0xc
push 0x4c4
push 0x61c504
push 0x61c520
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.00587d2d
int3

Function at 0x4ae9f0
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push 0x20
mov ebx, edx
mov edi, ecx
call fcn.0058d200
mov esi, eax
add esp, 4
test esi, esi
je 0x4aea65
mov ecx, dword [esp + 0x10]
lea edx, [esi + 0x10]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
push 0x4ae920
movups xmmword [esi + 0x10], xmm0
mov dword [esi], 0x10
mov dword [esi + 4], 0
mov eax, dword [0x61c4d0]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
mov ecx, dword [edi + 0x2e4]
push 0x4ae990
push 0
call fcn.004b2450
add esp, 0xc
lea eax, [esi + 0x10]
pop edi
pop esi
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x46d
mov edx, 0x61c474
xor ecx, ecx
call fcn.004b47e0
add esp, 0xc
push 0x46d
push 0x61c490
push 0x61c4ac
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.00587d2d
int3

Function at 0x4aeb20
Capabilities:
Terminate process

Disassembly:
push ecx
push esi
push edi
push 8
mov edi, edx
mov esi, ecx
call fcn.0058d200
add esp, 4
test eax, eax
je 0x4aeb61
xorps xmm0, xmm0
mov edx, eax
movq qword [eax], xmm0
push fcn.004aeab0
mov dword [eax], esi
mov dword [eax + 4], edi
mov ecx, dword [esi + 0x2e4]
push 0x4aeac0
push 0
call fcn.004b2450
add esp, 0xc
pop edi
pop esi
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x6bb
mov edx, 0x61c5a0
xor ecx, ecx
call fcn.004b47e0
add esp, 0xc
push 0x6bb
push 0x61c5bc
push 0x61c5d8
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.00587d2d
int3
Function at 0x4aec10
Capabilities:
Initialize winsock library
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a4
mov eax, dword [0x6009e4]
xor eax, esp
mov dword [esp + 0x1a0], eax
push ebx
push esi
push edi
lea eax, [esp + 0x18]
mov esi, ecx
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4aed73
test esi, esi
lea ebx, [esi + 0x31c]
setg al
lea ebx, [ebx + eax*4]
push ebx
call fcn.0058d200
mov edi, eax
add esp, 4
test edi, edi
je 0x4aedae
push ebx
push 0
push edi
call fcn.005869c0
add esp, 0xc
test esi, esi
jle 0x4aec7b
mov dword [edi + 0x31c], esi
lea eax, [esp + 0x14]
mov edx, 8
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [edx + 0x10]
call fcn.004ae770
mov esi, dword [esp + 0x18]
add esp, 8
mov eax, dword [esp + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
push 0
push 0x40
push 1
push 0
mov dword [esi + 0x14], eax
call ebx
mov dword [esi], eax
xor edx, edx
lea eax, [esp + 0x10]
mov dword [edi + 0x2f0], esi
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [edx + 0x18]
call fcn.004ae770
mov esi, dword [esp + 0x1c]
add esp, 8
mov eax, dword [esp + 0x10]
push 0
push 0x40
push 1
push 0
mov dword [esi + 0x14], eax
call ebx
push 0x80
push 0
push 0
push 0x11
push 2
mov dword [esi], eax
push 2
mov dword [edi + 0x2f4], esi
mov dword [edi], 1
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov dword [edi + 0x2e0], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 1
push 0
push eax
mov dword [edi + 0xc], eax
call dword [sym.imp.dbghelp.dll_SymInitialize]
test eax, eax
jne 0x4aed28
mov dword [edi + 0xc], eax
mov eax, dword [0x6234e8]
mov dword [edi], 0
test eax, eax
jne 0x4aed49
push eax
push 0x40
push 1
push eax
call ebx
mov dword [0x6234f4], eax
mov eax, dword [0x6234e8]
inc eax
mov ecx, edi
mov dword [0x6234e8], eax
call fcn.004b2af0
mov ecx, dword [esp + 0x1ac]
mov dword [edi + 0x2e4], eax
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00584a28
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 0x6f5
mov edx, 0x61c5fc
xor ecx, ecx
call fcn.004b47e0
add esp, 0xc
push 0x6f5
push 0x61c618
push 0x61c634
call fcn.004010e0
add esp, 0xc
push 1
call fcn.00587d2d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x4c4
mov edx, 0x61c4e8
xor ecx, ecx
call fcn.004b47e0
add esp, 0xc
push 0x4c4
push 0x61c504
push 0x61c520
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.00587d2d
int3
Function at 0x4aef70
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x311c
call fcn.00584ea0
mov eax, dword [0x6009e4]
xor eax, esp
mov dword [esp + 0x3118], eax
push ebx
push esi
push edi
push 0x108
lea eax, [esp + 0x1c]
mov esi, ecx
push 0
push eax
call fcn.005869c0
mov eax, dword [esi + 0xb8]
add esp, 0xc
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0xb4]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0xc4]
push 0
push dword [sym.imp.dbghelp.dll_SymGetModuleBase64]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x20]
push dword [sym.imp.dbghelp.dll_SymFunctionTableAccess64]
mov byte [esp + 0x12c], 0
push 0
push 0
push eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], 3
mov dword [esp + 0x54], 0
mov dword [esp + 0x5c], 3
mov dword [esp + 0x64], 0
mov dword [esp + 0x6c], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call ebx
push eax
push 0x14c
call dword [sym.imp.dbghelp.dll_StackWalk64]
test eax, eax
je 0x4af176
mov eax, dword [esp + 0x18]
or eax, dword [esp + 0x1c]
je 0x4af176
mov eax, dword [0x6234d8]
mov ecx, 0x6234c2
test eax, eax
mov dword [esp + 0x1120], 0x58
xorps xmm0, xmm0
mov dword [esp + 0x1170], 0x7d0
cmovne ecx, eax
movlpd qword [esp + 0x10], xmm0
push ecx
push str.FATAL_EXCEPTION___s___
lea eax, [esp + 0x128]
mov dword [esp + 0x2128], 0x18
push 0x1000
push eax
call fcn.00401140
mov edx, dword [esp + 0x28]
mov ecx, 0x4aedf0
sub ecx, edx
mov esi, eax
push ecx
push 0x4aedf0
push edx
mov edi, 0x1000
lea eax, [esp + 0x13c]
mov ecx, edi
add eax, esi
push str._FuncAddr:_0x_08x___BaseAddr:_0x_08x___Delta:__d__n
sub ecx, esi
push ecx
push eax
call fcn.00401140
add esp, 0x28
add esi, eax
lea eax, [esp + 0x1120]
push eax
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x24]
push dword [esp + 0x24]
call ebx
push eax
call dword [sym.imp.dbghelp.dll_SymFromAddr]
test eax, eax
je 0x4af176
lea eax, [esp + 0x1174]
push eax
mov eax, edi
sub eax, esi
push str.______s
push eax
lea eax, [esp + 0x12c]
add eax, esi
push eax
call fcn.00401140
add esp, 0x10
add esi, eax
lea eax, [esp + 0x2120]
push eax
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x24]
push dword [esp + 0x24]
call ebx
push eax
call dword [sym.imp.dbghelp.dll_SymGetLineFromAddr64]
sub edi, esi
test eax, eax
lea eax, [esp + 0x120]
je 0x4af165
push dword [esp + 0x2128]
add eax, esi
push dword [esp + 0x2130]
push 0x61c6ac
push edi
push eax
call fcn.00401140
add esp, 0x14
jmp 0x4af176
push 0x61c6b8
add eax, esi
push edi
push eax
call fcn.00401140
add esp, 0xc
push 0
push 0
push 0
xor edx, edx
lea ecx, [esp + 0x12c]
call fcn.004b47e0
add esp, 0xc
push eax
push 0x61c6bc
call fcn.004010e0
add esp, 8
push 0xfe
call fcn.00587d2d
int3
Function at 0x4af320
Capabilities:
Get socket status

Disassembly:
sub esp, 0x444
mov eax, dword [0x6009e4]
xor eax, esp
mov dword [esp + 0x43c], eax
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x45c]
xor ebp, ebp
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ecx
mov eax, dword [edi + 0x2f0]
mov dword [esp + 0x28], 0
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x10], 0x5265c00
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
test ebx, ebx
je 0x4af4a2
mov edi, dword [ebx]
test edi, edi
je 0x4af49a
cmp dword [edi], 0
je 0x4af48f
lea eax, [esp + 0x10]
mov dword [esp + 0x340], 0
push eax
lea eax, [esp + 0x134]
mov dword [esp + 0x134], 0
push eax
lea eax, [esp + 0x240]
mov dword [esp + 0x240], 0
push eax
lea eax, [esp + 0x34c]
push eax
mov eax, dword [edi]
push edi
call eax
add esp, 0x14
lea ecx, [esp + 0x340]
lea edx, [esp + 0x28]
mov esi, 0x100
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4af445
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4af3f0
lea ecx, [esp + 0x238]
mov esi, 0x100
lea edx, [esp + 0x28]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4af445
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4af411
lea edx, [esp + 0x130]
mov esi, 0x100
lea eax, [esp + 0x28]
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x4af445
add edx, 4
add eax, 4
sub esi, 4
jae 0x4af432
jmp 0x4af48f
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x134]
push eax
lea eax, [esp + 0x240]
push eax
lea eax, [esp + 0x34c]
push eax
push 0x40
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x4af48f
push dword [edi + 0x14]
mov eax, 0x1000
sub eax, ebp
push 0x61c748
push eax
lea eax, [ebp + 0x6247a0]
push eax
call fcn.00401140
add esp, 0x10
add ebp, eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x4af380
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
xor edx, edx
mov eax, 0x6247a0
test ebp, ebp
cmovle eax, edx
test eax, eax
jne 0x4af4df
mov esi, dword [sym.imp.WS2_32.dll___WSAFDIsSet]
push ecx
push dword [edi + 0x2e0]
call esi
test eax, eax
jne 0x4af4da
push dword [esp + 0x1c]
push dword [edi + 0x2e0]
call esi
test eax, eax
mov eax, str.UNKNOWN
je 0x4af4df
mov eax, str.ILibForceUnblockChain
mov ecx, dword [esp + 0x44c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00584a28
add esp, 0x444
ret
Function at 0x4afc60
Capabilities:
Terminate process

Disassembly:
push esi
push 4
mov esi, ecx
call fcn.0058d200
mov edx, eax
add esp, 4
test edx, edx
je 0x4afc7b
mov eax, dword [esi]
mov dword [edx], eax
mov eax, edx
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0xfb7
mov edx, 0x61c9f8
xor ecx, ecx
call fcn.004b47e0
add esp, 0xc
push 0xfb7
push 0x61ca14
push 0x61ca30
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.00587d2d
int3

Function at 0x4afcc0
Capabilities:
Terminate process

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x4afd20
mov eax, dword [esi - 0x10]
cmp eax, 0x2c
jbe 0x4afd1a
xor edi, edi
cmp eax, 0x10
jbe 0x4afce3
mov edi, dword [esi]
add eax, 0xfffffff0
mov dword [esi - 0x10], eax
add dword [esi], 0x10
mov eax, dword [esi - 0x10]
xor ecx, ecx
cmp eax, 0x1c
jbe 0x4afcf8
mov ecx, dword [esi]
add eax, 0xffffffe4
mov dword [esi - 0x10], eax
add dword [esi], 0x1c
test edi, edi
je 0x4afd78
test ecx, ecx
je 0x4afd78
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
movq qword [ecx + 0x10], xmm0
mov dword [ecx + 0x18], 0
movups xmmword [edi], xmm0
mov dword [edi + 8], esi
jmp 0x4afd5d
xor eax, eax
pop edi
pop esi
pop ecx
ret
push 0x10
call fcn.0058d200
mov edi, eax
add esp, 4
test edi, edi
je 0x4afdb9
push 0x1c
call fcn.0058d200
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4afdfa
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
movq qword [ecx + 0x10], xmm0
mov dword [ecx + 0x18], 0
movups xmmword [edi], xmm0
mov dword [edi], ecx
test esi, esi
jne 0x4afd72
push esi
push 0x40
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov dword [edi + 0xc], eax
mov eax, edi
pop edi
pop esi
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x1018
mov edx, 0x61ca54
xor ecx, ecx
call fcn.004b47e0
add esp, 0xc
push 0x1018
push 0x61ca70
push 0x61ca8c
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.00587d2d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x1024
mov edx, 0x61cab0
xor ecx, ecx
call fcn.004b47e0
add esp, 0xc
push 0x1024
push 0x61cacc
push 0x61cae8
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.00587d2d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x1025
mov edx, 0x61cb0c
xor ecx, ecx
call fcn.004b47e0
add esp, 0xc
push 0x1025
push 0x61cb28
push 0x61cb44
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.00587d2d
int3
Function at 0x4affa0
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
mov esi, ecx
mov ebp, edx
push edi
mov edx, ebx
mov dword [esp + 0x10], esi
mov ecx, ebp
push dword [esi + 4]
mov edi, dword [esi]
call fcn.004afe40
add esp, 4
mov dword [esp + 0x18], eax
test ebx, ebx
je 0x4b0111
nop
cmp dword [edi + 8], eax
jne 0x4b004f
cmp dword [esi + 4], 0
jne 0x4b0039
cmp dword [edi + 0x10], ebx
jne 0x4b004f
mov edx, dword [edi + 0xc]
mov ecx, ebx
mov esi, ebp
sub ecx, 4
jb 0x4b0001
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x4b0006
add edx, 4
add esi, 4
sub ecx, 4
jae 0x4afff0
cmp ecx, 0xfffffffc
je 0x4b0060
mov al, byte [edx]
cmp al, byte [esi]
jne 0x4b0033
cmp ecx, 0xfffffffd
je 0x4b0060
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x4b0033
cmp ecx, 0xfffffffe
je 0x4b0060
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x4b0033
cmp ecx, 0xffffffff
je 0x4b0060
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x4b0060
mov esi, dword [esp + 0x10]
jmp 0x4b004f
cmp dword [edi + 0x10], ebx
jne 0x4b004f
push ebx
push ebp
push dword [edi + 0xc]
call fcn.00592b16
add esp, 0xc
test eax, eax
je 0x4b0060
mov eax, dword [edi]
test eax, eax
je 0x4b0068
mov edi, eax
mov eax, dword [esp + 0x18]
jmp 0x4affd0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
cmp dword [esp + 0x1c], 0
je 0x4b0111
mov edx, dword [esi + 8]
test edx, edx
jne 0x4b0088
push 0x1c
call fcn.0058d200
add esp, 4
mov ecx, eax
jmp 0x4b009d
mov eax, dword [edx - 0x10]
xor ecx, ecx
cmp eax, 0x1c
jbe 0x4b009d
mov ecx, dword [edx]
add eax, 0xffffffe4
mov dword [edx - 0x10], eax
add dword [edx], 0x1c
mov dword [edi], ecx
test ecx, ecx
je 0x4b0119
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
movq qword [ecx + 0x10], xmm0
mov dword [ecx + 0x18], 0
mov eax, dword [edi]
mov ecx, dword [esp + 0x18]
mov dword [eax + 4], edi
mov eax, dword [edi]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 8]
lea esi, [ebx + 1]
test ecx, ecx
jne 0x4b00d8
push esi
call fcn.0058d200
add esp, 4
jmp 0x4b00df
mov edx, esi
call fcn.004ae750
mov ecx, eax
mov eax, dword [edi]
mov dword [eax + 0xc], ecx
test ecx, ecx
je 0x4b015a
mov ecx, dword [edi]
mov edx, esi
push ebx
push ebp
mov ecx, dword [ecx + 0xc]
call fcn.00401000
mov eax, dword [edi]
add esp, 8
mov eax, dword [eax + 0xc]
mov byte [ebx + eax], 0
mov eax, dword [edi]
mov dword [eax + 0x10], ebx
mov eax, dword [edi]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x10e4
mov edx, 0x61cb68
xor ecx, ecx
call fcn.004b47e0
add esp, 0xc
push 0x10e4
push 0x61cb84
push 0x61cba0
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.00587d2d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x10e8
mov edx, 0x61cbc4
xor ecx, ecx
call fcn.004b47e0
add esp, 0xc
push 0x10e8
push 0x61cbe0
push 0x61cbfc
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.00587d2d
int3
Function at 0x4b0210
Capabilities:
Terminate process

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
xor al, al
mov edi, ecx
push 0xc
xor ebx, ebx
mov byte [esp + 0x1b], al
xor ebp, ebp
call fcn.0058d200
mov esi, eax
add esp, 4
test esi, esi
je 0x4b037d
mov eax, dword [esp + 0x24]
lea edx, [edi + 7]
add eax, 7
mov dword [esi], ebx
mov dword [esi + 8], ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], 7
cmp eax, 7
jle 0x4b032b
mov edi, edx
mov edx, dword [esp + 0x24]
mov cl, byte [esp + 0x17]
test cl, cl
jne 0x4b028f
mov al, byte [edi]
cmp al, 0x22
jne 0x4b027d
mov byte [esp + 0x17], al
mov ebp, 1
jmp 0x4b0315
cmp al, 0x27
jne 0x4b029c
mov byte [esp + 0x17], al
mov ebp, 1
jmp 0x4b0315
cmp byte [edi], cl
jne 0x4b029c
xor eax, eax
test ebp, ebp
sete al
mov ebp, eax
test ebp, ebp
jne 0x4b0315
mov edx, 1
cmp dword [esp + 0x24], edx
jl 0x4b0311
xor ecx, ecx
nop dword [eax]
mov al, byte [edi + ecx]
cmp al, byte [ecx + 0x61fcc8]
jne 0x4b02c3
inc ecx
cmp ecx, 1
jl 0x4b02b0
jmp 0x4b02c5
xor edx, edx
test edx, edx
je 0x4b0311
push 0xc
call fcn.0058d200
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x4b03ff
cmp dword [esi], 0
mov edx, dword [esp + 0x18]
mov dword [ecx], edx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], 0
je 0x4b02fa
mov eax, dword [esi + 4]
mov dword [eax + 8], ecx
jmp 0x4b02fc
mov dword [esi], ecx
inc dword [esi + 8]
inc edx
add edx, ebx
mov dword [esi + 4], ecx
mov dword [esp + 0x18], edx
xor ebx, ebx
mov edx, dword [esp + 0x24]
jmp 0x4b0316
mov edx, dword [esp + 0x24]
inc ebx
mov eax, dword [esp + 0x1c]
lea ecx, [edx + 7]
inc eax
inc edi
mov dword [esp + 0x1c], eax
cmp eax, ecx
jl 0x4b0261
push 0xc
call fcn.0058d200
mov ecx, eax
add esp, 4
test ecx, ecx
jne 0x4b0340
jmp 0x4b03be
cmp dword [esi], 0
mov eax, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [ecx + 4], ebx
mov dword [ecx + 8], 0
je 0x4b036b
mov eax, dword [esi + 4]
inc dword [esi + 8]
mov dword [esi + 4], ecx
mov dword [eax + 8], ecx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
inc dword [esi + 8]
mov eax, esi
pop edi
mov dword [esi], ecx
mov dword [esi + 4], ecx
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x11f8
mov edx, 0x61ccdc
xor ecx, ecx
call fcn.004b47e0
add esp, 0xc
push 0x11f8
push 0x61ccf8
push 0x61cd14
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.00587d2d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfe
push 0x1251
mov edx, 0x61cd94
xor ecx, ecx
call fcn.004b47e0
add esp, 0xc
push 0x1251
push 0x61cdb0
push 0x61cdcc
call fcn.004010e0
add esp, 0xc
push 0xfe
call fcn.00587d2d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xfd
push 0x122b
mov edx, 0x61cd38
xor ecx, ecx
call fcn.004b47e0
add esp, 0xc
push 0x122b
push 0x61cd54
push 0x61cd70
call fcn.004010e0
add esp, 0xc
push 0xfd
call fcn.00587d2d
int3