joyce8/EMBER2024-capa huggingface dataset:
Function at 0x86f1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.0086f140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.0086f140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.0086f140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.0086f140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x86fbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x86fc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x88187c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x86fc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x86fc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x405a71
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x238
mov eax, 0x40d9fb
call fcn.0040c9ff
mov dword [ebp - 0x21c], ecx
movzx eax, word [ebp + 8]
xor edi, edi
mov esi, dword [0x415350]
inc edi
push 0xf0
push eax
push esi
call dword [sym.imp.kernel32.dll_FindResourceW]
test eax, eax
je 0x405be2
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
je 0x405be2
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x405be2
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x405be2
mov ecx, dword [esi + 4]
mov ebx, eax
movzx eax, word [esi + 2]
add esi, 8
mov dword [ebp - 0x220], ecx
mov ecx, 0x403
cmp cx, ax
jne 0x405b5b
push 3
lea eax, [ebp - 0x110]
push esi
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x114], eax
call main
push dword [ebp - 0x114]
mov eax, dword [ebp - 0x21c]
and dword [ebp - 4], 0
push 0
push 0x143
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
cmp eax, 0xffffffff
lea eax, [ebp - 0x110]
cmove edi, ecx
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x114], eax
je 0x405bd4
push dword [ebp - 0x114]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
jmp 0x405bd4
mov ecx, 0x1234
cmp cx, ax
jne 0x405bd4
or dword [ebp - 0x240], 0xffffffff
lea eax, [ebp - 0x214]
push 3
push esi
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x244], 1
mov dword [ebp - 0x218], eax
call main
mov eax, dword [ebp - 0x218]
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x23c], eax
cmp eax, ecx
je 0x405bae
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
lea eax, [ebp - 0x244]
push eax
mov eax, dword [ebp - 0x21c]
push 0
push 0x40b
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
cmp eax, 0xffffffff
cmove edi, ecx
add esi, dword [ebp - 0x220]
test edi, edi
jne 0x405ac9
mov eax, edi
call fcn.0040c9ba
ret 4

