joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5c8430
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b3391
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x762dc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ecx, [edi + 0x4c]
mov dword [edi], vtable.CNetworkStream.0
call fcn.00696b20
lea ecx, [edi + 0x60]
mov dword [ebp - 4], 0
call fcn.005d9210
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
push 0x8000
lea ecx, [edi + 0x78]
mov byte [ebp - 4], 2
mov dword [edi + 0x5c], 0xffffffff
mov byte [edi + 0x48], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x70], 0
mov byte [edi + 0x74], 0
call fcn.0055e270
push 0x8000
push 0x74b050
push dword [edi + 0x78]
call fcn.00658d70
add esp, 0xc
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x5c8720
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
call fcn.005c86a0
mov eax, dword [ebp + 8]
lea esi, [edi + 0x60]
push 0
push 1
push 2
movdqu xmm0, xmmword [eax]
movdqu xmmword [esi], xmm0
call sub.WS2_32.dll_socket
mov dword [edi + 0x5c], eax
cmp eax, 0xffffffff
je 0x5c8793
lea ecx, [ebp - 4]
mov dword [ebp - 4], 1
push ecx
push 0x8004667e
push eax
call sub.WS2_32.dll_ioctlsocket
mov ecx, esi
call fcn.00465660
push eax
push esi
push dword [edi + 0x5c]
call sub.WS2_32.dll_connect
cmp eax, 0xffffffff
jne 0x5c87ab
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x5c87ab
push str.error___WSAEWOULDBLOCK
call fcn.005ab080
add esp, 4
mov ecx, edi
call fcn.005c86a0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
push 0
call fcn.00661dbc
mov ecx, eax
add esp, 4
mov eax, dword [ebp + 0xc]
mov esi, edx
cdq
add ecx, eax
mov al, 1
mov dword [edi + 8], ecx
adc esi, edx
mov dword [edi + 0xc], esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x5c89d0
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x762dc0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov eax, dword [esi + 0x5c]
cmp eax, 0xffffffff
je 0x5c8b18
mov dword [ebp - 0x208], eax
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0x214]
push eax
push 0
lea eax, [ebp - 0x108]
mov dword [ebp - 0x20c], 1
push eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x108], 1
push eax
push 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
je 0x5c8b18
cmp byte [esi + 0x48], 0
lea eax, [ebp - 0x108]
push eax
push dword [esi + 0x5c]
jne 0x5c8ab7
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x5c8a80
mov eax, dword [esi]
mov ecx, esi
mov byte [esi + 0x48], 1
call dword [eax + 4]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0065b5b4
mov esp, ebp
pop ebp
ret
push 0
call fcn.00661dbc
add esp, 4
cmp edx, dword [esi + 0xc]
jl 0x5c8b18
jg 0x5c8a9a
cmp eax, dword [esi + 8]
jbe 0x5c8b18
mov ecx, esi
call fcn.005c86a0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0065b5b4
mov esp, ebp
pop ebp
ret
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x5c8adf
mov eax, dword [esi + 0x34]
cmp eax, dword [esi + 0x38]
jle 0x5c8adf
mov ecx, esi
call fcn.005c8e00
test al, al
jne 0x5c8adf
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x5c8b0a
lea eax, [ebp - 0x20c]
push eax
push dword [esi + 0x5c]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x5c8afd
mov ecx, esi
call fcn.005c8d60
test al, al
je 0x5c8b0a
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x14]
call eax
test al, al
jne 0x5c8b18
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov ecx, esi
call fcn.005c86a0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0065b5b4
mov esp, ebp
pop ebp
ret

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

