joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410090
Capabilities:
Create thread

Disassembly:
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x41009d
or eax, 0xffffffff
ret 4
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push ebx
push edi
push esi
push 0x40fed0
call edx
mov eax, dword [0x4587e8]
mov ecx, dword [esp + 0xc]
xor ebx, ebx
xor edi, edi
mov byte [esi + 0xc], 1
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], 0x7530
test eax, eax
jle 0x4100fa
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push esi
push 0x40feb0
push 0
push 0
call fcn.0042d659
add esp, 0x18
test eax, eax
je 0x4100f3
push eax
call ebp
inc ebx
inc edi
cmp edi, dword [esi + 0x10]
jl 0x4100d5
pop ebp
mov eax, ebx
neg eax
sbb eax, eax
neg eax
pop edi
dec eax
pop ebx
ret 4

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

Disassembly:
push esi
push 1
push 0
push 0
push 6
push 1
push 2
mov esi, ecx
call dword [sym.imp.WS2_32.dll_WSASocketA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov dword [esi + 4], eax
pop esi
dec ecx
mov eax, ecx
ret

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

Disassembly:
sub esp, 8
push esi
push 1
push 0
push 0
push 0x11
push 2
push 2
mov esi, ecx
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov dword [esi + 4], eax
pop esi
cmp eax, 0xffffffff
jne 0x412ee7
or eax, eax
add esp, 8
ret
push 0
push 0
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 4
lea edx, [esp + 0x1c]
push edx
push 0x9800000c
push eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
call dword [sym.imp.WS2_32.dll_WSAIoctl]
xor eax, eax
add esp, 8
ret

Function at 0x412fa0
Capabilities:
Connect socket

Disassembly:
sub esp, 0x14
mov eax, dword [0x453f10]
xor eax, esp
mov dword [esp + 0x10], eax
cmp dword [esi + 4], 0xffffffff
je 0x413000
test edi, edi
je 0x413000
mov eax, 2
push ecx
mov word [esp + 4], ax
call sub.WS2_32.dll_htons
push edi
mov word [esp + 6], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
push 0x10
lea edx, [esp + 4]
mov dword [esp + 8], eax
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.WS2_32.dll_connect]
inc eax
neg eax
sbb eax, eax
neg eax
dec eax
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.0042bb06
add esp, 0x14
ret
mov ecx, dword [esp + 0x10]
xor ecx, esp
or eax, 0xffffffff
call fcn.0042bb06
add esp, 0x14
ret

Function at 0x413110
Capabilities:
Create pipe

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esp + 0x10]
or eax, 0xffffffff
sub ecx, 0
je 0x41315c
sub ecx, 1
jne 0x413168
mov eax, dword [esp + 8]
push ecx
push 0x3e8
push 0x2000
push 0x2000
push 0xff
push ecx
push 0x40000003
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov dword [esi + 4], eax
pop esi
dec ecx
mov eax, ecx
ret 0xc
push ebx
mov ebx, dword [esp + 0xc]
push esi
call fcn.00413170
pop ebx
pop esi
ret 0xc
Function at 0x413170
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 0xa
push 0x1388
push ebx
call ebp
test eax, eax
jne 0x4131b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x4131a7
push 0x1f4
call edi
sub esi, 1
jne 0x413184
pop edi
pop esi
or eax, 0xffffffff
pop ebp
ret 4
push 0
push 0x40000080
push 3
push 0
push 3
push 0xc0000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 4], eax
cmp eax, 0xffffffff
je 0x4131a7
pop edi
pop esi
xor eax, eax
pop ebp
ret 4

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

