joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e9d0
Capabilities:
Check for software breakpoints

Disassembly:
cmp dword [esi + 0x14], 0xcc
je 0x41e9f3
mov eax, dword [esi + 0x1a8]
push esi
call dword [eax]
mov dword [esi + 0x8c], 0
mov dword [esi + 0x14], 0xcc
mov ecx, dword [esi + 0x1a8]
mov eax, dword [ecx + 8]
test eax, eax
je 0x41ea19
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x30
call dword [eax]
mov edx, dword [esi + 0x1a8]
mov eax, dword [edx + 8]
test eax, eax
jne 0x41ea00
mov edx, dword [esi + 0x44]
xor eax, eax
test edx, edx
setne al
add eax, 0xcd
mov dword [esi + 0x14], eax
mov eax, 1
ret

Function at 0x41ead0
Capabilities:
Check for software breakpoints

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x41eb07
push esi
call fcn.004263c0
mov eax, dword [esi + 0x40]
test eax, eax
je 0x41eb00
mov dword [esi + 0x14], 0xcf
mov eax, 1
pop esi
pop ebp
ret 4
mov dword [esi + 0x14], 0xcb
mov ecx, dword [esi + 0x14]
cmp ecx, 0xcb
jne 0x41eb86
mov eax, dword [esi + 0x1b8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x41eb70
nop
mov eax, dword [esi + 8]
test eax, eax
je 0x41eb2a
push esi
call dword [eax]
mov ecx, dword [esi + 0x1b8]
push esi
call dword [ecx]
test eax, eax
je 0x41eb69
cmp eax, 2
je 0x41eb70
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x41eb20
cmp eax, 3
je 0x41eb4d
cmp eax, 1
jne 0x41eb20
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
cmp eax, dword [ecx + 8]
jl 0x41eb20
mov eax, dword [ecx + 8]
mov edx, dword [esi + 0x144]
add eax, edx
mov dword [ecx + 8], eax
jmp 0x41eb20
xor eax, eax
pop esi
pop ebp
ret 4
mov eax, dword [esi + 0x94]
mov dword [esi + 0x9c], eax
call fcn.0041e9d0
pop esi
pop ebp
ret 4
cmp ecx, 0xcc
je 0x41eb9d
mov eax, dword [esi]
mov dword [eax + 0x14], 0x14
push esi
mov dword [eax + 0x18], ecx
call dword [eax]
call fcn.0041e9d0
pop esi
pop ebp
ret 4

Function at 0x41f02e
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
push edi
lea eax, [ebp - 4]
push eax
push 0x4e55ec
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x41f09e
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x4e8674
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41f095
cmp dword [ebp - 0xc], 4
jne 0x41f095
cmp dword [ebp - 0x10], edi
je 0x41f095
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x508cb8], edi
xor eax, eax
jmp 0x41f0dd
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x508cb8], edi
jge 0x41f0d8
lea eax, [ebp - 0x34]
push eax
mov dword [0x508cb8], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], di
jne 0x41f0d8
cmp word [ebp - 0x14], 5
jb 0x41f0d8
call fcn.0041f006
test eax, eax
je 0x41f0d8
emms
mov dword [0x508cb8], 1
mov eax, dword [0x508cb8]
pop edi
leave
ret
Function at 0x427e96
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x427ea5
xor eax, eax
jmp 0x427f88
mov eax, dword [esp + 0xc]
cmp eax, 8
push ebx
push esi
mov esi, dword [esp + 0xc]
not esi
mov ecx, 0xff
jb 0x427f68
push edi
mov edi, eax
shr edi, 3
xor ebx, ebx
mov bl, byte [edx]
sub eax, 8
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x4ea600]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x4ea600]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x4ea600]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x4ea600]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x4ea600]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x4ea600]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x4ea600]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x4ea600]
inc edx
dec edi
jne 0x427ec5
pop edi
test eax, eax
je 0x427f82
xor ebx, ebx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x4ea600]
inc edx
dec eax
jne 0x427f6c
mov eax, esi
pop esi
not eax
pop ebx
ret 0xc
Function at 0x443e50
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x5080c0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
push edi
mov edi, ecx
test esi, esi
je 0x443fd8
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x443fd8
cmp dword [edi + 4], 0xffffffff
je 0x443e8c
call fcn.00443dc0
mov al, byte [esi]
sub al, 0x30
push esi
cmp al, 9
ja 0x443eb1
xorps xmm0, xmm0
mov eax, 2
movlpd qword [ebp - 0x10], xmm0
mov word [ebp - 0x18], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x14], eax
jmp 0x443eea
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x443fd8
xorps xmm0, xmm0
movups xmmword [ebp - 0x18], xmm0
movsx ecx, word [eax + 0xa]
push ecx
mov ecx, dword [eax + 0xc]
lea eax, [ebp - 0x14]
push dword [ecx]
push eax
call fcn.004ad470
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov ax, word [eax + 8]
mov word [ebp - 0x18], ax
push ebx
call dword [sym.imp.WS2_32.dll_htons]
push 0
push 1
push 2
mov word [ebp - 0x16], ax
call dword [sym.imp.WS2_32.dll_socket]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x443f21
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004abb31
mov esp, ebp
pop ebp
ret 0xc
push 4
lea eax, [ebp - 0x24]
mov dword [edi + 4], ebx
push eax
push 0x1002
push 0xffff
push ebx
mov dword [ebp - 0x24], 0x40000
call dword [sym.imp.WS2_32.dll_setsockopt]
push 0x10
lea eax, [ebp - 0x18]
push eax
push ebx
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x443f7e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push ebx
mov esi, eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [edi + 4], 0xffffffff
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004abb31
mov esp, ebp
pop ebp
ret 0xc
push 0x31
push 0x401
push dword [ebp - 0x1c]
push ebx
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
mov eax, dword [ebp - 0x1c]
mov ecx, esi
mov dword [edi + 8], eax
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x443fa0
sub ecx, edx
push ecx
push esi
lea ecx, [edi + 0xc]
call fcn.004449f0
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x24], eax
xor eax, eax
mov dword [edi + 0x40028], 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004abb31
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 8]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004abb31
mov esp, ebp
pop ebp
ret 0xc
Function at 0x443ff0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x4441e1
cmp dword [esi + 0x40028], 0
je 0x4441e1
lea ecx, [ebp - 0x10]
xor ebx, ebx
push ecx
push 0x4004667f
push eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp dword [ebp - 0x10], ebx
jbe 0x4441d6
mov ecx, dword [sym.imp.WS2_32.dll_recv]
lea eax, [esi + 0x28]
mov dword [ebp - 0x14], ecx
nop dword [eax + eax]
push 0
push 0x40000
push eax
push dword [esi + 4]
call ecx
mov edi, eax
cmp edi, 0xffffffff
je 0x4441ba
test edi, edi
je 0x4441a9
add ebx, edi
mov dword [ebp - 0xc], ebx
test edi, edi
jle 0x4441a9
lea eax, [esi + 0x40030]
mov ebx, eax
mov dword [ebp - 4], ebx
nop dword [eax + eax]
mov edx, dword [esi + 0x4003c]
mov ecx, edx
sub ecx, dword [esi + 0x40038]
jns 0x444097
add ecx, dword [eax]
mov ebx, eax
mov dword [ebp - 4], ebx
mov ebx, dword [ebx]
mov eax, ebx
sub eax, ecx
cmp edi, eax
jl 0x444113
mov ecx, dword [ebp - 4]
lea eax, [ebx + ebx]
push eax
mov dword [ecx], eax
call fcn.004abdd8
add esp, 4
mov dword [ebp - 8], eax
push ebx
push dword [esi + 0x40034]
push eax
call fcn.004ad470
mov eax, dword [esi + 0x4003c]
add esp, 0xc
cmp eax, dword [esi + 0x40038]
jge 0x4440ee
push eax
push dword [esi + 0x40034]
mov eax, dword [ebp - 8]
add eax, ebx
push eax
call fcn.004ad470
add esp, 0xc
add dword [esi + 0x4003c], ebx
push dword [esi + 0x40034]
call fcn.004abb3f
mov eax, dword [ebp - 8]
add esp, 4
mov ebx, dword [ebp - 4]
mov dword [esi + 0x40034], eax
lea eax, [esi + 0x40030]
jmp 0x444080
mov ebx, dword [esi + 0x40030]
lea eax, [edx + edi]
cmp eax, ebx
jl 0x44418a
sub ebx, edx
sub edi, ebx
test ebx, ebx
jne 0x444141
push 0x35
push str.C:NEWSRCARTY_LauncherAPISocket.h
push 0x501994
push str.ERROR____s_n_s:__d_n_n
call fcn.004438c0
add esp, 0x10
push ebx
lea eax, [esi + 0x28]
push eax
mov eax, dword [esi + 0x4003c]
add eax, dword [esi + 0x40034]
push eax
call fcn.004ad470
add esp, 0xc
lea eax, [esi + 0x4003c]
mov dword [ebp - 8], eax
test edi, edi
je 0x444184
lea eax, [esi + 0x28]
push edi
add eax, ebx
push eax
push dword [esi + 0x40034]
call fcn.004ad470
mov eax, dword [ebp - 8]
add esp, 0xc
mov dword [eax], edi
jmp 0x4441a6
xor edi, edi
mov dword [eax], edi
jmp 0x4441a6
push edi
lea eax, [esi + 0x28]
push eax
mov eax, dword [esi + 0x40034]
add eax, edx
push eax
call fcn.004ad470
add esp, 0xc
add dword [esi + 0x4003c], edi
mov ebx, dword [ebp - 0xc]
lea eax, [esi + 0x28]
mov ecx, dword [ebp - 0x14]
cmp ebx, dword [ebp - 0x10]
jb 0x444040
jmp 0x4441d6
push 0xc0
push str.C:NEWSRCARTY_LauncherAPISocket.cpp
push str.socket_receive_error_
push str.ERROR____s_n_s:__d_n_n
call fcn.004438c0
add esp, 0x10
mov ecx, esi
call fcn.004441f0
test eax, eax
jne 0x4441d6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4445d0
Capabilities:
Encode data using xor
Hash data with crc32
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
cmp dword [ebx + 0x40058], 0
je 0x444748
cmp dword [ebx + 4], 0xffffffff
je 0x444748
cmp dword [ebx + 0x40028], 0
je 0x444748
cmp dword [0x517ac4], 0
push esi
push edi
mov dword [ebp - 4], 0
je 0x444697
mov edi, dword [ebp + 0xc]
mov eax, dword [0x517ac0]
push edi
push dword [ebp + 8]
inc eax
push 0x5184cc
mov dword [0x517ac0], eax
mov dword [0x5184c8], eax
call fcn.004ad470
lea esi, [edi + 4]
add esp, 0xc
or ecx, 0xffffffff
xor edx, edx
test esi, esi
je 0x44465c
movzx eax, byte [edx + 0x5184c8]
inc edx
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x501a68]
cmp edx, esi
jb 0x444641
push 0x5184c8
lea esi, [edi + 8]
mov dword [edi + 0x5184cc], ecx
push 0x5184c8
push esi
mov dword [ebp + 0xc], esi
call fcn.0044fab0
push esi
call fcn.004abdd8
push esi
mov edi, eax
push 0x5184c8
push edi
mov dword [ebp - 4], edi
call fcn.004ad470
add esp, 0x10
mov dword [ebp + 8], edi
jmp 0x4446a3
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp + 0xc], esi
mov dword [ebp + 8], eax
lea eax, [esi + 6]
cmp eax, 0xc8
jg 0x44473b
mov esi, dword [sym.imp.WS2_32.dll_htons]
lea edi, [ebx + 0x28]
push 0xaa55
call esi
mov word [edi], ax
mov eax, dword [ebp + 0xc]
push eax
push dword [ebp + 8]
mov word [edi + 2], ax
add edi, 4
push edi
call fcn.004ad470
add esp, 0xc
push 0x55aa
call esi
mov ecx, dword [ebp + 0xc]
mov word [edi + ecx], ax
lea esi, [ecx + 6]
xor eax, eax
test esi, esi
jle 0x444735
push 0
mov edi, eax
lea eax, [ebx + 0x28]
push esi
push eax
push dword [ebx + 4]
call dword [sym.imp.WS2_32.dll_send]
mov ecx, eax
cmp ecx, 0xffffffff
je 0x444719
test ecx, ecx
lea eax, [edi + ecx]
cmove eax, edi
cmp eax, esi
jl 0x4446f2
jmp 0x444735
push 0x14b
push str.C:NEWSRCARTY_LauncherAPISocket.cpp
push str.socket_send_error_
push str.ERROR____s_n_s:__d_n_n
call fcn.004438c0
add esp, 0x10
add dword [ebx + 0x40040], esi
push dword [ebp - 4]
call fcn.004abb3f
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x447ab0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0x10]
sub esp, 0xc
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
test eax, eax
jg 0x447adb
jl 0x447ace
test ecx, ecx
jne 0x447adb
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
mov edi, ecx
je 0x447bb4
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
mov ecx, ebx
call fcn.00449c50
mov ecx, edx
mov esi, eax
mov dword [esp + 0x14], ecx
test ecx, ecx
jl 0x447b4b
jg 0x447b0b
test esi, esi
je 0x447b4b
mov eax, dword [esp + 0xc]
cmp eax, ecx
jg 0x447b1f
jl 0x447b19
cmp edi, esi
jae 0x447b1f
mov esi, edi
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push dword [esp + 0x18]
call fcn.004ad470
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0xc]
sub edi, esi
sbb ecx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov eax, dword [esp + 0x10]
jmp 0x447b6e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov ecx, eax
cmp ecx, 0xffffffff
je 0x447b9d
mov eax, dword [esp + 0x10]
add edi, 0xffffffff
mov esi, 1
mov byte [eax], cl
mov ecx, dword [esp + 0xc]
adc ecx, 0xffffffff
add eax, esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
test ecx, ecx
jg 0x447af2
jl 0x447ba1
test edi, edi
jne 0x447af2
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
sbb edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esp + 0xc]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
sbb edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
test eax, eax
je 0x447c03
mov eax, dword [ebx + 0x2c]
lea edx, [ebx + 0x2c]
mov dword [esp + 0x14], edx
mov eax, dword [eax]
test eax, eax
je 0x447c0a
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push dword [esp + 0x14]
push dword [ebp + 8]
call fcn.004ad470
mov eax, dword [ebp + 8]
sub edi, esi
add eax, esi
add esp, 0xc
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [esp + 0x10]
jmp 0x447c0d
lea eax, [ebx + 0x2c]
mov dword [esp + 0x14], eax
mov esi, dword [ebp + 8]
cmp dword [ebx + 0x4c], 0
je 0x447c77
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x447c37
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov dword [eax], edx
cmp edi, 0xfff
jbe 0x447c62
nop
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.004b662d
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x447c77
cmp edi, eax
ja 0x447c40
test edi, edi
je 0x447c77
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.004b662d
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44dcb0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0xf
cmova ecx, dword [ebp + 8]
push esi
call fcn.00459630
test al, al
jne 0x44ddff
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
push 0x502d08
call esi
push 0
push str.Object
call esi
push 0
push str.Item
call esi
push 0
push 0x502d0c
call esi
cmp dword [ebp + 0x1c], 0xf
lea eax, [ebp + 8]
lea ecx, [ebp - 0xb8]
cmova eax, dword [ebp + 8]
sub esp, 8
push 2
push eax
call fcn.0044f140
lea ecx, [ebp - 0xb4]
call fcn.00449a90
test eax, eax
jne 0x44dd50
mov eax, dword [ebp - 0xb8]
lea ecx, [ebp - 0xb8]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00445af0
cmp dword [ebp + 0x1c], 0xf
lea eax, [ebp + 8]
push 0x502d20
cmova eax, dword [ebp + 8]
push eax
call fcn.004b6b87
push 0
mov esi, eax
push 0
push esi
call fcn.004b6a8b
add esp, 0x14
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push esi
push 1
push 4
push eax
call fcn.004b5df0
push esi
call fcn.004b49e8
mov eax, dword [ebp - 0xb8]
add esp, 0x14
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xb8], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xbc], eax
lea ecx, [ebp - 0xb4]
call fcn.004481d0
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xb8], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xbc], eax
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x50], vtable.std::ios_base.0
call fcn.004ab118
add esp, 4
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x44de2f
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44de25
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44de36
push ecx
push edx
call fcn.004abdca
add esp, 8
pop esi
mov esp, ebp
pop ebp
ret 0x18
call fcn.004b4061
int3
Function at 0x44fab0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
movzx eax, bl
imul eax, eax, 0x9d
push edi
mov edi, 0x86d
mov dword [ebp + 8], eax
xor eax, eax
test ebx, ebx
jle 0x44fb05
mov ecx, dword [ebp + 0x10]
sub dword [ebp + 0xc], ecx
push esi
lea esi, [eax + ecx]
mov ecx, eax
and ecx, 7
inc eax
mov dl, byte [ecx + 0x517e00]
mov ecx, dword [ebp + 0xc]
xor dl, byte [esi + ecx]
mov ecx, edi
sar ecx, 8
xor dl, cl
imul edi, edi, 0x87b
xor dl, byte [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov byte [esi], dl
cmp eax, ebx
jl 0x44fad6
pop esi
pop edi
pop ebx
pop ebp
ret 0xc

Function at 0x44fb10
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 1
mov dword [0x51284c], edx
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x51284c], edx
inc eax
cmp eax, 0x270
jb 0x44fb21
mov dword [0x512848], 0x270
pop ebp
ret 4