Disassembly:
push esi
mov esi, ecx
push edi
mov edx, dword [esi + 0x28]
test edx, edx
jle 0x5c8d92
mov eax, dword [esi + 0x24]
sub eax, edx
test eax, eax
jle 0x5c8d85
mov ecx, dword [esi + 0x1c]
push eax
lea eax, [ecx + edx]
push eax
push ecx
call fcn.0065af70
add esp, 0xc
mov eax, dword [esi + 0x28]
sub dword [esi + 0x24], eax
mov dword [esi + 0x28], 0
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
sub eax, ecx
test eax, eax
jle 0x5c8df0
push 0
push eax
mov eax, dword [esi + 0x1c]
add eax, ecx
push eax
push dword [esi + 0x5c]
call sub.WS2_32.dll_recv
mov edi, eax
test edi, edi
jns 0x5c8dc6
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x5c8dc8
pop edi
xor al, al
pop esi
ret
je 0x5c8dc1
mov ecx, esi
call fcn.005c8920
test al, al
je 0x5c8ded
mov edx, dword [esi + 0x1c]
add edx, dword [esi + 0x24]
cmp byte [esi + 0x4c], 0
je 0x5c8ded
mov ecx, dword [esi + 0x54]
add ecx, 4
push edi
push edx
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c]
add dword [esi + 0x24], edi
pop edi
mov al, 1
pop esi
ret
Function at 0x5c8e00
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.005c8d10
mov edi, eax
test edi, edi
jle 0x5c8e59
mov ecx, esi
call fcn.005c8920
test al, al
je 0x5c8e34
mov edx, dword [esi + 0x38]
add edx, dword [esi + 0x2c]
cmp byte [esi + 0x4c], 0
je 0x5c8e34
mov ecx, dword [esi + 0x50]
add ecx, 4
push edi
push edx
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c]
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 0x5c8e4f
pop edi
xor al, al
pop esi
ret
add dword [esi + 0x38], eax
mov ecx, esi
call fcn.005c8d20
pop edi
mov al, 1
pop esi
ret