Disassembly:
sub esp, 0x18
mov eax, dword [0x453f10]
xor eax, esp
mov dword [esp + 0x14], eax
cmp dword [0x4586d8], 0
push esi
mov esi, ecx
mov dword [esp + 4], 0
jne 0x4145a5
push 0
push 0
lea edx, [esp + 0xc]
push edx
push 4
push 0x4586d8
mov eax, 0xcbac
push 0x10
mov word [esp + 0x24], ax
lea eax, [esp + 0x20]
mov ecx, 0x11cf
push eax
mov word [esp + 0x2a], cx
mov ecx, dword [esi + 0x48]
push 0xc8000006
push ecx
mov dword [esp + 0x2c], 0xb5367df1
mov byte [esp + 0x34], 0x95
mov byte [esp + 0x35], 0xca
mov byte [esp + 0x36], 0
mov byte [esp + 0x37], 0x80
mov byte [esp + 0x38], 0x5f
mov byte [esp + 0x39], 0x48
mov byte [esp + 0x3a], 0xa1
mov byte [esp + 0x3b], 0x92
call dword [sym.imp.WS2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
je 0x414634
push 1
push 0
push 0
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov dword [esi + 0x24], eax
cmp eax, 0xffffffff
je 0x414634
xor eax, eax
mov dword [esi + 0x40], 0
mov dword [esi + 4], eax
push edi
lea edi, [esi + 4]
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4145ed
mov eax, dword [eax + 4]
mov edx, dword [esi + 0x24]
push edi
lea ecx, [esp + 0xc]
push ecx
push 0x20
push 0x20
push 0
push eax
mov eax, dword [esi + 0x48]
push edx
push eax
call dword [0x4586d8]
pop edi
test eax, eax
jne 0x414647
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x414647
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov ecx, dword [esi + 0x24]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0x24], 0xffffffff
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0042bb06
add esp, 0x18
ret
mov ecx, dword [esp + 0x18]
pop esi
xor ecx, esp
xor eax, eax
call fcn.0042bb06
add esp, 0x18
ret
Function at 0x4148b0
Capabilities:
Connect pipe

Disassembly:
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
push esi
push edi
mov ebx, ecx
xor edi, edi
mov edi, edi
call fcn.004149b0
cmp eax, 0xffffffff
je 0x41494e
xor eax, eax
lea esi, [ebx + 4]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov eax, dword [ebx]
mov edx, dword [eax]
mov ecx, ebx
call edx
mov eax, dword [ebx + 0x24]
push esi
push eax
call ebp
test eax, eax
jne 0x41492c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
je 0x414908
cmp eax, 0xe8
jne 0x414933
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
mov ecx, dword [ebx + 0x20]
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x2c], edi
mov dword [ebx + 0x34], edi
mov edx, dword [ecx]
lea eax, [ebx + 0x1c]
push eax
mov eax, dword [edx + 0x18]
call eax
test eax, eax
je 0x4148c0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
cmp eax, 0x3e5
je 0x41492c
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
mov edx, dword [ebx + 0x4c]
mov eax, dword [edx + 0xc]
lea ecx, [ebx + 0x4c]
call eax
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret

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

Disassembly:
sub esp, 0x10
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 0x40], 0
mov dword [esi + 4], eax
push edi
lea edi, [esi + 4]
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
test eax, eax
je 0x414b5c
mov eax, dword [eax + 4]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x414b6a
mov eax, dword [eax + 8]
mov dword [esp + 0x10], eax
mov eax, dword [esi]
mov edx, dword [eax]
call edx
push 0
push edi
lea eax, [esp + 0x10]
push eax
mov eax, dword [esi + 0x24]
lea ecx, [esp + 0x18]
push ecx
push 1
lea edx, [esp + 0x24]
push edx
push eax
call dword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
jne 0x414bb6
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x414bb6
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
pop edi
or eax, 0xffffffff
pop esi
add esp, 0x10
ret
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret
Function at 0x414cb0
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x10
push ebx
xor eax, eax
push ebp
push esi
mov esi, ecx
mov dword [esi + 0x40], eax
lea ebx, [esi + 4]
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov ecx, dword [esi + 0x3c]
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
cmp ecx, eax
jne 0x414ce2
xor ecx, ecx
jmp 0x414ce5
mov ecx, dword [ecx + 4]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x3c]
cmp ecx, eax
je 0x414cf3
mov eax, dword [ecx + 8]
mov ebp, dword [esi + 0x44]
mov edi, ebp
mov dword [esp + 0x18], eax
neg edi
lea eax, [esi + 0x48]
sbb edi, edi
mov dword [eax], 0x10
and edi, eax
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
push 0
push ebx
push edi
push ebp
lea eax, [esp + 0x20]
push eax
mov eax, dword [esi + 0x24]
lea ecx, [esp + 0x28]
push ecx
push 1
lea edx, [esp + 0x34]
push edx
push eax
call dword [sym.imp.WS2_32.dll_WSARecvFrom]
cmp eax, 0xffffffff
jne 0x414d59
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x414d59
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x10
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret

