joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d3f00
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 0x4d3f38
mov eax, dword [esi]
sub eax, edx
test eax, eax
jle 0x4d3f2c
mov ecx, dword [edi + 0x1c]
push eax
lea eax, [ecx + edx]
push eax
push ecx
call fcn.005a5e20
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 0x4d3fa9
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 0x4d3f99
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x4d3f9b
mov ecx, edi
call fcn.004d3ac0
test al, al
je 0x4d3fa4
mov edx, dword [edi + 0x1c]
add edx, dword [esi]
cmp byte [edi + 0x4c], 0
je 0x4d3fa4
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 0x4d3f67
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 0x4d3fc0
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.004d3eb0
mov edi, eax
test edi, edi
jle 0x4d4019
mov ecx, esi
call fcn.004d3ac0
test al, al
je 0x4d3ff4
mov edx, dword [esi + 0x38]
add edx, dword [esi + 0x2c]
cmp byte [esi + 0x4c], 0
je 0x4d3ff4
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 0x4d400f
pop edi
xor al, al
pop esi
ret
add dword [esi + 0x38], eax
mov ecx, esi
call fcn.004d3ec0
pop edi
mov al, 1
pop esi
ret

Function at 0x4dcac0
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 0x4dcadd
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 0x4dd1a0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60986e
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x697398]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.004dbbe0
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 [0x6acf4c], 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.0056a5b5
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.0056a5b5
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, edi
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
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
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 0x4dff10
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x608da0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x697398]
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.004e0140
lea ecx, [esi + 0x64]
call fcn.004dfe80
mov ecx, dword [esi + 0x58]
test ecx, ecx
je 0x4dff9c
mov eax, dword [esi + 0x60]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
cmp edx, 0x1000
jb 0x4dff7d
mov edi, dword [ecx - 4]
add edx, 0x23
sub ecx, edi
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x4e005c
mov ecx, edi
push edx
push ecx
call fcn.0056a59a
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 0x4dffef
mov eax, dword [esi + 0x54]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
cmp edx, 0x1000
jb 0x4dffd0
mov edi, dword [ecx - 4]
add edx, 0x23
sub ecx, edi
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x4e005c
mov ecx, edi
push edx
push ecx
call fcn.0056a59a
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 0x4e0009
call fcn.004d6810
mov dword [esi + 0x48], 0
mov ecx, dword [esi + 0x34]
cmp ecx, 0x10
jb 0x4e0039
mov eax, dword [esi + 0x20]
inc ecx
cmp ecx, 0x1000
jb 0x4e002f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e005c
mov eax, edx
push ecx
push eax
call fcn.0056a59a
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.005b0360
int3
Function at 0x4e33e0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x697398]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov dword [0x6dfae4], eax
cmp dword [0x6e180c], eax
je 0x4e352e
push 8
lea ecx, [ebp - 0x18]
mov dword [0x6e180c], 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.004e6220
add esp, 0xc
mov dword [0x6e17dc], eax
cmp dword [0x684874], eax
je 0x4e352e
push 0x6dfae8
mov dword [0x684874], eax
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameA]
movzx ecx, word [0x6dfae4]
mov eax, ecx
and eax, 0x3ff
sub eax, 4
je 0x4e3498
sub eax, 0xd
je 0x4e3485
sub eax, 1
jne case.default.0x4e34aa
mov byte [0x6dfaf2], al
mov dword [0x6e0fbc], 0x684856
jmp 0x4e3513
mov byte [0x6dfaf2], 1
mov dword [0x6e0fbc], 0x68485c
jmp 0x4e3513
mov eax, ecx
mov byte [0x6dfaf2], 1
shr eax, 0xa
dec eax
cmp eax, 4
ja case.default.0x4e34aa
jmp dword [eax*4 + 0x4e353c]
mov byte [0x6dfaf2], 0
mov dword [0x6e0fbc], 0x68484a
jmp 0x4e3513
mov dword [0x6e0fbc], 0x684850
jmp 0x4e3513
push 0xa
lea eax, [ebp - 0x10]
mov dword [0x6e0fbc], 0x684844
push eax
push 3
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov eax, dword [0x6e0fbc]
movsx cx, byte [ebp - 0x10]
mov word [eax], cx
movsx ax, byte [ebp - 0xf]
movzx eax, ax
push eax
call fcn.005be057
movzx ecx, ax
add esp, 4
mov eax, dword [0x6e0fbc]
mov word [eax + 2], cx
cmp dword [0x6e17d8], 0x4e8
je 0x4e352e
mov eax, dword [0x6e17dc]
mov dword [0x6e17d8], eax
call fcn.004e3620
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056a569
mov esp, ebp
pop ebp
ret
Function at 0x4e3d20
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x697398]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp edi, 2
jae 0x4e3f6d
mov ecx, dword [0x6dfae4]
cmp dword [0x6e1808], ecx
je 0x4e3fbb
cmp byte [0x6dfada], 0
mov eax, 0x404
mov dword [0x6e1808], ecx
je 0x4e3d8b
cmp cx, ax
jne 0x4e3d8b
mov dword [0x6dfb98], 0x7000404
mov eax, 0x7000404
mov dword [0x6dfb9c], 0
jmp 0x4e3f6f
cmp ecx, 0xe0080404
je 0x4e3db7
cmp ecx, 0xe0090404
je 0x4e3db7
cmp ecx, 0xe00a0404
je 0x4e3db7
cmp ecx, 0xe00b0404
je 0x4e3db7
cmp ecx, 0xe00e0804
jne 0x4e3f59
push 0x3ff
lea eax, [ebp - 0x404]
push eax
push ecx
call sub.IMM32.dll_ImmGetIMEFileNameA
test eax, eax
je 0x4e3f59
cmp dword [0x6dfad0], 0
jne 0x4e3e7e
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 0x4e3e7e
push 0xffffffffffffffff
push str.CINTLGNT.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x4e3e7e
push 0xffffffffffffffff
push str.MSTCIPHA.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x4e3e7e
push 0xffffffffffffffff
push str.PINTLGNT.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x4e3e7e
push 0xffffffffffffffff
push str.MSSCIPYA.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
jne 0x4e3f59
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x404]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
movzx esi, word [0x6dfae4]
mov ebx, eax
test ebx, ebx
je 0x4e3f59
call fcn.0056b100
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 0x4e3f59
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x410]
push eax
push 0x657378
push dword [ebp - 0x40c]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4e3f59
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 [0x6dfad0], 0
jne 0x4e3faa
mov eax, 0x404
cmp si, ax
jne 0x4e3f88
cmp ecx, 0x4020000
je 0x4e3faa
cmp ecx, 0x4030000
je 0x4e3faa
cmp ecx, 0x4040000
je 0x4e3faa
cmp ecx, 0x5000000
je 0x4e3faa
cmp ecx, 0x5010000
je 0x4e3faa
cmp ecx, 0x5020000
je 0x4e3faa
cmp ecx, 0x6000000
je 0x4e3faa
mov dword [0x6dfb9c], 0
mov dword [0x6dfb98], 0
xor eax, eax
lea esp, [ebp - 0x420]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056a569
mov esp, ebp
pop ebp
ret 4
mov eax, 0x804
cmp si, ax
jne 0x4e3f59
cmp ecx, 0x4010000
je 0x4e3faa
cmp ecx, 0x4020000
je 0x4e3faa
cmp ecx, 0x5030000
jne 0x4e3f59
mov eax, esi
or eax, ecx
mov dword [0x6dfb98], eax
mov eax, dword [edx + 0xc]
mov dword [0x6dfb9c], eax
mov eax, dword [edi*4 + 0x6dfb98]
jmp 0x4e3f6f
Function at 0x4e4100
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x697398]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x6dfae4]
push ebx
cmp eax, 0xe00e0804
je 0x4e42ce
cmp eax, 0xe0090404
je 0x4e42ce
mov ebx, dword [0x6dfb98]
test ebx, ebx
je 0x4e42ce
xor cl, cl
mov edx, 0x404
mov byte [ebp - 0x109], cl
cmp ax, dx
jne 0x4e42bd
movups xmm0, xmmword [str.softwaremicrosoftwindowscurrentversion_]
mov ax, word [0x619850]
and ebx, 0xffff0000
mov word [ebp - 0xe0], ax
cmp ebx, 0x5010000
mov al, byte [0x619852]
mov edx, str.MSTCIPH
movups xmmword [ebp - 0x108], xmm0
mov byte [ebp - 0xde], al
mov eax, str.TINTLGNT
movups xmm0, xmmword [0x619838]
push esi
cmovb edx, eax
movups xmmword [ebp - 0xf8], xmm0
mov esi, edx
movq xmm0, qword [0x619848]
push edi
movq qword [ebp - 0xe8], xmm0
mov al, byte [edx]
inc edx
test al, al
jne 0x4e41b4
lea edi, [ebp - 0x108]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4e41c4
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 0x4e42a8
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 0x4e4285
mov eax, dword [ebp - 0x118]
cmp ebx, 0x5000000
ja 0x4e4250
cmp al, 0x22
je 0x4e4266
cmp al, 0x23
je 0x4e4266
cmp ebx, 0x5010000
je 0x4e4260
cmp ebx, 0x5020000
jne 0x4e4285
sub al, 0x22
cmp al, 2
ja 0x4e4285
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.0056a569
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.0056a569
mov esp, ebp
pop ebp
ret
mov al, byte [ebp - 0x109]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056a569
mov esp, ebp
pop ebp
ret
mov al, cl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056a569
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop ebx
call fcn.0056a569
mov esp, ebp
pop ebp
ret
Function at 0x4e4df0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x609b90
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x697398]
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 0x4e4ff8
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4e4ff8
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 0x4e4e80
sub esi, ecx
cmp esi, 0x7fffffff
ja 0x4e5013
mov dword [ebp - 0x814], 0xf
cmp esi, 0x10
jae 0x4e4ec5
push esi
lea eax, [ebp - 0x828]
mov dword [ebp - 0x818], esi
push edi
push eax
call fcn.005a5e20
mov byte [ebp + esi - 0x828], 0
jmp 0x4e4f46
mov edi, esi
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x4e4ee7
mov eax, closesocket
mov edi, closesocket
push eax
call fcn.0043d6d0
add esp, 4
jmp 0x4e4f17
mov eax, 0x16
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x1000
jb 0x4e4f06
push eax
call fcn.0043d6d0
add esp, 4
jmp 0x4e4f17
test eax, eax
je 0x4e4f15
push eax
call fcn.0056a5b5
add esp, 4
jmp 0x4e4f17
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.005a5e20
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 0x4e4fc2
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 [0x6e17dc]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [ebp - 0x838]
push eax
lea eax, [ebp - 0x810]
push eax
call fcn.004e47b0
mov ecx, dword [0x6e0fc0]
test ecx, ecx
je 0x4e4fc2
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x814]
cmp ecx, 0x10
jb 0x4e4ff8
mov edx, dword [ebp - 0x828]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4e4fee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e5018
push ecx
push edx
call fcn.0056a59a
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.0056a569
mov esp, ebp
pop ebp
ret
call fcn.0043d580
call fcn.005b0360
int3
Function at 0x4eab40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x609d40
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x697398]
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.0056a5b5
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 0x4eb200
Capabilities:
Encode data using xor
Hash data with crc32

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x609ee5
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x697398]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
mov edi, ecx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x28], ecx
mov dword [ebp + 0xc], 0
mov eax, dword [ecx + 4]
lea ecx, [ebx + 0x10]
mov dword [ebp - 0x18], eax
lea edx, [ebx + 0x14]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
cmp byte [eax + 0xd], 0
jne 0x4ec560
mov esi, eax
mov eax, dword [ecx]
mov dword [ebp - 0x20], eax
nop dword [eax]
cmp dword [edx], 0x10
lea eax, [esi + 0x10]
mov dword [ebp - 0x18], esi
mov ecx, ebx
jb 0x4ec51f
mov ecx, dword [ebx]
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x4ec52a
mov eax, dword [eax]
push dword [ebp - 0x20]
push ecx
push edx
push eax
call fcn.00448e70
add esp, 0x10
test eax, eax
je 0x4ec54a
jns 0x4ec54a
mov esi, dword [esi + 8]
mov dword [ebp + 0xc], 0
jmp 0x4ec555
mov edi, esi
mov dword [ebp + 0xc], 1
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
lea edx, [ebx + 0x14]
je 0x4ec510
jmp 0x4ec566
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
cmp byte [edi + 0xd], 0
jne 0x4ec5b9
cmp dword [edi + 0x24], 0x10
lea eax, [edi + 0x10]
mov edx, dword [eax + 0x10]
jb 0x4ec57a
mov eax, dword [eax]
mov esi, dword [ebp - 0x10]
mov ecx, ebx
cmp dword [esi], 0x10
jb 0x4ec586
mov ecx, dword [ebx]
push edx
push eax
mov eax, dword [ebp - 0x14]
push dword [eax]
push ecx
call fcn.00448e70
add esp, 0x10
test eax, eax
je 0x4ec59c
js 0x4ec5b9
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 - 0x1c]
cmp dword [eax + 4], 0x4ec4ec4
je 0x4ec65f
mov dword [ebp - 0x24], eax
push 0x34
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
call fcn.0056a5b5
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
push ebx
lea ecx, [edi + 0x10]
mov dword [ebp - 4], 1
call fcn.0044a860
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x18]
mov edx, dword [ebx + 0x20]
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x18], 0
mov dword [edi + 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [edi + 0x2c], ecx
mov ecx, dword [ebp - 0x1c]
push edi
push dword [ebp + 0xc]
mov dword [edi + 0x30], edx
push dword [ebp - 0x18]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov word [edi + 0xc], 0
call fcn.004463a0
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.004465e0
int3
Function at 0x4f10c0
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 0x4f10d9
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 0x4f6ef0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60a6b5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x697398]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 0xc]
mov edx, edi
cmp dword [edi + 0x14], 0x10
jb 0x4f6f27
mov edx, dword [edi]
mov ecx, dword [edi + 0x10]
xor esi, esi
add ecx, edx
cmp edx, ecx
jae 0x4f6f42
movzx eax, byte [edx]
inc edx
imul esi, esi, 0x1000193
xor esi, eax
cmp edx, ecx
jb 0x4f6f32
push esi
push edi
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.004c2990
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4f6f73
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 [ebx + 8], 0x71c71c7
je 0x4f70ce
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], eax
push 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
call fcn.0056a5b5
add esp, 4
mov edi, eax
mov dword [ebp - 0x18], edi
push dword [ebp + 0xc]
lea ecx, [edi + 8]
call fcn.0044a860
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
mov dword [edi + 0x20], ecx
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x657870]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x657870]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x4f7070
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x14], xmm0
fld qword [ebp - 0x14]
fstp qword [esp]
call fcn.005bc210
fstp qword [ebp - 0x14]
movsd xmm0, qword [ebp - 0x14]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.0056af80
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x4f7054
cmp eax, 0x200
jae 0x4f7052
shl eax, 3
cmp eax, ecx
jae 0x4f7054
mov eax, ecx
push eax
mov ecx, ebx
call fcn.004f87c0
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004c2990
mov edx, dword [eax]
jmp 0x4f7073
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
mov ecx, dword [ebx + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [ebx + 0x18]
and eax, esi
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x4f709b
mov dword [ecx + eax*8], edi
jmp 0x4f70ad
cmp esi, edx
jne 0x4f70a4
mov dword [ecx + eax*8], edi
jmp 0x4f70b1
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x4f70b1
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax], edi
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.0056954d
int3