Function at 0x5c9ed0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b3525
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x762dc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [0x79c514], edi
mov dword [edi], vtable.CResourceManager.0
lea ecx, [edi + 4]
mov dword [ebp - 4], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.005cac80
mov dword [edi + 4], eax
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 1
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
call fcn.005cac80
mov dword [edi + 0xc], eax
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 2
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
call fcn.0060f360
mov dword [edi + 0x14], eax
lea ecx, [edi + 0x1c]
mov byte [ebp - 4], 3
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
call fcn.005cac80
mov dword [edi + 0x1c], eax
lea ecx, [edi + 0x24]
mov byte [ebp - 4], 4
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
call fcn.005cac80
mov dword [edi + 0x24], eax
lea ecx, [edi + 0x2c]
mov byte [ebp - 4], 5
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.00528f10
mov dword [edi + 0x2c], eax
lea ecx, [edi + 0x34]
mov byte [ebp - 4], 6
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
call fcn.00528f10
mov dword [edi + 0x34], eax
lea ecx, [edi + 0x3c]
mov byte [ebp - 4], 7
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
call fcn.005cac80
mov dword [edi + 0x3c], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.005afc00
Function at 0x5d1eb0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b3b4e
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x762dc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x80fba8]
test al, 1
jne 0x5d1f0b
or eax, 1
mov dword [0x80fba8], eax
mov ecx, 0x80fba4
mov dword [ebp - 4], 0
call fcn.005b8140
push 0x6bcbc0
call fcn.00659699
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x799d10]
push 0xffffffffffffffff
push 0x3c
call fcn.005bc780
movdqu xmm0, xmmword [esi + 0x1c]
sub esp, 0x40
mov ecx, 0x80fba4
mov eax, esp
sub esp, 0x18
movdqu xmmword [eax], xmm0
movdqu xmm0, xmmword [esi + 0x2c]
movdqu xmmword [eax + 0x10], xmm0
movdqu xmm0, xmmword [esi + 0x3c]
movdqu xmmword [eax + 0x20], xmm0
movdqu xmm0, xmmword [esi + 0x4c]
movdqu xmmword [eax + 0x30], xmm0
movups xmm0, xmmword [esi + 0xc]
movups xmmword [esp + 8], xmm0
movss xmm0, dword [esi + 8]
movss dword [esp + 4], xmm0
movss xmm0, dword [esi + 4]
movss dword [esp], xmm0
call fcn.005b9130
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x5d38f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 8]
mov byte [ecx + 0x19], al
test al, al
je 0x5d390c
push 5
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret 4
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret 4
Function at 0x5d5090
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x762dc0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov dword [0x811834], eax
cmp dword [0x811924], eax
je 0x5d51da
push 8
lea ecx, [ebp - 0x18]
mov dword [0x811924], 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.005d7f00
add esp, 0xc
mov dword [0x8117fc], eax
cmp dword [0x7531c8], eax
je 0x5d51da
push 0x811838
mov dword [0x7531c8], eax
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameA]
movzx ecx, word [0x811834]
mov eax, ecx
and eax, 0x3ff
sub eax, 4
je 0x5d5146
sub eax, 0xd
je 0x5d5133
dec eax
jne case.default.0x5d5158
mov byte [0x80fbc8], al
mov dword [0x810fdc], 0x7531aa
jmp 0x5d51bf
mov byte [0x80fbc8], 1
mov dword [0x810fdc], 0x7531b0
jmp 0x5d51bf
mov eax, ecx
mov byte [0x80fbc8], 1
shr eax, 0xa
dec eax
cmp eax, 4
ja case.default.0x5d5158
jmp dword [eax*4 + 0x5d51e8]
mov byte [0x80fbc8], 0
mov dword [0x810fdc], 0x75319e
jmp 0x5d51bf
mov dword [0x810fdc], 0x7531a4
jmp 0x5d51bf
push 0xa
lea eax, [ebp - 0x10]
mov dword [0x810fdc], 0x753198
push eax
push 3
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov eax, dword [0x810fdc]
movsx cx, byte [ebp - 0x10]
mov word [eax], cx
movsx ax, byte [ebp - 0xf]
movzx eax, ax
push eax
call fcn.0066361e
mov ecx, dword [0x810fdc]
add esp, 4
mov word [ecx + 2], ax
cmp dword [0x8117f8], 0x4e8
je 0x5d51da
mov eax, dword [0x8117fc]
mov dword [0x8117f8], eax
call fcn.005d5300
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0065b5b4
mov esp, ebp
pop ebp
ret
Function at 0x5d5a30
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x762dc0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp edi, 2
jae 0x5d5c7d
mov ecx, dword [0x811834]
cmp dword [0x811920], ecx
je 0x5d5ccb
cmp byte [0x811829], 0
mov eax, 0x404
mov dword [0x811920], ecx
je 0x5d5a9b
cmp cx, ax
jne 0x5d5a9b
mov dword [0x8118e4], 0x7000404
mov eax, 0x7000404
mov dword [0x8118e8], 0
jmp 0x5d5c7f
cmp ecx, 0xe0080404
je 0x5d5ac7
cmp ecx, 0xe0090404
je 0x5d5ac7
cmp ecx, 0xe00a0404
je 0x5d5ac7
cmp ecx, 0xe00b0404
je 0x5d5ac7
cmp ecx, 0xe00e0804
jne 0x5d5c69
push 0x3ff
lea eax, [ebp - 0x404]
push eax
push ecx
call sub.IMM32.dll_ImmGetIMEFileNameA
test eax, eax
je 0x5d5c69
cmp dword [0x811820], 0
jne 0x5d5b8e
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 0x5d5b8e
push 0xffffffffffffffff
push str.CINTLGNT.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x5d5b8e
push 0xffffffffffffffff
push str.MSTCIPHA.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x5d5b8e
push 0xffffffffffffffff
push str.PINTLGNT.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x5d5b8e
push 0xffffffffffffffff
push str.MSSCIPYA.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
jne 0x5d5c69
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x404]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
movzx esi, word [0x811834]
mov ebx, eax
test ebx, ebx
je 0x5d5c69
call fcn.0065fe80
mov eax, esp
push eax
push ebx
push dword [ebp - 0x410]
mov dword [ebp - 0x40c], eax
lea eax, [ebp - 0x404]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x5d5c69
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x408]
push eax
push 0x6de030
push dword [ebp - 0x40c]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x5d5c69
mov edx, dword [ebp - 0x408]
mov eax, dword [edx + 8]
movzx ecx, al
and eax, 0xffff0000
shl ecx, 8
or ecx, eax
shl ecx, 8
cmp dword [0x811820], 0
jne 0x5d5cba
mov eax, 0x404
cmp si, ax
jne 0x5d5c98
cmp ecx, 0x4020000
je 0x5d5cba
cmp ecx, 0x4030000
je 0x5d5cba
cmp ecx, 0x4040000
je 0x5d5cba
cmp ecx, 0x5000000
je 0x5d5cba
cmp ecx, 0x5010000
je 0x5d5cba
cmp ecx, 0x5020000
je 0x5d5cba
cmp ecx, 0x6000000
je 0x5d5cba
mov dword [0x8118e4], 0
mov dword [0x8118e8], 0
xor eax, eax
lea esp, [ebp - 0x420]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0065b5b4
mov esp, ebp
pop ebp
ret 4
mov eax, 0x804
cmp si, ax
jne 0x5d5c69
cmp ecx, 0x4010000
je 0x5d5cba
cmp ecx, 0x4020000
je 0x5d5cba
cmp ecx, 0x5030000
jne 0x5d5c69
mov eax, esi
or eax, ecx
mov dword [0x8118e4], eax
mov eax, dword [edx + 0xc]
mov dword [0x8118e8], eax
mov eax, dword [edi*4 + 0x8118e4]
jmp 0x5d5c7f
Function at 0x5d5e20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x762dc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x811834]
push ebx
cmp eax, 0xe00e0804
je 0x5d5ff2
cmp eax, 0xe0090404
je 0x5d5ff2
mov ebx, dword [0x8118e4]
test ebx, ebx
je 0x5d5ff2
xor cl, cl
mov edx, 0x404
mov byte [ebp - 0x109], cl
cmp ax, dx
jne 0x5d5fe1
movdqu xmm0, xmmword [str.softwaremicrosoftwindowscurrentversion_]
mov ax, word [0x6de05c]
and ebx, 0xffff0000
mov word [ebp - 0xe0], ax
cmp ebx, 0x5010000
mov al, byte [0x6de05e]
mov edx, str.MSTCIPH
movdqu xmmword [ebp - 0x108], xmm0
mov byte [ebp - 0xde], al
mov eax, str.TINTLGNT
movdqu xmm0, xmmword [0x6de044]
push esi
cmovb edx, eax
movdqu xmmword [ebp - 0xf8], xmm0
mov esi, edx
movq xmm0, qword [0x6de054]
push edi
movq qword [ebp - 0xe8], xmm0
mov al, byte [edx]
inc edx
test al, al
jne 0x5d5ed8
lea edi, [ebp - 0x108]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x5d5ee8
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 0x5d5fcc
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 0x5d5fa9
mov eax, dword [ebp - 0x118]
cmp ebx, 0x5000000
ja 0x5d5f74
cmp al, 0x22
je 0x5d5f8a
cmp al, 0x23
je 0x5d5f8a
cmp ebx, 0x5010000
je 0x5d5f84
cmp ebx, 0x5020000
jne 0x5d5fa9
sub al, 0x22
cmp al, 2
ja 0x5d5fa9
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.0065b5b4
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.0065b5b4
mov esp, ebp
pop ebp
ret
mov al, byte [ebp - 0x109]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0065b5b4
mov esp, ebp
pop ebp
ret
mov al, cl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0065b5b4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop ebx
call fcn.0065b5b4
mov esp, ebp
pop ebp
ret
Function at 0x5d62a0
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x762dc0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x80fbcb], 0
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
jne 0x5d646b
cmp byte [0x811908], 0
mov dword [0x811830], eax
jne 0x5d6302
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x5d6302
push 0x811904
push 0x6ddee4
push 1
push 0
push 0x709b28
mov byte [0x811908], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
push 0x811848
mov dword [0x811848], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 0x105
lea eax, [ebp - 0x10c]
mov byte [0x811828], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x5d63ea
lea ecx, [ebp - 0x10c]
dec ecx
nop
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x5d6340
mov eax, dword [str.imm32.dll]
mov dword [ecx], eax
mov eax, dword [0x6ddf74]
mov dword [ecx + 4], eax
mov ax, word [0x6ddf78]
mov word [ecx + 8], ax
mov al, byte [0x6ddf7a]
mov byte [ecx + 0xa], al
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x811844], eax
test eax, eax
je 0x5d63e3
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ImmLockIMC
push eax
call esi
push str.ImmUnlockIMC
push dword [0x811844]
mov dword [0x811810], eax
call esi
push str.ImmLockIMCC
push dword [0x811844]
mov dword [0x811814], eax
call esi
push str.ImmUnlockIMCC
push dword [0x811844]
mov dword [0x811818], eax
call esi
push str.ImmDisableTextFrameService
push dword [0x811844]
mov dword [0x81181c], eax
call esi
pop esi
test eax, eax
je 0x5d63ea
push 0xffffffffffffffff
call eax
jmp 0x5d63ea
mov byte [0x811828], 1
push dword [0x811830]
mov byte [0x80fbcb], 1
call sub.IMM32.dll_ImmGetContext
push eax
mov dword [edi + 4], eax
push dword [0x811830]
call sub.IMM32.dll_ImmReleaseContext
call fcn.005d5090
call fcn.005d5060
push 2
call fcn.005d72d0
add esp, 4
call fcn.005d7690
test eax, eax
setne byte [0x811829]
call fcn.005d5200
cmp byte [0x811829], 0
je 0x5d646b
mov eax, dword [0x811834]
and eax, 0x3ff
cmp eax, 4
jne 0x5d645a
call fcn.005d5470
mov byte [0x81182c], 1
test eax, eax
jne 0x5d6461
mov byte [0x81182c], 0
push 0
call fcn.005d7830
add esp, 4
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop edi
call fcn.0065b5b4
mov esp, ebp
pop ebp
ret 4
Function at 0x5d6ad0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b3d8b
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x762dc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0x20], 0
je 0x5d6bcb
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x5d6bcb
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x5d6b39
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x5d6b44
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x5d6bcb
push eax
lea ecx, [ebp - 0x828]
call fcn.00461700
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 0x818]
test ecx, ecx
je 0x5d6bc0
cmp dword [ebp - 0x814], 0x10
lea edx, [ebp - 0x810]
push 0x400
push edx
push ecx
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push eax
push 0
push dword [0x8117fc]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jle 0x5d6bc0
push eax
lea eax, [ebp - 0x810]
mov ecx, edi
push eax
call fcn.005d6480
mov ecx, dword [0x810fe0]
test ecx, ecx
je 0x5d6bc0
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x828]
call fcn.00462020
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.0065b5b4
mov esp, ebp
pop ebp
ret