Function at 0x414e60
Capabilities:
Read file on windows

Disassembly:
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 0x40], 0
mov dword [esi + 4], eax
push edi
lea edi, [esi + 4]
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov eax, dword [esi]
mov edx, dword [eax]
call edx
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x414e8f
mov eax, dword [eax + 8]
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x414e99
mov ecx, dword [ecx + 4]
push edi
push 0
push eax
mov eax, dword [esi + 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x414ec8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x414ec8
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
pop edi
or eax, 0xffffffff
pop esi
ret
pop edi
xor eax, eax
pop esi
ret

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

Disassembly:
sub esp, 8
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 4], eax
mov dword [esi + 8], eax
push edi
lea edi, [esi + 4]
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x40]
mov dword [esi + 0x30], eax
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x41505b
mov ecx, dword [ecx + 4]
mov dword [esp + 8], eax
mov eax, dword [esi]
mov edx, dword [eax]
mov dword [esp + 0xc], ecx
mov ecx, esi
call edx
mov ecx, dword [esi + 0x24]
push 0
push edi
push 0
push 0
push 1
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x4150a7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x4150a7
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
pop edi
or eax, 0xffffffff
pop esi
add esp, 8
ret
pop edi
xor eax, eax
pop esi
add esp, 8
ret
Function at 0x4151a0
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 8
push ebx
push ebp
xor eax, eax
push esi
mov esi, ecx
lea ebx, [esi + 4]
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x40]
mov dword [esi + 0x30], eax
mov ecx, dword [esi + 0x3c]
push edi
test ecx, ecx
je 0x4151cc
mov ecx, dword [ecx + 4]
mov dword [esp + 0x10], eax
mov al, byte [esi + 0x148]
movzx edi, al
neg edi
sbb edi, edi
and edi, 0x10
mov dword [esp + 0x14], ecx
test al, al
je 0x4151ed
lea ebp, [esi + 0x48]
jmp 0x4151ef
xor ebp, ebp
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
mov ecx, dword [esi + 0x24]
push 0
push ebx
push edi
push ebp
push 0
push 0
push 1
lea eax, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSASendTo]
cmp eax, 0xffffffff
jne 0x415237
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x415237
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 8
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret

Function at 0x415390
Capabilities:
Write file on windows

Disassembly:
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 4], eax
mov dword [esi + 8], eax
push edi
lea edi, [esi + 4]
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x40]
mov edx, dword [esi]
mov dword [esi + 0x30], eax
mov eax, dword [edx]
call eax
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4153be
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x24]
push edi
push 0
push ecx
push eax
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4153f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x4153f0
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
pop edi
or eax, 0xffffffff
pop esi
ret
pop edi
xor eax, eax
pop esi
ret

