joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e0ef0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov edx, dword [edi + 0x28]
lea esi, [edi + 0x24]
test edx, edx
jle 0x4e0f28
mov eax, dword [esi]
sub eax, edx
test eax, eax
jle 0x4e0f1c
mov ecx, dword [edi + 0x1c]
push eax
lea eax, [ecx + edx]
push eax
push ecx
call fcn.005b4fa0
add esp, 0xc
mov eax, dword [edi + 0x28]
sub dword [esi], eax
mov dword [edi + 0x28], 0
mov eax, dword [edi + 0x20]
mov ecx, dword [esi]
sub eax, ecx
test eax, eax
jle 0x4e0f99
push 0
push eax
mov eax, dword [edi + 0x1c]
add eax, ecx
push eax
push dword [edi + 0x5c]
call sub.WS2_32.dll_recv
mov dword [ebp - 4], eax
test eax, eax
jns 0x4e0f89
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x4e0f8b
mov ecx, edi
call fcn.004e0ab0
test al, al
je 0x4e0f94
mov edx, dword [edi + 0x1c]
add edx, dword [esi]
cmp byte [edi + 0x4c], 0
je 0x4e0f94
mov ecx, dword [edi + 0x54]
mov edi, dword [ebp - 4]
add ecx, 4
push edi
push edx
push edx
mov eax, dword [ecx]
call dword [eax + 0x20]
add dword [esi], edi
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
jne 0x4e0f57
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 4]
add dword [esi], edi
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.004e0ea0
mov edi, eax
test edi, edi
jle 0x4e1009
mov ecx, esi
call fcn.004e0ab0
test al, al
je 0x4e0fe4
mov edx, dword [esi + 0x38]
add edx, dword [esi + 0x2c]
cmp byte [esi + 0x4c], 0
je 0x4e0fe4
mov ecx, dword [esi + 0x50]
add ecx, 4
push edi
push edx
push edx
mov eax, dword [ecx]
call dword [eax + 0x20]
mov eax, dword [esi + 0x2c]
add eax, dword [esi + 0x38]
push 0
push edi
push eax
push dword [esi + 0x5c]
call sub.WS2_32.dll_send
test eax, eax
jns 0x4e0fff
pop edi
xor al, al
pop esi
ret
add dword [esi + 0x38], eax
mov ecx, esi
call fcn.004e0eb0
pop edi
mov al, 1
pop esi
ret