Function at 0x5d9290
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 0x5d92a9
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 0x5de950
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b4390
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x762dc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x50], ebx
mov edx, dword [ebp + 8]
mov eax, 4
mov dword [ebp - 0x48], edx
mov ecx, dword [edx]
mov dword [ebp - 0x54], ecx
test ecx, ecx
jle 0x5deac2
jmp 0x5de9a0
mov ecx, dword [edx + eax]
sub ecx, 4
mov dword [ebp - 0x4c], ecx
mov ecx, dword [edx + eax + 4]
add eax, 8
cmp dword [ebx + 0x1420], 0
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x44], eax
je 0x5de9d9
mov ecx, dword [ebx + 0x141c]
lea esi, [ebp - 0x58]
mov eax, dword [ebx + 0x142c]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x44]
jmp 0x5de9e3
mov dword [ebp - 0x5c], 0
lea esi, [ebp - 0x5c]
mov esi, dword [esi]
test esi, esi
je 0x5deab4
lea ecx, [ecx]
push 0xffffffffffffffff
lea eax, [esi + 8]
mov dword [ebp - 0x2c], 0xf
push 0
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.00461e20
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0058cc50
add esp, 8
cmp dword [ebp - 0x2c], 0x10
mov byte [ebp - 4], 2
jb 0x5dea3e
push dword [ebp - 0x40]
call fcn.004623e0
add esp, 4
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
cmovae edx, dword [ebp - 0x28]
xor eax, eax
add ecx, edx
mov dword [ebp - 0x2c], 0xf
mov ebx, ecx
mov dword [ebp - 0x30], 0
sub ebx, edx
mov byte [ebp - 0x40], 0
xor edi, edi
cmp edx, ecx
cmova ebx, eax
test ebx, ebx
je 0x5dea84
movzx ecx, byte [edx]
lea edx, [edx + 1]
imul eax, eax, 0x1000193
inc edi
xor eax, ecx
cmp edi, ebx
jb 0x5dea71
cmp dword [ebp - 0x60], eax
je 0x5deae0
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 4], 0xffffffff
jb 0x5deaa1
push dword [ebp - 0x28]
call fcn.004623e0
add esp, 4
mov esi, dword [esi]
test esi, esi
jne 0x5de9f0
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x50]
mov esi, dword [ebp - 0x4c]
add eax, esi
dec dword [ebp - 0x54]
jne 0x5de9a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0065b5b4
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 0x20]
call fcn.005dfd10
mov ecx, dword [ebp - 0x44]
add ecx, dword [ebp - 0x48]
push ecx
mov ecx, eax
call fcn.005e2160
mov esi, dword [ebp - 0x4c]
cmp esi, eax
je 0x5deb18
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push eax
cmovae ecx, dword [ebp - 0x28]
push esi
push ecx
push str.CEterPackManager::RetrieveHybridCryptPackKeys_tcryptokey_length_of_file__s__is_not_matched._received__d____haved__d_
call fcn.005aaeb0
add esp, 0x10
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 4], 0xffffffff
jb 0x5deb30
push dword [ebp - 0x28]
call fcn.004623e0
add esp, 4
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x50]
jmp 0x5deab7