Function at 0x420ddb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x420e22
call fcn.00423812
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x420e22
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x420e3e
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00420953
mov esi, eax
test edi, edi
je 0x420e3c
test ebx, ebx
je 0x420e3c
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x42bb06
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x453f10]
jne 0x42bb10
repz ret
jmp fcn.00431134
Function at 0x437d70
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00430a96
and dword [ebp - 4], 0
cmp dword [0x4585f0], 0
mov ebx, eax
jne 0x437e21
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x437ed2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x437ed2
push eax
call fcn.00430a24
mov dword [esp], 0x447408
push edi
mov dword [0x4585f0], eax
call esi
push eax
call fcn.00430a24
mov dword [esp], 0x4473f4
push edi
mov dword [0x4585f4], eax
call esi
push eax
call fcn.00430a24
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4585f8], eax
call esi
push eax
call fcn.00430a24
pop ecx
mov dword [0x458600], eax
test eax, eax
je 0x437e21
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00430a24
pop ecx
mov dword [0x4585fc], eax
mov eax, dword [0x4585fc]
cmp eax, ebx
je 0x437e79
cmp dword [0x458600], ebx
je 0x437e79
push eax
call fcn.00430a9f
push dword [0x458600]
mov esi, eax
call fcn.00430a9f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x437e79
test edi, edi
je 0x437e79
call esi
test eax, eax
je 0x437e70
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x437e70
test byte [ebp - 0xc], 1
jne 0x437e79
or dword [ebp + 0x10], 0x200000
jmp 0x437eb2
mov eax, dword [0x4585f4]
cmp eax, ebx
je 0x437eb2
push eax
call fcn.00430a9f
pop ecx
test eax, eax
je 0x437eb2
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x437eb2
mov eax, dword [0x4585f8]
cmp eax, ebx
je 0x437eb2
push eax
call fcn.00430a9f
pop ecx
test eax, eax
je 0x437eb2
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4585f0]
call fcn.00430a9f
pop ecx
test eax, eax
je 0x437ed2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x437ed4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001899b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x100189aa
pop dword [ebp - 0x14]
mov eax, 0x7730c7ab
add eax, 0x98d0c1ff
sub dword [ebp - 0x14], eax
push 0x40
push 0x1000
push 0x432b0
push 0
mov eax, 0x3ea30fc1
sub eax, 0x2e9faee5
add eax, dword [ebp - 0x14]
call dword [eax]
mov ecx, 0x38e2ed2e
sub ecx, 0x38e29a2f
mov edx, eax
mov ebx, 0x28c82f83
add ebx, 0xe73b8e7d
add ebx, dword [ebp - 0x14]
mov edi, 0x5f7c90d5
add edi, 0xcf51d3aa
sub dword [ebp - 8], 0x7e4343ca
mov esi, dword [ebx]
add dword [ebp - 0xc], 0x66b469c1
xor esi, edi
add dword [ebp - 0x10], edx
mov dword [edx], esi
add dword [ebp - 0xc], 0xf1bab6b3
add edx, 0xb27452a0
add edx, 0x4d8bad64
add ebx, 4
loop 0x10018a09
add eax, 0x7ef00f27
add eax, 0x81112fa8
mov ebx, eax
add eax, 5
mov ecx, 0xca5a42f5
add ecx, 0x45a5bd0b
add ecx, dword [ebp - 0x14]
call ebx
leave
ret

Function at 0x100289d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x100330b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10035b0c]
test dword [ebp + 8], eax
je 0x10028a7a
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x808]
push eax
call fcn.1001899b
xor eax, eax
add esp, 0xc
mov word [ebp - 8], ax
mov eax, dword [0x10035b08]
test eax, eax
je 0x10028a6d
lea ecx, [ebp - 0x808]
push ecx
push eax
call fcn.1001899b
mov eax, dword [0x100330ac]
pop ecx
pop ecx
test eax, eax
jle 0x10028a7a
push esi
mov esi, dword [0x10035b10]
push edi
mov edi, dword [0x10035b14]
cdq
push edx
push eax
push edi
push esi
call fcn.10029420
add esi, 1
mov dword [0x10035b10], esi
adc edi, 0
or eax, edx
mov dword [0x10035b14], edi
pop edi
pop esi
jne 0x10028a7a
push dword [0x10035b08]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
pop ecx
jmp 0x10028a7a
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10028d50
leave
ret
Function at 0x40a2d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x40a2ed
jmp 0x40a345
xor eax, eax
pop ebp
ret 4
les eax, [eax + 8]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x40a2e7
cmp eax, 0xa2000080
pop ds
jecxz 0x40a342
add al, byte [ecx]
add byte [eax], al
push esi
jne 0x40a316
mov eax, 0x821189
pop esi
pop ebp
mov esi, dword [str.The_timeout_specified_has_expired]
call esi
test eax, eax
add eax, dword [0x4c25d5e]
push edi
call esi
add eax, 0xafc80
pop esi
retf 0x4c2
in al, dx
or byte [ebp + 8], 0xcd
or ch, cl
mov eax, dword [ecx + 4]
test eax, eax
jne 0x40a35f
add ecx, 0xfffffff7
push ecx
call [edi]
sub al, 0xc0
inc eax
sub dh, byte [ebx]
rcr byte [esi + 0x5d], 0xc2
add al, 0
xor eax, eax
pop esi
pop ebp
ret 4
push edi
clc
sbb dword [ebp - 0x10], esi
pushal
inc ecx
or byte [eax - 1], dl
adc eax, 0x8740c030
and eax, 0x63f8830f
jne 0x40a358
mov ebx, dword [edx]
or byte [eax - 1], dl
adc eax, sym.imp.KERNEL32.dll_ReleaseMutex
test eax, eax
jne 0x40a358
xor eax, sym.imp.KERNEL32.dll_GetLastError
call esi
test eax, eax
je 0x40a358
call [edi + 0x75]
cmp esp, edi
or al, byte [eax]
pop esi
pop ebp
in al, 0xc2
add byte [eax - 0x6f6f6f32], dl
push ebp
mov ebp, esp
mov eax, dword [ebp - 0x26]
push 0x8ba280
add al, 0x8b
add byte [eax - 0x18], dl
or al, 0x77
mov dword [0x4c25dff], eax
add byte [eax - 0x6f6f6f0a], dl
nop
nop
nop
xor eax, eax
fadd qword [eax + eax]
nop
nop
nop
les edx, [eax - 0x6f976f70]
nop
scasb al, byte es:[edi]
and ecx, dword [ebx + 0x8458b25]
mov eax, dword [eax + 0x25]
test eax, eax
je 0x40a410
mov ebx, eax
or al, 0xd9
pop ds
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test dword [esi + 0x75], edi
push ds
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
salc
test eax, eax
jne 0x40a3fe
pop esi
pop ebp
ret 8
call esi
add eax, 0xb54c80
pop esi
pop ebp
ret 0xfa08
mov eax, 0x4b004eea
pop ebp
ja 0x40a420
add byte [eax - 0x32cdc970], dl
nop
push cs
ret
Function at 0x40b1c2
Capabilities:
Encode data using xor