Function at 0x4e9a70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 8]
mov byte [ecx + 0x19], al
mov ecx, dword [ecx + 4]
test al, al
je 0x4e9a8d
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret 4
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret 4
Function at 0x4ea150
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61b7ce
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x6ac420]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.004e8b90
mov dword [ebp - 4], 0
mov dword [edi + 4], vtable.CLightBase.0
mov eax, edi
mov dword [edi + 8], vtable.CSingleton_class_CLightManager_.0
mov dword [0x6c374c], eax
mov dword [edi], vtable.CLightManager.0
lea esi, [edi + 0xc]
mov dword [edi + 4], vtable.CLightManager.1.0
mov dword [edi + 8], vtable.CLightManager.2.0
push 8
mov byte [ebp - 4], 2
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.00579424
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
lea esi, [edi + 0x20]
mov byte [ebp - 4], 3
push 0x18
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00579424
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
unpcklps xmm0, xmm0
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x48], vtable.CDynamicPool_class_CLight_.0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
movq qword [edi + 0x34], xmm0
mov dword [edi + 0x3c], eax
mov eax, edi
mov dword [edi + 0x40], 3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4ed070
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61ad30
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x6ac420]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi], vtable.CGraphicTextInstance.0
call fcn.004ed2f0
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x4ed0f4
mov eax, dword [esi + 0x78]
sub eax, ecx
sar eax, 3
lea edx, [eax*8]
cmp edx, 0x1000
jb 0x4ed0d5
mov edi, dword [ecx - 4]
add edx, 0x23
sub ecx, edi
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x4ed20f
mov ecx, edi
push edx
push ecx
call fcn.00579416
mov dword [esi + 0x70], 0
add esp, 8
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
lea ecx, [esi + 0x64]
call fcn.004ecfe0
mov ecx, dword [esi + 0x58]
test ecx, ecx
je 0x4ed14f
mov eax, dword [esi + 0x60]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
cmp edx, 0x1000
jb 0x4ed130
mov edi, dword [ecx - 4]
add edx, 0x23
sub ecx, edi
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x4ed20f
mov ecx, edi
push edx
push ecx
call fcn.00579416
mov dword [esi + 0x58], 0
add esp, 8
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov ecx, dword [esi + 0x4c]
test ecx, ecx
je 0x4ed1a2
mov eax, dword [esi + 0x54]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
cmp edx, 0x1000
jb 0x4ed183
mov edi, dword [ecx - 4]
add edx, 0x23
sub ecx, edi
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x4ed20f
mov ecx, edi
push edx
push ecx
call fcn.00579416
mov dword [esi + 0x4c], 0
add esp, 8
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov ecx, dword [esi + 0x48]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x4ed1bc
call fcn.004e3830
mov dword [esi + 0x48], 0
mov ecx, dword [esi + 0x34]
cmp ecx, 0x10
jb 0x4ed1ec
mov eax, dword [esi + 0x20]
inc ecx
cmp ecx, 0x1000
jb 0x4ed1e2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ed20f
mov eax, edx
push ecx
push eax
call fcn.00579416
add esp, 8
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0xf
mov byte [esi + 0x20], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.005bf450
int3
Function at 0x4f0be0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6ac420]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov dword [0x6f62ac], eax
cmp dword [0x6f7fe4], eax
je 0x4f0d2e
push 8
lea ecx, [ebp - 0x18]
mov dword [0x6f7fe4], eax
push ecx
push 0x1004
movzx eax, ax
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0
lea eax, [ebp - 0x18]
push 0
push eax
call fcn.004f3a30
add esp, 0xc
mov dword [0x6f7fa4], eax
cmp dword [0x699874], eax
je 0x4f0d2e
push 0x6f62b0
mov dword [0x699874], eax
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameA]
movzx ecx, word [0x6f62ac]
mov eax, ecx
and eax, 0x3ff
sub eax, 4
je 0x4f0c98
sub eax, 0xd
je 0x4f0c85
sub eax, 1
jne case.default.0x4f0caa
mov byte [0x6f62ba], al
mov dword [0x6f7784], 0x699856
jmp 0x4f0d13
mov byte [0x6f62ba], 1
mov dword [0x6f7784], 0x69985c
jmp 0x4f0d13
mov eax, ecx
mov byte [0x6f62ba], 1
shr eax, 0xa
dec eax
cmp eax, 4
ja case.default.0x4f0caa
jmp dword [eax*4 + 0x4f0d3c]
mov byte [0x6f62ba], 0
mov dword [0x6f7784], 0x69984a
jmp 0x4f0d13
mov dword [0x6f7784], 0x699850
jmp 0x4f0d13
push 0xa
lea eax, [ebp - 0x10]
mov dword [0x6f7784], 0x699844
push eax
push 3
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov eax, dword [0x6f7784]
movsx cx, byte [ebp - 0x10]
mov word [eax], cx
movsx ax, byte [ebp - 0xf]
movzx eax, ax
push eax
call fcn.005cf99c
movzx ecx, ax
add esp, 4
mov eax, dword [0x6f7784]
mov word [eax + 2], cx
cmp dword [0x6f7fa0], 0x4e8
je 0x4f0d2e
mov eax, dword [0x6f7fa4]
mov dword [0x6f7fa0], eax
call fcn.004f0e20
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00579408
mov esp, ebp
pop ebp
ret
Function at 0x4f1520
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x6ac420]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp edi, 2
jae 0x4f176d
mov ecx, dword [0x6f62ac]
cmp dword [0x6f7fe0], ecx
je 0x4f17bb
cmp byte [0x6f62a2], 0
mov eax, 0x404
mov dword [0x6f7fe0], ecx
je 0x4f158b
cmp cx, ax
jne 0x4f158b
mov dword [0x6f635c], 0x7000404
mov eax, 0x7000404
mov dword [0x6f6360], 0
jmp 0x4f176f
cmp ecx, 0xe0080404
je 0x4f15b7
cmp ecx, 0xe0090404
je 0x4f15b7
cmp ecx, 0xe00a0404
je 0x4f15b7
cmp ecx, 0xe00b0404
je 0x4f15b7
cmp ecx, 0xe00e0804
jne 0x4f1759
push 0x3ff
lea eax, [ebp - 0x404]
push eax
push ecx
call sub.IMM32.dll_ImmGetIMEFileNameA
test eax, eax
je 0x4f1759
cmp dword [0x6f6298], 0
jne 0x4f167e
mov esi, dword [sym.imp.KERNEL32.dll_CompareStringA]
lea eax, [ebp - 0x404]
push 0xffffffffffffffff
push str.TINTLGNT.IME
push 0xffffffffffffffff
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x4f167e
push 0xffffffffffffffff
push str.CINTLGNT.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x4f167e
push 0xffffffffffffffff
push str.MSTCIPHA.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x4f167e
push 0xffffffffffffffff
push str.PINTLGNT.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x4f167e
push 0xffffffffffffffff
push str.MSSCIPYA.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
jne 0x4f1759
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x404]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
movzx esi, word [0x6f62ac]
mov ebx, eax
test ebx, ebx
je 0x4f1759
call fcn.0057a220
mov eax, esp
push eax
push ebx
push dword [ebp - 0x408]
mov dword [ebp - 0x40c], eax
lea eax, [ebp - 0x404]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4f1759
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x410]
push eax
push 0x66a53c
push dword [ebp - 0x40c]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4f1759
mov edx, dword [ebp - 0x410]
mov eax, dword [edx + 8]
movzx ecx, al
and eax, 0xffff0000
shl ecx, 8
or ecx, eax
shl ecx, 8
cmp dword [0x6f6298], 0
jne 0x4f17aa
mov eax, 0x404
cmp si, ax
jne 0x4f1788
cmp ecx, 0x4020000
je 0x4f17aa
cmp ecx, 0x4030000
je 0x4f17aa
cmp ecx, 0x4040000
je 0x4f17aa
cmp ecx, 0x5000000
je 0x4f17aa
cmp ecx, 0x5010000
je 0x4f17aa
cmp ecx, 0x5020000
je 0x4f17aa
cmp ecx, 0x6000000
je 0x4f17aa
mov dword [0x6f6360], 0
mov dword [0x6f635c], 0
xor eax, eax
lea esp, [ebp - 0x420]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00579408
mov esp, ebp
pop ebp
ret 4
mov eax, 0x804
cmp si, ax
jne 0x4f1759
cmp ecx, 0x4010000
je 0x4f17aa
cmp ecx, 0x4020000
je 0x4f17aa
cmp ecx, 0x5030000
jne 0x4f1759
mov eax, esi
or eax, ecx
mov dword [0x6f635c], eax
mov eax, dword [edx + 0xc]
mov dword [0x6f6360], eax
mov eax, dword [edi*4 + 0x6f635c]
jmp 0x4f176f
Function at 0x4f1900
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x6ac420]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x6f62ac]
push ebx
cmp eax, 0xe00e0804
je 0x4f1ace
cmp eax, 0xe0090404
je 0x4f1ace
mov ebx, dword [0x6f635c]
test ebx, ebx
je 0x4f1ace
xor cl, cl
mov edx, 0x404
mov byte [ebp - 0x109], cl
cmp ax, dx
jne 0x4f1abd
movups xmm0, xmmword [str.softwaremicrosoftwindowscurrentversion_]
mov ax, word [0x62b8a4]
and ebx, 0xffff0000
mov word [ebp - 0xe0], ax
cmp ebx, 0x5010000
mov al, byte [0x62b8a6]
mov edx, str.MSTCIPH
movups xmmword [ebp - 0x108], xmm0
mov byte [ebp - 0xde], al
mov eax, str.TINTLGNT
movups xmm0, xmmword [0x62b88c]
push esi
cmovb edx, eax
movups xmmword [ebp - 0xf8], xmm0
mov esi, edx
movq xmm0, qword [0x62b89c]
push edi
movq qword [ebp - 0xe8], xmm0
mov al, byte [edx]
inc edx
test al, al
jne 0x4f19b4
lea edi, [ebp - 0x108]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4f19c4
mov ecx, edx
lea eax, [ebp - 0x110]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push eax
push 0x20019
push 0
mov ecx, edx
lea eax, [ebp - 0x108]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
pop edi
pop esi
test eax, eax
jne 0x4f1aa8
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 4
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x11c]
push eax
push 0
push str.Keyboard_Mapping
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4f1a85
mov eax, dword [ebp - 0x118]
cmp ebx, 0x5000000
ja 0x4f1a50
cmp al, 0x22
je 0x4f1a66
cmp al, 0x23
je 0x4f1a66
cmp ebx, 0x5010000
je 0x4f1a60
cmp ebx, 0x5020000
jne 0x4f1a85
sub al, 0x22
cmp al, 2
ja 0x4f1a85
push dword [ebp - 0x110]
mov bl, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00579408
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x110]
mov bl, byte [ebp - 0x109]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00579408
mov esp, ebp
pop ebp
ret
mov al, byte [ebp - 0x109]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00579408
mov esp, ebp
pop ebp
ret
mov al, cl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00579408
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop ebx
call fcn.00579408
mov esp, ebp
pop ebp
ret
Function at 0x4f2600
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61bb20
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x6ac420]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x838], eax
cmp byte [eax + 0x20], 0
je 0x4f2808
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4f2808
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
push eax
mov dword [ebp - 0x834], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
mov dword [ebp - 0x818], 0
mov esi, edi
mov dword [ebp - 0x830], edi
xorps xmm0, xmm0
mov dword [ebp - 0x814], 0
movups xmmword [ebp - 0x828], xmm0
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x4f2690
sub esi, ecx
cmp esi, 0x7fffffff
ja 0x4f2823
mov dword [ebp - 0x814], 0xf
cmp esi, 0x10
jae 0x4f26d5
push esi
lea eax, [ebp - 0x828]
mov dword [ebp - 0x818], esi
push edi
push eax
call fcn.005b4fa0
mov byte [ebp + esi - 0x828], 0
jmp 0x4f2756
mov edi, esi
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x4f26f7
mov eax, closesocket
mov edi, closesocket
push eax
call fcn.0043dc40
add esp, 4
jmp 0x4f2727
mov eax, 0x16
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x1000
jb 0x4f2716
push eax
call fcn.0043dc40
add esp, 4
jmp 0x4f2727
test eax, eax
je 0x4f2725
push eax
call fcn.00579424
add esp, 4
jmp 0x4f2727
xor eax, eax
push esi
push dword [ebp - 0x830]
mov dword [ebp - 0x82c], eax
push eax
mov dword [ebp - 0x828], eax
mov dword [ebp - 0x818], esi
mov dword [ebp - 0x814], edi
call fcn.005b4fa0
mov eax, dword [ebp - 0x82c]
mov byte [eax + esi], 0
add esp, 0xc
push dword [ebp - 0x834]
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 0x818]
test eax, eax
je 0x4f27d2
cmp dword [ebp - 0x814], 0x10
lea edx, [ebp - 0x828]
push 0x400
cmovae edx, dword [ebp - 0x828]
lea ecx, [ebp - 0x810]
push ecx
add eax, edx
sub eax, edx
push eax
push edx
push 0
push dword [0x6f7fa4]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [ebp - 0x838]
push eax
lea eax, [ebp - 0x810]
push eax
call fcn.004f1fb0
mov ecx, dword [0x6f7788]
test ecx, ecx
je 0x4f27d2
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x814]
cmp ecx, 0x10
jb 0x4f2808
mov edx, dword [ebp - 0x828]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4f27fe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4f2828
push ecx
push edx
call fcn.00579416
add esp, 8
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.00579408
mov esp, ebp
pop ebp
ret
call fcn.0043db20
call fcn.005bf450
int3
Function at 0x4f8390
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61bcd0
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6ac420]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
xorps xmm0, xmm0
movups xmmword [edi + 4], xmm0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0xf
mov byte [edi + 4], 0
lea esi, [edi + 0x1c]
mov dword [ebp - 4], 0
push 0x20
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00579424
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, edi
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4f8a60
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004d24a0
Function at 0x4f9d80
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61be75
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x6ac420]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x14], eax
mov ecx, dword [eax]
mov edi, ecx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x20], ecx
mov dword [ebp + 0xc], 0
mov eax, dword [ecx + 4]
mov dword [ebp - 0x10], eax
lea ecx, [ebx + 0x10]
lea edx, [ebx + 0x14]
cmp byte [eax + 0xd], 0
jne 0x4f9e2b
mov esi, eax
mov eax, dword [ecx]
mov dword [ebp - 0x18], eax
cmp dword [edx], 0x10
lea eax, [esi + 0x10]
mov dword [ebp - 0x10], esi
mov ecx, ebx
jb 0x4f9de6
mov ecx, dword [ebx]
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x4f9df1
mov eax, dword [eax]
push dword [ebp - 0x18]
push ecx
push edx
push eax
call fcn.00445960
add esp, 0x10
test eax, eax
je 0x4f9e11
jns 0x4f9e11
mov esi, dword [esi + 8]
mov dword [ebp + 0xc], 0
jmp 0x4f9e1c
mov edi, esi
mov dword [ebp + 0xc], 1
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
lea edx, [ebx + 0x14]
je 0x4f9dd7
lea ecx, [ebx + 0x10]
lea edx, [ebx + 0x14]
cmp byte [edi + 0xd], 0
jne 0x4f9e7e
cmp dword [edi + 0x24], 0x10
lea eax, [edi + 0x10]
mov esi, dword [eax + 0x10]
mov dword [ebp - 0x18], esi
jb 0x4f9e42
mov eax, dword [eax]
cmp dword [edx], 0x10
mov esi, dword [ecx]
mov ecx, ebx
jb 0x4f9e4d
mov ecx, dword [ebx]
push dword [ebp - 0x18]
push eax
push esi
push ecx
call fcn.00445960
add esp, 0x10
test eax, eax
je 0x4f9e61
js 0x4f9e7e
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0x4ec4ec4
je 0x4f9f24
mov dword [ebp - 0x1c], eax
push 0x34
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
call fcn.00579424
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
push ebx
lea ecx, [edi + 0x10]
mov dword [ebp - 4], 1
call fcn.0044a900
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x18], 0
mov dword [edi + 0x28], edx
mov dword [edi + 0x2c], ecx
mov ecx, dword [ebp - 0x14]
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0x20]
push edi
push dword [ebp + 0xc]
mov dword [edi], eax
push dword [ebp - 0x10]
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov word [edi + 0xc], 0
call fcn.00445aa0
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, ecx
mov byte [ecx + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.004460d0
int3

Function at 0x4fe9e0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
call sub.WS2_32.dll_gethostbyname
test eax, eax
jne 0x4fe9f9
xor al, al
pop esi
pop ebp
ret 4
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esi + 4], eax
mov al, 1
pop esi
pop ebp
ret 4
Function at 0x504a90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61c665
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x6ac420]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov ebx, dword [ebp + 0xc]
mov edx, ebx
cmp dword [ebx + 0x14], 0x10
jb 0x504aca
mov edx, dword [ebx]
mov ecx, dword [ebx + 0x10]
xor edi, edi
add ecx, edx
cmp edx, ecx
jae 0x504ae5
movzx eax, byte [edx]
inc edx
imul edi, edi, 0x1000193
xor edi, eax
cmp edx, ecx
jb 0x504ad5
push edi
push ebx
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.00504870
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x504b16
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [esi + 8], 0x71c71c7
je 0x504c79
lea eax, [esi + 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], eax
push 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
call fcn.00579424
add esp, 4
mov ebx, eax
mov dword [ebp - 0x20], ebx
push dword [ebp + 0xc]
lea ecx, [ebx + 8]
call fcn.0044a900
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov eax, dword [eax + 0x18]
mov dword [ebx + 0x20], eax
mov eax, dword [esi + 8]
inc eax
movss xmm3, dword [esi]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x66be40]
mov eax, dword [esi + 0x1c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x66be40]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x504c19
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x1c], xmm0
fld qword [ebp - 0x1c]
fstp qword [esp]
call fcn.005cfea0
fstp qword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x1c]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.00579fa0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [esi + 0x1c]
cmp eax, ecx
jae 0x504bfd
cmp eax, 0x200
jae 0x504bfb
shl eax, 3
cmp eax, ecx
jae 0x504bfd
mov eax, ecx
push eax
mov ecx, esi
call fcn.005065f0
push edi
lea eax, [ebx + 8]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00504870
mov edx, dword [eax]
jmp 0x504c1c
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
inc dword [esi + 8]
mov dword [ebx + 4], eax
mov dword [ebx], edx
mov dword [eax], ebx
mov dword [edx + 4], ebx
mov ecx, dword [esi + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x18]
and eax, edi
mov edi, dword [ebp - 0x14]
mov esi, dword [ecx + eax*8]
cmp esi, dword [edi]
jne 0x504c46
mov dword [ecx + eax*8], ebx
jmp 0x504c58
cmp esi, edx
jne 0x504c4f
mov dword [ecx + eax*8], ebx
jmp 0x504c5c
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x504c5c
mov dword [ecx + eax*8 + 4], ebx
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.00577bed
int3