joyce8/EMBER2024-capa huggingface dataset:
Function at 0x543160
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.005430e0
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 0x5431d3
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.004ef0c0
push eax
push esi
push dword [edi + 0x5c]
call sub.WS2_32.dll_connect
cmp eax, 0xffffffff
jne 0x5431eb
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x5431eb
push str.error___WSAEWOULDBLOCK
call fcn.00535470
add esp, 4
mov ecx, edi
call fcn.005430e0
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.005e5532
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 0x543410
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x6c4490]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov eax, dword [esi + 0x5c]
cmp eax, 0xffffffff
je 0x543558
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 0x543558
cmp byte [esi + 0x48], 0
lea eax, [ebp - 0x108]
push eax
push dword [esi + 0x5c]
jne 0x5434f7
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x5434c0
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.005dfa14
mov esp, ebp
pop ebp
ret
push 0
call fcn.005e5532
add esp, 4
cmp edx, dword [esi + 0xc]
jl 0x543558
jg 0x5434da
cmp eax, dword [esi + 8]
jbe 0x543558
mov ecx, esi
call fcn.005430e0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dfa14
mov esp, ebp
pop ebp
ret
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x54351f
mov eax, dword [esi + 0x34]
cmp eax, dword [esi + 0x38]
jle 0x54351f
mov ecx, esi
call fcn.00543840
test al, al
jne 0x54351f
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x54354a
lea eax, [ebp - 0x20c]
push eax
push dword [esi + 0x5c]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x54353d
mov ecx, esi
call fcn.005437a0
test al, al
je 0x54354a
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x14]
call eax
test al, al
jne 0x543558
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov ecx, esi
call fcn.005430e0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005dfa14
mov esp, ebp
pop ebp
ret
Function at 0x5437a0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push esi
mov esi, ecx
push edi
mov edx, dword [esi + 0x28]
test edx, edx
jle 0x5437d2
mov eax, dword [esi + 0x24]
sub eax, edx
test eax, eax
jle 0x5437c5
mov ecx, dword [esi + 0x1c]
push eax
lea eax, [ecx + edx]
push eax
push ecx
call fcn.005dfa80
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 0x543830
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 0x543806
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x543808
pop edi
xor al, al
pop esi
ret
je 0x543801
mov ecx, esi
call fcn.00543360
test al, al
je 0x54382d
mov edx, dword [esi + 0x1c]
add edx, dword [esi + 0x24]
cmp byte [esi + 0x4c], 0
je 0x54382d
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 0x543840
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.00543750
mov edi, eax
test edi, edi
jle 0x543899
mov ecx, esi
call fcn.00543360
test al, al
je 0x543874
mov edx, dword [esi + 0x38]
add edx, dword [esi + 0x2c]
cmp byte [esi + 0x4c], 0
je 0x543874
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 0x54388f
pop edi
xor al, al
pop esi
ret
add dword [esi + 0x38], eax
mov ecx, esi
call fcn.00543760
pop edi
mov al, 1
pop esi
ret
Function at 0x547190
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x624320
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6c4490]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebx + 0x14]
mov ecx, esi
mov dword [ebp - 4], 0
mov dl, byte [eax]
movzx eax, dl
xor eax, 0x811c9dc5
imul eax, eax, 0x1000193
and ecx, eax
cmp dword [ebx + 0x18], ecx
ja 0x5471ef
shr esi, 1
or eax, 0xffffffff
sub eax, esi
add ecx, eax
mov edi, dword [ebx + 8]
lea eax, [ecx*8]
mov esi, dword [ebx]
mov dword [ebp - 0x18], eax
add eax, edi
mov dword [ebp + 0xc], eax
mov eax, dword [eax]
cmp esi, eax
je 0x547222
mov esi, dword [ebp + 0xc]
mov esi, dword [esi + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x547222
mov esi, dword [esi + 4]
cmp byte [esi + 8], dl
je 0x54726c
cmp esi, dword [edi + ecx*8]
jne 0x547215
mov edi, dword [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi]
cmp esi, eax
je 0x547253
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 8]
mov edx, dword [ebp - 0x18]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x5472a7
mov dword [ecx], edi
mov eax, dword [ebx + 8]
mov dword [edx + eax + 4], edi
jmp 0x5472c9
push dword [ebp + 0x10]
mov ecx, ebx
call fcn.00547b60
mov eax, dword [ebp + 8]
mov dword [eax], esi
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 0xc
cmp eax, esi
jne 0x5472af
mov dword [ecx], edi
jmp 0x5472c9
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x5472c9
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.00547a80
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 0xc
Function at 0x548790
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x624515
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6c4490]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [0x7178a8], 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.00464bf0
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.00464bf0
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.00469a80
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.00464bf0
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.00464bf0
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.00469a80
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.00469a80
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.00464bf0
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 0x54e550
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 8]
mov byte [ecx + 0x19], al
test al, al
je 0x54e56c
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 0x555290
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6c4490]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov dword [0x70d5f4], eax
cmp dword [0x70f32c], eax
je 0x5553da
push 8
lea ecx, [ebp - 0x18]
mov dword [0x70f32c], 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.00558070
add esp, 0xc
mov dword [0x70f2ec], eax
cmp dword [0x6b483c], eax
je 0x5553da
push 0x70d5f8
mov dword [0x6b483c], eax
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameA]
movzx ecx, word [0x70d5f4]
mov eax, ecx
and eax, 0x3ff
sub eax, 4
je 0x555346
sub eax, 0xd
je 0x555333
dec eax
jne case.default.0x555358
mov byte [0x70d602], al
mov dword [0x70eacc], 0x6b481e
jmp 0x5553bf
mov byte [0x70d602], 1
mov dword [0x70eacc], 0x6b4824
jmp 0x5553bf
mov eax, ecx
mov byte [0x70d602], 1
shr eax, 0xa
dec eax
cmp eax, 4
ja case.default.0x555358
jmp dword [eax*4 + 0x5553e8]
mov byte [0x70d602], 0
mov dword [0x70eacc], 0x6b4812
jmp 0x5553bf
mov dword [0x70eacc], 0x6b4818
jmp 0x5553bf
push 0xa
lea eax, [ebp - 0x10]
mov dword [0x70eacc], 0x6b480c
push eax
push 3
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov eax, dword [0x70eacc]
movsx cx, byte [ebp - 0x10]
mov word [eax], cx
movsx ax, byte [ebp - 0xf]
movzx eax, ax
push eax
call fcn.005e74c9
mov ecx, dword [0x70eacc]
add esp, 4
mov word [ecx + 2], ax
cmp dword [0x70f2e8], 0x4e8
je 0x5553da
mov eax, dword [0x70f2ec]
mov dword [0x70f2e8], eax
call fcn.00555500
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dfa14
mov esp, ebp
pop ebp
ret
Function at 0x555c30
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x6c4490]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp edi, 2
jae 0x555e7d
mov ecx, dword [0x70d5f4]
cmp dword [0x70f328], ecx
je 0x555ecb
cmp byte [0x70d5ea], 0
mov eax, 0x404
mov dword [0x70f328], ecx
je 0x555c9b
cmp cx, ax
jne 0x555c9b
mov dword [0x70d6a4], 0x7000404
mov eax, 0x7000404
mov dword [0x70d6a8], 0
jmp 0x555e7f
cmp ecx, 0xe0080404
je 0x555cc7
cmp ecx, 0xe0090404
je 0x555cc7
cmp ecx, 0xe00a0404
je 0x555cc7
cmp ecx, 0xe00b0404
je 0x555cc7
cmp ecx, 0xe00e0804
jne 0x555e69
push 0x3ff
lea eax, [ebp - 0x404]
push eax
push ecx
call sub.IMM32.dll_ImmGetIMEFileNameA
test eax, eax
je 0x555e69
cmp dword [0x70d5e0], 0
jne 0x555d8e
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 0x555d8e
push 0xffffffffffffffff
push str.CINTLGNT.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x555d8e
push 0xffffffffffffffff
push str.MSTCIPHA.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x555d8e
push 0xffffffffffffffff
push str.PINTLGNT.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x555d8e
push 0xffffffffffffffff
push str.MSSCIPYA.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
jne 0x555e69
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x404]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
movzx esi, word [0x70d5f4]
mov ebx, eax
test ebx, ebx
je 0x555e69
call fcn.005e7390
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 0x555e69
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x408]
push eax
push 0x67e9e0
push dword [ebp - 0x40c]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x555e69
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 [0x70d5e0], 0
jne 0x555eba
mov eax, 0x404
cmp si, ax
jne 0x555e98
cmp ecx, 0x4020000
je 0x555eba
cmp ecx, 0x4030000
je 0x555eba
cmp ecx, 0x4040000
je 0x555eba
cmp ecx, 0x5000000
je 0x555eba
cmp ecx, 0x5010000
je 0x555eba
cmp ecx, 0x5020000
je 0x555eba
cmp ecx, 0x6000000
je 0x555eba
mov dword [0x70d6a4], 0
mov dword [0x70d6a8], 0
xor eax, eax
lea esp, [ebp - 0x420]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dfa14
mov esp, ebp
pop ebp
ret 4
mov eax, 0x804
cmp si, ax
jne 0x555e69
cmp ecx, 0x4010000
je 0x555eba
cmp ecx, 0x4020000
je 0x555eba
cmp ecx, 0x5030000
jne 0x555e69
mov eax, esi
or eax, ecx
mov dword [0x70d6a4], eax
mov eax, dword [edx + 0xc]
mov dword [0x70d6a8], eax
mov eax, dword [edi*4 + 0x70d6a4]
jmp 0x555e7f
Function at 0x556020
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x6c4490]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x70d5f4]
push ebx
cmp eax, 0xe00e0804
je 0x5561f2
cmp eax, 0xe0090404
je 0x5561f2
mov ebx, dword [0x70d6a4]
test ebx, ebx
je 0x5561f2
xor cl, cl
mov edx, 0x404
mov byte [ebp - 0x109], cl
cmp ax, dx
jne 0x5561e1
movdqu xmm0, xmmword [str.softwaremicrosoftwindowscurrentversion_]
mov ax, word [0x63606c]
and ebx, 0xffff0000
mov word [ebp - 0xe0], ax
cmp ebx, 0x5010000
mov al, byte [0x63606e]
mov edx, str.MSTCIPH
movdqu xmmword [ebp - 0x108], xmm0
mov byte [ebp - 0xde], al
mov eax, str.TINTLGNT
movdqu xmm0, xmmword [0x636054]
push esi
cmovb edx, eax
movdqu xmmword [ebp - 0xf8], xmm0
mov esi, edx
movq xmm0, qword [0x636064]
push edi
movq qword [ebp - 0xe8], xmm0
mov al, byte [edx]
inc edx
test al, al
jne 0x5560d8
lea edi, [ebp - 0x108]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x5560e8
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 0x5561cc
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 0x5561a9
mov eax, dword [ebp - 0x118]
cmp ebx, 0x5000000
ja 0x556174
cmp al, 0x22
je 0x55618a
cmp al, 0x23
je 0x55618a
cmp ebx, 0x5010000
je 0x556184
cmp ebx, 0x5020000
jne 0x5561a9
sub al, 0x22
cmp al, 2
ja 0x5561a9
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.005dfa14
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.005dfa14
mov esp, ebp
pop ebp
ret
mov al, byte [ebp - 0x109]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dfa14
mov esp, ebp
pop ebp
ret
mov al, cl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dfa14
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop ebx
call fcn.005dfa14
mov esp, ebp
pop ebp
ret
Function at 0x5564a0
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x6c4490]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x70d5e8], 0
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
jne 0x55666b
cmp byte [0x70f310], 0
mov dword [0x70d5f0], eax
jne 0x556502
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x556502
push 0x70f30c
push 0x635f74
push 1
push 0
push 0x65d0f8
mov byte [0x70f310], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
push 0x70d608
mov dword [0x70d608], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 0x105
lea eax, [ebp - 0x10c]
mov byte [0x70d5e9], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x5565ea
lea ecx, [ebp - 0x10c]
dec ecx
nop
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x556540
mov eax, dword [0x635f84]
mov dword [ecx], eax
mov eax, dword [0x635f88]
mov dword [ecx + 4], eax
mov ax, word [0x635f8c]
mov word [ecx + 8], ax
mov al, byte [0x635f8e]
mov byte [ecx + 0xa], al
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x70d604], eax
test eax, eax
je 0x5565e3
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ImmLockIMC
push eax
call esi
push str.ImmUnlockIMC
push dword [0x70d604]
mov dword [0x70d5d0], eax
call esi
push str.ImmLockIMCC
push dword [0x70d604]
mov dword [0x70d5d4], eax
call esi
push str.ImmUnlockIMCC
push dword [0x70d604]
mov dword [0x70d5d8], eax
call esi
push str.ImmDisableTextFrameService
push dword [0x70d604]
mov dword [0x70d5dc], eax
call esi
pop esi
test eax, eax
je 0x5565ea
push 0xffffffffffffffff
call eax
jmp 0x5565ea
mov byte [0x70d5e9], 1
push dword [0x70d5f0]
mov byte [0x70d5e8], 1
call sub.IMM32.dll_ImmGetContext
push eax
mov dword [edi + 4], eax
push dword [0x70d5f0]
call sub.IMM32.dll_ImmReleaseContext
call fcn.00555290
call fcn.00555260
push 2
call fcn.005574a0
add esp, 4
call fcn.00557860
test eax, eax
setne byte [0x70d5ea]
call fcn.00555400
cmp byte [0x70d5ea], 0
je 0x55666b
mov eax, dword [0x70d5f4]
and eax, 0x3ff
cmp eax, 4
jne 0x55665a
call fcn.00555670
mov byte [0x70d5ed], 1
test eax, eax
jne 0x556661
mov byte [0x70d5ed], 0
push 0
call fcn.00557a00
add esp, 4
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop edi
call fcn.005dfa14
mov esp, ebp
pop ebp
ret 4
Function at 0x556cc0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x624c7b
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x6c4490]
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 0x556da9
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x556da9
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
lea ecx, [ebp - 0x828]
call fcn.0045dcb0
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 0x556d92
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 [0x70f2ec]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
lea eax, [ebp - 0x810]
mov ecx, edi
push eax
call fcn.00556680
mov ecx, dword [0x70ead0]
test ecx, ecx
je 0x556d92
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x814], 0x10
jb 0x556da9
push dword [ebp - 0x828]
call fcn.004ec310
add esp, 4
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.005dfa14
mov esp, ebp
pop ebp
ret

Function at 0x55b460
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x624d7e
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x6c4490]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x70f35c]
test al, 1
jne 0x55b4bb
or eax, 1
mov dword [0x70f35c], eax
mov ecx, 0x70f358
mov dword [ebp - 4], 0
call fcn.00549fc0
push 0x62ee80
call fcn.005e04f9
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x71b1ec]
push 0xffffffffffffffff
push 0x3c
call fcn.0054d170
movdqu xmm0, xmmword [esi + 0x1c]
sub esp, 0x40
mov ecx, 0x70f358
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.0054afb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.005361e0

Function at 0x5630c0
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 0x5630d9
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