Disassembly:
mov word [edx], es
add byte [eax], al
lds ebx, fs:[eax - 0x23]
rcr byte [edx - 0x65], 1
mov ch, 0x21
and dword [eax - 0x166fff96], edx
or byte [eax], al
add byte [eax], al
jmp 0x40b158
aad 0xe9
or eax, 0xf0000000
add eax, 0x9eb21f57
inc ebx
dec ebp
loop 0x40b112
mov word [0xee990], ss
add byte [eax], al
pop es
movsb byte es:[edi], byte [esi]
cmpsb byte [esi], byte es:[edi]
js 0x40b193
or dl, ah
push ebp
lds ebx, [esi - 0xe]
or edi, dword [edi - 0x6f3fce28]
fdiv dword [ecx]
rcl byte [eax - 0x6fcf009c], 0x64
mov dword [eax], esp
call 0x40b090
sub ecx, ecx
sub ecx, 0xffffff8f
call 0x40b1c2
rcr byte [esi - 0x7f], 0x76
push cs
xchg edi, eax
loop 0x40b160
xor dword [esi + 0xe], 0xe295e297
sub esi, 0xfffffffc
loop 0x40b150
out dx, al
cld
loop 0x40b1c5
dec ebp
xchg esp, eax
loop 0x40b16d
or ch, byte [edx + 0x1d]
push 0xa7bc541d
scasb al, byte es:[edi]
wait
in eax, 0x75
sbb byte [ebp + 0xa0f1729], ah
or al, 0x6f
adc eax, 0xb05c1763
sbb dword [edx + 0x59875596], ebx
out dx, al
jne 0x40b266
or byte [edx + 0xe], ah
xchg edx, eax
jle 0x40b222
xchg esp, eax
das
pop ss
ficom word [edi - 0x14]
cmp al, 0xdc
daa
mov edx, dword [edi]
cmpsd dword [esi], dword es:[edi]
stc
xor dword [ebp + 0x14cb1dd5], ebp
push esi
sti
and al, 0xfb
dec ecx
int 0x85
xor al, 0xf2
or cl, ah
neg byte [esp - 0x58]
push ss
fisub dword [ecx + 0x55]
pushfd
and dword [edx + 0x598cae4e], ebx
leave
push ebp
int1
scasd eax, dword es:[edi]
arpl word [edx + 0x5689dd00], di
call 0xd9f3b26d
cmp ch, 0xcd
lcall 0xdbd9, 0xe4343242
inc edx
out 0xe5, eax
ret
push 0xffffffffffffffae
dec eax
inc esi
mov dword [0xc82301d2], eax
invalid