joyce8/EMBER2024-capa huggingface dataset:
Function at 0x555e70
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x763480]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp edi, 2
jae 0x5560bd
mov ecx, dword [0x7b15e4]
cmp dword [0x7b3308], ecx
je 0x55610b
cmp byte [0x7b15da], 0
mov eax, 0x404
mov dword [0x7b3308], ecx
je 0x555edb
cmp cx, ax
jne 0x555edb
mov dword [0x7b1694], 0x7000404
mov eax, 0x7000404
mov dword [0x7b1698], 0
jmp 0x5560bf
cmp ecx, 0xe0080404
je 0x555f07
cmp ecx, 0xe0090404
je 0x555f07
cmp ecx, 0xe00a0404
je 0x555f07
cmp ecx, 0xe00b0404
je 0x555f07
cmp ecx, 0xe00e0804
jne 0x5560a9
push 0x3ff
lea eax, [ebp - 0x404]
push eax
push ecx
call sub.IMM32.dll_ImmGetIMEFileNameA
test eax, eax
je 0x5560a9
cmp dword [0x7b15d0], 0
jne 0x555fce
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 0x555fce
push 0xffffffffffffffff
push str.CINTLGNT.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x555fce
push 0xffffffffffffffff
push str.MSTCIPHA.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x555fce
push 0xffffffffffffffff
push str.PINTLGNT.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x555fce
push 0xffffffffffffffff
push str.MSSCIPYA.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
jne 0x5560a9
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x404]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
movzx esi, word [0x7b15e4]
mov ebx, eax
test ebx, ebx
je 0x5560a9
call fcn.005e0060
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 0x5560a9
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x410]
push eax
push 0x6b5bb0
push dword [ebp - 0x40c]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x5560a9
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 [0x7b15d0], 0
jne 0x5560fa
mov eax, 0x404
cmp si, ax
jne 0x5560d8
cmp ecx, 0x4020000
je 0x5560fa
cmp ecx, 0x4030000
je 0x5560fa
cmp ecx, 0x4040000
je 0x5560fa
cmp ecx, 0x5000000
je 0x5560fa
cmp ecx, 0x5010000
je 0x5560fa
cmp ecx, 0x5020000
je 0x5560fa
cmp ecx, 0x6000000
je 0x5560fa
mov dword [0x7b1698], 0
mov dword [0x7b1694], 0
xor eax, eax
lea esp, [ebp - 0x420]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005df41a
mov esp, ebp
pop ebp
ret 4
mov eax, 0x804
cmp si, ax
jne 0x5560a9
cmp ecx, 0x4010000
je 0x5560fa
cmp ecx, 0x4020000
je 0x5560fa
cmp ecx, 0x5030000
jne 0x5560a9
mov eax, esi
or eax, ecx
mov dword [0x7b1694], eax
mov eax, dword [edx + 0xc]
mov dword [0x7b1698], eax
mov eax, dword [edi*4 + 0x7b1694]
jmp 0x5560bf
Function at 0x556220
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x763480]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x7b15e4]
push ebx
cmp eax, 0xe00e0804
je 0x5563ee
cmp eax, 0xe0090404
je 0x5563ee
mov ebx, dword [0x7b1694]
test ebx, ebx
je 0x5563ee
xor cl, cl
mov edx, 0x404
mov byte [ebp - 0x109], cl
cmp ax, dx
jne 0x5563dd
movups xmm0, xmmword [str.softwaremicrosoftwindowscurrentversion_]
mov ax, word [0x6b84d8]
and ebx, 0xffff0000
mov word [ebp - 0xe0], ax
cmp ebx, 0x5010000
mov al, byte [0x6b84da]
mov edx, str.MSTCIPH
movups xmmword [ebp - 0x108], xmm0
mov byte [ebp - 0xde], al
mov eax, str.TINTLGNT
movups xmm0, xmmword [0x6b84c0]
push esi
cmovb edx, eax
movups xmmword [ebp - 0xf8], xmm0
mov esi, edx
movq xmm0, qword [0x6b84d0]
push edi
movq qword [ebp - 0xe8], xmm0
mov al, byte [edx]
inc edx
test al, al
jne 0x5562d4
lea edi, [ebp - 0x108]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x5562e4
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 0x5563c8
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 0x5563a5
mov eax, dword [ebp - 0x118]
cmp ebx, 0x5000000
ja 0x556370
cmp al, 0x22
je 0x556386
cmp al, 0x23
je 0x556386
cmp ebx, 0x5010000
je 0x556380
cmp ebx, 0x5020000
jne 0x5563a5
sub al, 0x22
cmp al, 2
ja 0x5563a5
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.005df41a
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.005df41a
mov esp, ebp
pop ebp
ret
mov al, byte [ebp - 0x109]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005df41a
mov esp, ebp
pop ebp
ret
mov al, cl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005df41a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop ebx
call fcn.005df41a
mov esp, ebp
pop ebp
ret
Function at 0x556610
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x763480]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x7b15d8], 0
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
jne 0x5567d8
cmp byte [0x7b32f0], 0
mov dword [0x7b15e0], eax
jne 0x556672
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x556672
push 0x7b32ec
push 0x6b83e0
push 1
push 0
push 0x6e2330
mov byte [0x7b32f0], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
push 0x7b15f8
mov dword [0x7b15f8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 0x105
lea eax, [ebp - 0x10c]
mov byte [0x7b15d9], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x55675a
lea ecx, [ebp - 0x10c]
dec ecx
nop
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x5566b0
mov eax, dword [0x6b83f0]
mov dword [ecx], eax
mov eax, dword [0x6b83f4]
mov dword [ecx + 4], eax
mov ax, word [0x6b83f8]
mov word [ecx + 8], ax
mov al, byte [0x6b83fa]
mov byte [ecx + 0xa], al
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x7b15f4], eax
test eax, eax
je 0x556753
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ImmLockIMC
push eax
call esi
push str.ImmUnlockIMC
push dword [0x7b15f4]
mov dword [0x7b15c0], eax
call esi
push str.ImmLockIMCC
push dword [0x7b15f4]
mov dword [0x7b15c4], eax
call esi
push str.ImmUnlockIMCC
push dword [0x7b15f4]
mov dword [0x7b15c8], eax
call esi
push str.ImmDisableTextFrameService
push dword [0x7b15f4]
mov dword [0x7b15cc], eax
call esi
pop esi
test eax, eax
je 0x55675a
push 0xffffffffffffffff
call eax
jmp 0x55675a
mov byte [0x7b15d9], 1
push dword [0x7b15e0]
mov byte [0x7b15d8], 1
call sub.IMM32.dll_ImmGetContext
push eax
mov dword [edi + 4], eax
push dword [0x7b15e0]
call sub.IMM32.dll_ImmReleaseContext
call fcn.00555530
call fcn.00555500
push 2
call fcn.00557770
add esp, 4
call fcn.00557b20
test eax, eax
setne byte [0x7b15da]
call fcn.005556a0
cmp byte [0x7b15da], 0
je 0x5567d8
mov eax, dword [0x7b15e4]
and eax, 0x3ff
cmp eax, 4
jne 0x5567c7
call fcn.005558e0
test eax, eax
je 0x5567c7
mov al, 1
jmp 0x5567c9
xor al, al
push 0
mov byte [0x7b15dd], al
call fcn.00557ce0
add esp, 4
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop edi
call fcn.005df41a
mov esp, ebp
pop ebp
ret 4
Function at 0x556e80
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68e3d0
mov eax, dword fs:[0]
push eax
sub esp, 0x828
mov eax, dword [0x763480]
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 eax, ecx
mov dword [ebp - 0x834], eax
cmp byte [eax + 0x20], 0
je 0x5570a0
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x5570a0
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
mov dword [ebp - 0x830], ebx
test ebx, ebx
je 0x556efe
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
mov dword [ebp - 0x82c], edi
test edi, edi
jne 0x556f09
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x5570a0
mov esi, edi
mov dword [ebp - 0x828], 0
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 0xf
mov byte [ebp - 0x828], 0
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x556f33
sub esi, ecx
cmp esi, 0xf
ja 0x556f62
push esi
lea eax, [ebp - 0x828]
mov dword [ebp - 0x818], esi
push edi
push eax
call fcn.00627190
mov byte [ebp + esi - 0x828], 0
jmp 0x556fef
cmp esi, 0x7fffffff
ja 0x5570bc
mov edi, esi
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x556f92
mov eax, closesocket
mov edi, closesocket
push eax
call fcn.004552f0
add esp, 4
mov ebx, eax
jmp 0x556fc6
mov eax, 0x16
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x1000
jb 0x556fb3
push eax
call fcn.004552f0
add esp, 4
mov ebx, eax
jmp 0x556fc6
test eax, eax
je 0x556fc4
push eax
call fcn.005df3dc
add esp, 4
mov ebx, eax
jmp 0x556fc6
xor ebx, ebx
push esi
push dword [ebp - 0x82c]
mov dword [ebp - 0x818], esi
push ebx
mov dword [ebp - 0x814], edi
call fcn.00627190
mov byte [ebx + esi], 0
mov dword [ebp - 0x828], ebx
mov ebx, dword [ebp - 0x830]
add esp, 0xc
push ebx
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 0x55706a
cmp dword [ebp - 0x814], 0x10
lea ecx, [ebp - 0x828]
push 0x400
cmovae ecx, dword [ebp - 0x828]
lea edx, [ebp - 0x810]
push edx
add eax, ecx
sub eax, ecx
push eax
push ecx
push 0
push dword [0x7b32dc]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jle 0x55706a
mov ecx, dword [ebp - 0x834]
push eax
lea eax, [ebp - 0x810]
push eax
call fcn.005567f0
mov ecx, dword [0x7b2ac0]
test ecx, ecx
je 0x55706a
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x814]
cmp edx, 0x10
jb 0x5570a0
mov ecx, dword [ebp - 0x828]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x557096
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5570c1
push edx
push ecx
call fcn.005df40c
add esp, 8
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.005df41a
mov esp, ebp
pop ebp
ret
call fcn.004556d0
call fcn.00631407
int3
Function at 0x55a2f0
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 0x55a309
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 0x55a360
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68e5b5
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x763480]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.CWikiRenderTarget.0
mov dword [edi + 4], 0
lea ebx, [edi + 8]
mov dword [ebp - 4], 0
mov dword [ebx], 0
mov dword [edi + 0xc], 0
mov byte [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
push 0x50
mov byte [ebp - 4], 2
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0x3f800000
call fcn.005df3dc
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x55a41f
mov ecx, eax
call fcn.00558460
mov esi, eax
jmp 0x55a421
xor esi, esi
push 0x50
push 0x16
push dword [ebp + 0xc]
mov ecx, esi
mov byte [ebp - 4], 2
push dword [ebp + 8]
call fcn.005585c0
test al, al
je 0x55a46f
lea eax, [ebp + 0xc]
cmp ebx, eax
je 0x55a44d
mov ecx, dword [ebx]
mov dword [ebx], esi
test ecx, ecx
je 0x55a459
mov eax, dword [ecx]
jmp 0x55a455
test esi, esi
je 0x55a459
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov eax, edi
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 dword [ebp + 0xc]
push dword [ebp + 8]
push str.CWikiRenderTarget::CWikiRenderTarget:_Could_not_create_CGraphicRenderTargetTexture__dx_d
call fcn.0051ef80
add esp, 0xc
test esi, esi
je 0x55a48e
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
push str.CWikiRenderTarget::CWikiRenderTarget:_Could_not_create_CGraphicRenderTargetTexture
lea ecx, [ebp - 0x20]
call fcn.0052ebe0
push 0x739cd4
lea eax, [ebp - 0x20]
push eax
call fcn.00626d64
int3

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

Disassembly:
push ebp
mov ebp, esp
push 0x10
lea eax, [ecx + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ecx + 0xc]
call sub.WS2_32.dll_sendto
test eax, eax
jns 0x55ad50
push str.Failed_sending_packet_n
call fcn.0051f0f0
add esp, 4
xor eax, eax
pop ebp
ret 8
mov eax, 1
pop ebp
ret 8
Function at 0x55ad60
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
push 0
push 2
push 2
mov dword [ebx + 4], 1
mov word [ebx + 8], di
mov word [ebx + 0xa], si
call sub.WS2_32.dll_socket
mov dword [ebx + 0xc], eax
xorps xmm0, xmm0
movups xmmword [ebx + 0x10], xmm0
mov eax, 2
mov dword [ebx + 0x14], edi
push esi
mov word [ebx + 0x10], ax
call sub.WS2_32.dll_htons
pop edi
mov word [ebx + 0x12], ax
mov eax, 1
pop esi
pop ebx
pop ebp
ret 8
Function at 0x55fb60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68e925
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x763480]
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 0x55fb97
mov edx, dword [edi]
mov ecx, dword [edi + 0x10]
xor esi, esi
add ecx, edx
cmp edx, ecx
jae 0x55fbb2
movzx eax, byte [edx]
inc edx
imul esi, esi, 0x1000193
xor esi, eax
cmp edx, ecx
jb 0x55fba2
push esi
push edi
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.0055f9a0
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x55fbe3
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 0x55fd42
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], eax
push 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
call fcn.005df3dc
add esp, 4
mov edi, eax
mov dword [ebp - 0x18], edi
push dword [ebp + 0xc]
lea ecx, [edi + 8]
call fcn.00455a50
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 + 0x69d270]
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 + 0x69d270]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x55fce0
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x14], xmm0
fld qword [ebp - 0x14]
fstp qword [esp]
call fcn.0063aae0
fstp qword [ebp - 0x14]
movsd xmm0, qword [ebp - 0x14]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.005dfa90
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x55fcc4
cmp eax, 0x200
jae 0x55fcc2
shl eax, 3
cmp eax, ecx
jae 0x55fcc4
mov eax, ecx
push eax
mov ecx, ebx
call fcn.00561270
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0055f9a0
mov edx, dword [eax]
jmp 0x55fce3
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 8]
mov ecx, dword [edx + 4]
inc eax
mov dword [ebx + 8], eax
mov dword [edi], edx
mov dword [edi + 4], ecx
mov dword [ecx], edi
mov dword [edx + 4], edi
mov eax, dword [ebx + 0x18]
mov dword [ebp + 0xc], ecx
and eax, esi
mov ecx, dword [ebx + 0xc]
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x55fd0f
mov dword [ecx + eax*8], edi
jmp 0x55fd21
cmp esi, edx
jne 0x55fd18
mov dword [ecx + eax*8], edi
jmp 0x55fd25
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x55fd25
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.005dc888
int3
Function at 0x563ab0
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, ecx
push 0x69da04
lea esi, [edi + 0x255]
push esi
call fcn.00634963
add esp, 8
test eax, eax
je 0x563ada
push eax
call fcn.006346f4
add esp, 4
mov al, 1
pop edi
pop esi
ret
cmp byte [edi + 0x364], 0
jne 0x563b34
push 0x69da0c
push esi
call fcn.00634963
mov esi, eax
add esp, 8
test esi, esi
je 0x563b34
push esi
push 1
push 4
push str.EPKD
call fcn.0063a6d6
push esi
push 1
push 4
push 0x6b8ae4
call fcn.0063a6d6
push esi
push 1
lea eax, [edi + 0x150]
push 4
push eax
call fcn.0063a6d6
push esi
call fcn.006346f4
add esp, 0x34
mov al, 1
pop edi
pop esi
ret
pop edi
xor al, al
pop esi
ret