Function at 0x44fb50
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
mov eax, dword [esi]
cmp eax, 0x270
jne 0x44fbad
lea edx, [esi + 8]
mov edi, eax
nop dword [eax]
mov ecx, dword [edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 8]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x44fb70
mov eax, dword [esi]
jmp 0x44fc8b
cmp eax, 0x4e0
jb 0x44fc8b
lea edi, [esi + 0x9c4]
mov esi, 0xe3
push ebx
mov ebx, dword [edi]
lea edx, [edi]
mov eax, ebx
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, ebx
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x634]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0x44fbc6
mov edi, dword [ebp - 4]
mov esi, 0x18c
add edi, 0xd50
mov ebx, dword [edi]
mov eax, ebx
lea edx, [edi]
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, eax
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx - 0xd4c]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0x44fc11
mov esi, dword [ebp - 4]
pop ebx
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
xor eax, eax
mov dword [esi], 0
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x450ca0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x5080c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
mov byte [ebp - 0x131], dl
mov ebx, ecx
mov dword [ebp - 0x130], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
xor esi, esi
lea eax, [ebp - 0x130]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x450d39
nop dword [eax + eax]
mov eax, ebx
lea ecx, [ebp - 0x10c]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x450d18
test dl, dl
je 0x450d14
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x450d18
add ecx, 2
add eax, 2
test dl, dl
jne 0x450cf8
xor ecx, ecx
jmp 0x450d1d
sbb ecx, ecx
or ecx, 1
test ecx, ecx
lea eax, [esi + 1]
cmovne eax, esi
mov esi, eax
lea eax, [ebp - 0x130]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x450cf0
cmp edi, 0xffffffff
je 0x450d45
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x131], 0
je 0x450d65
cmp esi, 1
setl al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004abb31
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
cmp esi, 1
pop edi
setle al
xor ecx, ebp
pop esi
pop ebx
call fcn.004abb31
mov esp, ebp
pop ebp
ret