Function at 0x40b919
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x40b928
pop dword [ebp - 0x30]
mov eax, 0x40b928
sub dword [ebp - 0x30], eax
push 0x40
push 0x1000
push 0x384d9
push 0
mov eax, 0xb1e2bbe5
sub eax, 0xb1a1db1d
add eax, dword [ebp - 0x30]
call dword [eax]
mov ecx, 0x46d3
xor edi, edi
add edi, eax
mov ebx, 0x419800
add ebx, dword [ebp - 0x30]
mov esi, 0xc766b13
mov edx, dword [ebx]
add dword [ebp - 0x10], ebx
xor edx, esi
xor dword [ebp - 0x10], edi
mov dword [edi], edx
sub dword [ebp - 0x20], 0x92943c29
add edi, 0xb0136ec
add edi, 0xf4fec918
add ebx, 0x42481978
sub ebx, 0x42481974
loop 0x40b972
add eax, 0xa29360b6
add eax, 0x5d6dad69
xor ebx, ebx
add ebx, eax
add eax, 0x7f369796
add eax, 0x80c9686f
mov ecx, 0x4ae1e5b2
add ecx, 0xb55e1a4e
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x413120
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
cmp eax, 0x270
jne 0x413170
lea edx, [edi + 8]
mov esi, eax
mov ecx, dword [edx - 4]
lea edx, [edx + 4]
xor ecx, dword [edx - 4]
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 esi, 1
jne 0x413132
mov eax, dword [edi]
jmp 0x413257
cmp eax, 0x4e0
jb 0x413257
mov eax, dword [edi + 0x9c4]
push ebx
lea ebx, [edi + 0x9c4]
push ebp
mov ebp, 0xe3
nop
mov ecx, dword [ebx + 4]
lea edx, [ebx + 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 [ebx + 0x634]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub ebp, 1
jne 0x413190
mov eax, dword [edi + 0xd50]
lea ebx, [edi + 0xd50]
mov ebp, 0x18c
nop word [eax + eax]
mov ecx, eax
lea edx, [ebx + 4]
xor ecx, dword [edx]
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 [ebx - 0xd4c]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub ebp, 1
jne 0x4131e0
mov ecx, dword [edi + 0x1380]
xor ecx, dword [edi + 4]
and ecx, 0x7fffffff
xor ecx, dword [edi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop ebp
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi + 0x9c0], eax
xor eax, eax
mov dword [edi], 0
pop ebx
mov edx, dword [edi + eax*4 + 4]
inc eax
mov dword [edi], eax
mov ecx, edx
mov eax, dword [edi + 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
ret
Function at 0x418cb0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ecx
push ebx
push ebp
push esi
mov dword [esp + 0xc], ecx
push edi
nop dword [eax]
mov edi, dword [ecx]
mov eax, dword [edi]
cmp eax, 0x270
jne 0x418d13
lea eax, [edi + 8]
mov esi, 0x270
mov edx, dword [eax - 4]
lea eax, [eax + 4]
xor edx, dword [eax - 4]
and edx, 0x7fffffff
xor edx, dword [eax - 8]
mov ecx, edx
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [eax + 0x62c]
xor ecx, edx
mov dword [eax + 0x9b8], ecx
sub esi, 1
jne 0x418cd3
mov eax, dword [edi]
jmp 0x418df5
cmp eax, 0x4e0
jb 0x418df5
mov eax, dword [edi + 0x9c4]
lea ebx, [edi + 0x9c4]
mov ebp, 0xe3
nop
mov ecx, dword [ebx + 4]
lea edx, [ebx + 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 [ebx + 0x634]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub ebp, 1
jne 0x418d30
mov eax, dword [edi + 0xd50]
lea ebx, [edi + 0xd50]
mov ebp, 0x18c
nop word [eax + eax]
mov ecx, eax
lea edx, [ebx + 4]
xor ecx, dword [edx]
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 [ebx - 0xd4c]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub ebp, 1
jne 0x418d80
mov ecx, dword [edi + 0x1380]
xor ecx, dword [edi + 4]
and ecx, 0x7fffffff
xor ecx, dword [edi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi + 0x9c0], eax
xor eax, eax
mov dword [edi], 0
mov edx, dword [edi + eax*4 + 4]
inc eax
mov dword [edi], eax
mov ecx, edx
mov eax, dword [edi + 0x1384]
shr ecx, 0xb
and eax, ecx
mov ecx, dword [esp + 0x10]
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
xor eax, edx
cmp eax, dword [ecx + 8]
ja 0x418cc0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x41a9d0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7185
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4f414c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], esi
xor eax, eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 7
mov word [esi + 4], ax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [ebp - 4], eax
mov dword [esi], 0x4ceeb4
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
mov dword [ebp - 0x18], 0
mov ecx, edx
mov dword [ebp - 0x14], 7
xor eax, eax
mov word [ebp - 0x28], ax
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41aa50
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004019a0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
mov ecx, esi
call fcn.00421b10
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x41aaae
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41aaa4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41aacb
push edx
push ecx
call fcn.00499671
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004998de
mov esp, ebp
pop ebp
ret
call fcn.0049e61f
int3

Function at 0x41fc30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7750
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4f414c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x10]
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0xc], eax
mov dword [ecx], 0
mov byte [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov byte [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
mov byte [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov byte [ecx + 0x34], 0
mov eax, dword [esi]
push eax
push dword [esi + 0xc]
mov dword [ebp - 4], 0
push dword [esi + 8]
push ecx
push dword [esi + 4]
push eax
call fcn.0041e250
add esp, 0x18
test al, al
mov eax, esi
jne 0x41fcf2
mov dword [esi + 8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42f4b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0xc]
push edi
test esi, esi
je 0x42f60a
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x10], 0
je 0x42f60a
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0x10], 0
je 0x42f60a
cmp dword [eax + 0x14], 8
jb 0x42f4e3
mov eax, dword [eax]
cmp dword [ecx + 0x14], 8
jb 0x42f4eb
mov ecx, dword [ecx]
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x42f60a
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
test ebp, ebp
je 0x42f60a
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x10], eax
test eax, eax
je 0x42f60a
mov edi, dword [esp + 0x1c]
push ebx
mov ecx, dword [edi + 8]
mov esi, dword [edi]
sub ecx, esi
cmp ebp, ecx
jbe 0x42f5f2
cmp ebp, 0x7fffffff
ja 0x42f610
mov edx, ecx
mov eax, bind
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x42f561
mov ebx, bind
jmp 0x42f569
lea ebx, [edx + ecx]
cmp ebx, ebp
cmovb ebx, ebp
test esi, esi
je 0x42f5a9
cmp ecx, 0x1000
jb 0x42f58b
mov edx, dword [esi - 4]
add ecx, 0x23
sub esi, edx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x42f61a
mov esi, edx
push ecx
push esi
call fcn.00499671
mov dword [edi], 0
add esp, 8
mov dword [edi + 4], 0
mov dword [edi + 8], 0
cmp ebx, 0x1000
jb 0x42f5d0
lea eax, [ebx + 0x23]
cmp eax, ebx
jbe 0x42f615
push eax
call fcn.00499641
add esp, 4
test eax, eax
je 0x42f61a
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x42f5e3
test ebx, ebx
je 0x42f5e1
push ebx
call fcn.00499641
add esp, 4
mov esi, eax
jmp 0x42f5e3
xor esi, esi
mov dword [edi], esi
lea eax, [esi + ebx]
mov dword [edi + 4], esi
mov dword [edi + 8], eax
mov eax, dword [esp + 0x14]
push ebp
push eax
push esi
call fcn.0049b020
add esp, 0xc
lea eax, [esi + ebp]
mov dword [edi + 4], eax
mov al, 1
pop ebx
pop edi
pop esi
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebp
ret
call fcn.0040ce90
call fcn.00401910
call fcn.0049e61f
int3
Function at 0x42fdb0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2c]
push edi
mov eax, dword [esi + 4]
mov ecx, dword [esi]
sub eax, ecx
je 0x42fdc7
mov dword [esi + 4], ecx
mov ebx, dword [esp + 0x28]
xor ebp, ebp
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, 0x200
mov dword [esp + 0x10], ebp
nop dword [eax]
mov ecx, dword [esi + 4]
mov eax, ecx
sub eax, dword [esi]
jne 0x42ff0e
mov dword [esp + 0x28], eax
test ebp, ebp
mov eax, 0x100
cmove eax, edx
mov edx, dword [esp + 0x24]
mov ecx, edx
cmp dword [edx + 0x14], 8
jb 0x42fe09
mov ecx, dword [edx]
lea edx, [esp + 0x28]
or eax, 0x20019
push edx
push eax
mov eax, dword [esp + 0x28]
push 0
push ecx
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42fef8
cmp dword [ebx + 0x14], 8
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov eax, ebx
jb 0x42fe3d
mov eax, dword [ebx]
lea ecx, [esp + 0x14]
push ecx
push 0
lea ecx, [esp + 0x20]
push ecx
push 0
push eax
push dword [esp + 0x3c]
call edi
test eax, eax
jne 0x42feee
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x18], eax
jne 0x42feee
mov edi, dword [esp + 0x14]
test edi, edi
je 0x42fee8
mov ebp, dword [esi + 4]
mov ecx, ebp
mov edx, dword [esi]
sub ecx, edx
cmp edi, ecx
jae 0x42fe82
lea eax, [edx + edi]
jmp 0x42fead
jbe 0x42feb0
mov eax, dword [esi + 8]
sub eax, edx
cmp edi, eax
jbe 0x42fe9c
lea eax, [esp + 0x30]
mov ecx, esi
push eax
push edi
call fcn.0042bba0
jmp 0x42feb0
sub edi, ecx
push edi
push 0
push ebp
call fcn.0049b5a0
add esp, 0xc
lea eax, [edi + ebp]
mov dword [esi + 4], eax
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x42feba
mov eax, dword [ebx]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x14]
push ecx
push dword [esi]
push 0
push 0
push eax
push dword [esp + 0x3c]
call edi
mov ebp, dword [esp + 0x10]
test eax, eax
je 0x42feee
mov eax, dword [esi + 4]
mov ecx, dword [esi]
sub eax, ecx
je 0x42feee
mov dword [esi + 4], ecx
jmp 0x42feee
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc ebp
mov edx, 0x200
mov dword [esp + 0x10], ebp
cmp ebp, 2
jl 0x42fde0
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
pop edi
pop esi
pop ebp
setne al
pop ebx
add esp, 0xc
ret 0x14
Function at 0x432980
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8cc5
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
mov eax, dword [0x4f414c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
push 0
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0
mov dword [esi], vtable.std::codecvt_wchar_t__char__struct__Mbstatet_.0
call fcn.004821af
mov dword [ebp - 0x6c], 0
mov byte [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x60], 0
xor eax, eax
mov dword [ebp - 0x5c], 0
mov word [ebp - 0x58], ax
mov dword [ebp - 0x54], eax
mov word [ebp - 0x50], ax
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], al
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], al
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 7
push 0x4cbddc
push eax
call fcn.004825ec
lea eax, [ebp - 0x3c]
push eax
call fcn.0048289a
movups xmm0, xmmword [eax]
movups xmmword [esi + 8], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esi + 0x18], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [esi + 0x28], xmm0
mov eax, dword [eax + 0x28]
mov dword [esi + 0x30], eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 8
push eax
call fcn.00482637
mov eax, dword [ebp - 0x44]
add esp, 0x10
test eax, eax
je 0x432a58
push eax
call fcn.004a25fb
add esp, 4
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x44], 0
test eax, eax
je 0x432a6f
push eax
call fcn.004a25fb
add esp, 4
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x4c], 0
test eax, eax
je 0x432a86
push eax
call fcn.004a25fb
add esp, 4
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x54], 0
test eax, eax
je 0x432a9d
push eax
call fcn.004a25fb
add esp, 4
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x5c], 0
test eax, eax
je 0x432ab4
push eax
call fcn.004a25fb
add esp, 4
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x64], 0
test eax, eax
je 0x432acb
push eax
call fcn.004a25fb
add esp, 4
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x6c], 0
call fcn.00482207
mov dword [esi], method.std::codecvt_wchar_t__char__struct__Mbstatet_.virtual_0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x441580
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
sub esp, 0x18
mov eax, dword [0x4f414c]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
mov esi, dword [esp + 0x20]
test esi, esi
je 0x44164b
lea eax, [esp + 4]
push eax
push esi
push 2
call fcn.0045bb10
add esp, 0xc
test eax, eax
jne 0x44164b
lea eax, [esp + 8]
push eax
push esi
push 0x17
call fcn.0045bb10
add esp, 0xc
test eax, eax
jne 0x44164b
push ebx
push edi
mov edi, esi
xor ebx, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x4415d4
sub edi, ecx
push edi
push 0x2e
push esi
call fcn.0045bae0
add esp, 0xc
test eax, eax
je 0x441608
sub eax, esi
push eax
push 0x2e
push esi
call fcn.0045bae0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x44160a
inc ebx
mov ecx, esi
sub ecx, ebx
add edi, ecx
test ebx, ebx
cmovne esi, ebx
mov ebx, 0x1505
add edi, esi
cmp esi, edi
jae 0x441636
mov al, byte [esi]
push eax
call fcn.0044ec30
movsx ecx, al
inc esi
mov eax, ebx
add esp, 4
shl eax, 5
add eax, ebx
xor ecx, eax
mov ebx, ecx
cmp esi, edi
jb 0x441618
pop edi
movzx eax, bl
pop ebx
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.004998de
add esp, 0x18
ret
mov ecx, dword [esp + 0x18]
xor eax, eax
pop esi
xor ecx, esp
call fcn.004998de
add esp, 0x18
ret
Function at 0x44b730
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
sub esp, 0x10c
mov eax, dword [0x4f414c]
xor eax, esp
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x118]
push ebx
mov ebx, dword [esp + 0x114]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x124]
mov dword [esp + 4], eax
xor eax, eax
mov ecx, dword [ebx + 0xc]
push ebp
push esi
mov esi, 0x180
mov edx, dword [ecx + 0x15c]
cmp dword [esp + 0x120], edx
push edi
sete al
lea eax, [eax*4 + 0x158]
mov ebp, dword [eax + ecx]
mov eax, 0x190
cmove esi, eax
mov eax, dword [ecx + 0x298]
add esi, ecx
mov edi, dword [esi + 4]
sub edi, dword [esi + 8]
test byte [eax + 0x40], 3
je 0x44b833
xor eax, eax
cmp dword [esp + 0x124], edx
sete al
lea eax, [eax*4 + 0x170]
cmp dword [eax + ecx], 0x44b3f0
jne 0x44b833
cmp dword [esi], 0
je 0x44b7ce
test edi, edi
je 0x44b833
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebp
call fcn.0045a2e0
add esp, 0x14
cmp eax, 0xffffffff
je 0x44b833
test al, 1
je 0x44b833
mov ecx, dword [esi]
test ecx, ecx
jne 0x44b81c
mov eax, dword [ebx + 0x4d8]
add eax, eax
push eax
mov dword [esi + 4], eax
call dword [0x4f40d4]
mov ecx, eax
add esp, 4
mov dword [esi], ecx
test ecx, ecx
je 0x44b867
mov edi, dword [esi + 4]
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov eax, dword [esi + 8]
push 0
push edi
add eax, ecx
push eax
push ebp
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x44b833
add dword [esi + 8], eax
push 0
push dword [esp + 0x130]
push dword [esp + 0x1c]
push ebp
call dword [sym.imp.WS2_32.dll_send]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
jne 0x44b8a2
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp esi, 0x2733
jne 0x44b878
xor edi, edi
lea eax, [edi + 0x51]
jmp 0x44b8a2
mov ecx, dword [esp + 0x10]
mov eax, 0x1b
mov dword [ecx], 0xffffffff
jmp 0x44b8a8
push 0x100
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.00437030
push eax
push str.Send_failure:__s
push ebx
call fcn.0044b160
add esp, 0x18
mov dword [ebx + 0x958], esi
mov eax, 0x37
mov ecx, dword [esp + 0x10]
mov dword [ecx], edi
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004998de
add esp, 0x10c
ret
Function at 0x44bf60
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x188
mov eax, dword [0x4f414c]
xor eax, esp
mov dword [esp + 0x184], eax
push ebx
mov ebx, dword [esp + 0x190]
lea eax, [esp + 8]
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [esp + 0x1a4]
push 0x80
push 0
push eax
mov dword [esp + 0x18], 0x80
call fcn.0049b5a0
add esp, 0xc
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x1a4]
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x44bfe7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea eax, [esp + 0x90]
push 0x100
push eax
push esi
call fcn.00437030
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
jmp 0x44c027
push edi
push esi
push dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
call fcn.0044bb20
add esp, 0x10
test al, al
jne 0x44c030
call fcn.004a46c2
mov esi, dword [eax]
call fcn.004a46c2
mov edi, eax
lea eax, [esp + 0x90]
push 0x100
push eax
push esi
call fcn.00437030
push eax
push dword [edi]
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.0044b160
add esp, 0x1c
mov ecx, dword [esp + 0x190]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004998de
add esp, 0x188
ret