Function at 0x563b40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x13f4], 0x20
je 0x563b56
xor al, al
pop esi
pop ebp
ret 4
cmp byte [esi + 0x365], 0
jne 0x563b95
cmp dword [esi + 0x13f8], 0x10
push edi
lea edi, [esi + 0x13e4]
jb 0x563b71
mov edi, dword [edi]
mov edx, dword [ebp + 8]
xor ecx, ecx
xor dword [edi + ecx*4], edx
inc ecx
mov eax, dword [esi + 0x13f4]
add edx, 0x1000193
shr eax, 2
cmp ecx, eax
jne 0x563b76
mov byte [esi + 0x365], 1
pop edi
mov al, 1
pop esi
pop ebp
ret 4

Function at 0x564b20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x763480]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x564be4
cmp byte [esi + 0x3e], 0
je 0x564be4
mov eax, dword [esi]
push edi
push 0xffff
call dword [eax + 0xc]
mov ecx, 0xffff
cmp cx, ax
je 0x564bd2
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x564b9a
sub eax, 1
je 0x564b9e
sub eax, 2
jne 0x564bd2
mov byte [esi + 0x3e], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005df41a
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3e], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x564bbb
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0063a6d6
add esp, 0x10
cmp edi, eax
jne 0x564bd2
cmp byte [esi + 0x3e], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005df41a
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005df41a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.005df41a
mov esp, ebp
pop ebp
ret
Function at 0x5665b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x763480]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, 0xffff
mov esi, ecx
cmp ax, di
jne 0x5665e5
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005df41a
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x566623
mov edx, dword [esi + 0x30]
mov ebx, dword [edx]
lea eax, [ecx + ebx*2]
cmp ecx, eax
jae 0x566623
lea ecx, [ebx - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], di
pop ebx
mov ax, di
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005df41a
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x566702
mov ebx, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [ebx], eax
jne 0x56664d
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [ebx], ecx
mov eax, dword [esi + 0x1c]
sar edx, 1
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x566686
push dword [esi + 0x4c]
push edi
call fcn.0063ff3c
mov ecx, 0xffff
add esp, 8
cmp ax, cx
movzx eax, di
jne 0x566707
pop ebx
pop edi
mov eax, ecx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005df41a
mov esp, ebp
pop ebp
ret 4
movzx eax, di
mov dword [ebp - 0x28], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x26]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x5666d5
sub eax, 1
je 0x5666d5
sub eax, 2
jne 0x566702
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.005619e0
add esp, 8
test al, al
movzx eax, di
jne 0x566707
jmp 0x566702
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub ebx, eax
je 0x5666f2
push dword [esi + 0x4c]
push ebx
push 1
push eax
call fcn.0063a6d6
add esp, 0x10
cmp ebx, eax
jne 0x566702
lea eax, [ebp - 0x28]
mov byte [esi + 0x3e], 1
cmp dword [ebp - 0x30], eax
jne 0x56660d
mov eax, 0xffff
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.005df41a
mov esp, ebp
pop ebp
ret 4