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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x75868c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp edi, 2
jae 0x586b0d
mov ecx, dword [0x79cf24]
cmp dword [0x79ec48], ecx
je 0x586b5b
cmp byte [0x79cf1a], 0
mov eax, 0x404
mov dword [0x79ec48], ecx
je 0x58692b
cmp cx, ax
jne 0x58692b
mov dword [0x79cfd4], 0x7000404
mov eax, 0x7000404
mov dword [0x79cfd8], 0
jmp 0x586b0f
cmp ecx, 0xe0080404
je 0x586957
cmp ecx, 0xe0090404
je 0x586957
cmp ecx, 0xe00a0404
je 0x586957
cmp ecx, 0xe00b0404
je 0x586957
cmp ecx, 0xe00e0804
jne 0x586af9
push 0x3ff
lea eax, [ebp - 0x404]
push eax
push ecx
call sub.IMM32.dll_ImmGetIMEFileNameA
test eax, eax
je 0x586af9
cmp dword [0x79cf10], 0
jne 0x586a1e
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 0x586a1e
push 0xffffffffffffffff
push str.CINTLGNT.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x586a1e
push 0xffffffffffffffff
push str.MSTCIPHA.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x586a1e
push 0xffffffffffffffff
push str.PINTLGNT.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x586a1e
push 0xffffffffffffffff
push str.MSSCIPYA.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
jne 0x586af9
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x404]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
movzx esi, word [0x79cf24]
mov ebx, eax
test ebx, ebx
je 0x586af9
call fcn.00618750
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 0x586af9
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x410]
push eax
push 0x70ae6c
push dword [ebp - 0x40c]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x586af9
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 [0x79cf10], 0
jne 0x586b4a
mov eax, 0x404
cmp si, ax
jne 0x586b28
cmp ecx, 0x4020000
je 0x586b4a
cmp ecx, 0x4030000
je 0x586b4a
cmp ecx, 0x4040000
je 0x586b4a
cmp ecx, 0x5000000
je 0x586b4a
cmp ecx, 0x5010000
je 0x586b4a
cmp ecx, 0x5020000
je 0x586b4a
cmp ecx, 0x6000000
je 0x586b4a
mov dword [0x79cfd8], 0
mov dword [0x79cfd4], 0
xor eax, eax
lea esp, [ebp - 0x420]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00617a25
mov esp, ebp
pop ebp
ret 4
mov eax, 0x804
cmp si, ax
jne 0x586af9
cmp ecx, 0x4010000
je 0x586b4a
cmp ecx, 0x4020000
je 0x586b4a
cmp ecx, 0x5030000
jne 0x586af9
mov eax, esi
or eax, ecx
mov dword [0x79cfd4], eax
mov eax, dword [edx + 0xc]
mov dword [0x79cfd8], eax
mov eax, dword [edi*4 + 0x79cfd4]
jmp 0x586b0f
Function at 0x586ca0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x75868c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x79cf24]
push ebx
cmp eax, 0xe00e0804
je 0x586e6e
cmp eax, 0xe0090404
je 0x586e6e
mov ebx, dword [0x79cfd4]
test ebx, ebx
je 0x586e6e
xor cl, cl
mov edx, 0x404
mov byte [ebp - 0x109], cl
cmp ax, dx
jne 0x586e5d
movups xmm0, xmmword [str.softwaremicrosoftwindowscurrentversion_]
mov ax, word [0x6c4884]
and ebx, 0xffff0000
mov word [ebp - 0xe0], ax
cmp ebx, 0x5010000
mov al, byte [0x6c4886]
mov edx, str.MSTCIPH
movups xmmword [ebp - 0x108], xmm0
mov byte [ebp - 0xde], al
mov eax, str.TINTLGNT
movups xmm0, xmmword [0x6c486c]
push esi
cmovb edx, eax
movups xmmword [ebp - 0xf8], xmm0
mov esi, edx
movq xmm0, qword [0x6c487c]
push edi
movq qword [ebp - 0xe8], xmm0
mov al, byte [edx]
inc edx
test al, al
jne 0x586d54
lea edi, [ebp - 0x108]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x586d64
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 connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
pop edi
pop esi
test eax, eax
jne 0x586e48
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 0x586e25
mov eax, dword [ebp - 0x118]
cmp ebx, 0x5000000
ja 0x586df0
cmp al, 0x22
je 0x586e06
cmp al, 0x23
je 0x586e06
cmp ebx, 0x5010000
je 0x586e00
cmp ebx, 0x5020000
jne 0x586e25
sub al, 0x22
cmp al, 2
ja 0x586e25
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.00617a25
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.00617a25
mov esp, ebp
pop ebp
ret
mov al, byte [ebp - 0x109]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00617a25
mov esp, ebp
pop ebp
ret
mov al, cl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00617a25
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop ebx
call fcn.00617a25
mov esp, ebp
pop ebp
ret
Function at 0x5879b0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a7c00
mov eax, dword fs:[0]
push eax
sub esp, 0x828
mov eax, dword [0x75868c]
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 edi, ecx
mov dword [ebp - 0x830], edi
cmp byte [edi + 0x20], 0
je 0x587bca
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x587bca
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x834], eax
test eax, eax
je 0x587bca
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
mov dword [ebp - 0x82c], ebx
test ebx, ebx
je 0x587bca
mov dword [ebp - 0x828], 0
mov esi, ebx
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 0xf
mov byte [ebp - 0x828], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x587a60
sub esi, ecx
cmp esi, 0xf
ja 0x587a8f
push esi
lea eax, [ebp - 0x828]
mov dword [ebp - 0x818], esi
push ebx
push eax
call fcn.00645880
mov byte [ebp + esi - 0x828], 0
jmp 0x587b1c
cmp esi, 0x7fffffff
ja 0x587be6
mov edi, esi
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x587abf
mov eax, connect
mov edi, SysReAllocString
push eax
call fcn.0047b730
add esp, 4
mov ebx, eax
jmp 0x587af3
mov eax, 0x16
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x1000
jb 0x587ae0
push eax
call fcn.0047b730
add esp, 4
mov ebx, eax
jmp 0x587af3
test eax, eax
je 0x587af1
push eax
call fcn.00617a38
add esp, 4
mov ebx, eax
jmp 0x587af3
xor ebx, ebx
push esi
push dword [ebp - 0x82c]
mov dword [ebp - 0x818], esi
push ebx
mov dword [ebp - 0x814], edi
call fcn.00645880
mov edi, dword [ebp - 0x830]
mov byte [ebx + esi], 0
mov dword [ebp - 0x828], ebx
add esp, 0xc
push dword [ebp - 0x834]
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 0x818]
test eax, eax
je 0x587b94
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 [0x79ec1c]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
lea eax, [ebp - 0x810]
mov ecx, edi
push eax
call fcn.00587330
mov ecx, dword [0x79e400]
test ecx, ecx
je 0x587b94
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x814]
cmp edx, 0x10
jb 0x587bca
mov ecx, dword [ebp - 0x828]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x587bc0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x587beb
push edx
push ecx
call fcn.00617a75
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.00617a25
mov esp, ebp
pop ebp
ret
call fcn.00475380
call fcn.006533c4
int3
Function at 0x5895b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a7c75
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x75868c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov ecx, dword [esi]
mov edi, ecx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], 0
mov eax, dword [ecx + 4]
mov dword [ebp - 0x14], eax
cmp byte [eax + 0xd], 0
jne 0x58964f
mov esi, eax
nop dword [eax]
cmp dword [ebx + 0x14], 0x10
lea eax, [esi + 0x10]
mov dword [ebp - 0x14], esi
mov ecx, ebx
jb 0x589610
mov ecx, dword [ebx]
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x58961b
mov eax, dword [eax]
push dword [ebx + 0x10]
push ecx
push edx
push eax
call fcn.00484f50
add esp, 0x10
test eax, eax
je 0x58963b
jns 0x58963b
mov esi, dword [esi + 8]
mov dword [ebp - 0x10], 0
jmp 0x589646
mov edi, esi
mov dword [ebp - 0x10], 1
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
je 0x589600
mov esi, dword [ebp - 0x18]
cmp byte [edi + 0xd], 0
jne 0x58969e
cmp dword [edi + 0x24], 0x10
lea eax, [edi + 0x10]
mov edx, dword [eax + 0x10]
jb 0x589663
mov eax, dword [eax]
cmp dword [ebx + 0x14], 0x10
mov ecx, ebx
jb 0x58966d
mov ecx, dword [ebx]
push edx
push eax
push dword [ebx + 0x10]
push ecx
call fcn.00484f50
add esp, 0x10
test eax, eax
je 0x589681
js 0x58969e
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
cmp dword [esi + 4], 0x4ec4ec4
je 0x589741
mov dword [ebp - 0x24], esi
push 0x34
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
call fcn.00617a38
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
push ebx
lea ecx, [edi + 0x10]
mov dword [ebp - 4], 1
call fcn.00478b10
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x1c]
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 - 0x1c]
mov dword [edi + 0x2c], ecx
mov ecx, dword [ebp - 0x18]
push edi
push dword [ebp - 0x10]
mov dword [edi + 0x30], edx
push dword [ebp - 0x14]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov word [edi + 0xc], 0
call fcn.00485890
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.0047df40
int3

Function at 0x58ff50
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 0x58ff80
push str.Failed_sending_packet_n
call fcn.00555fe0
add esp, 4
xor eax, eax
pop ebp
ret 8
mov eax, 1
pop ebp
ret 8
Function at 0x58ff90
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 0x5909b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a834a
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x75868c]
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
push 0x50
mov byte [ebp - 4], 1
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0x3f800000
call fcn.00617a38
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x590a68
mov ecx, eax
call fcn.00588fb0
mov esi, eax
jmp 0x590a6a
xor esi, esi
push 0x50
push 0x16
push dword [ebp + 0xc]
mov ecx, esi
mov byte [ebp - 4], 1
push dword [ebp + 8]
call fcn.00589100
test al, al
je 0x590ab8
lea eax, [ebp + 0xc]
cmp ebx, eax
je 0x590a96
mov ecx, dword [ebx]
mov dword [ebx], esi
test ecx, ecx
je 0x590aa2
mov eax, dword [ecx]
jmp 0x590a9e
test esi, esi
je 0x590aa2
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.00555e70
add esp, 0xc
test esi, esi
je 0x590ad7
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.00590b00
push 0x725958
lea eax, [ebp - 0x20]
push eax
call fcn.00645807
int3
Function at 0x596790
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a8695
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x75868c]
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 0x5967ca
mov edx, dword [ebx]
mov ecx, dword [ebx + 0x10]
xor edi, edi
add ecx, edx
cmp edx, ecx
jae 0x5967e5
movzx eax, byte [edx]
inc edx
imul edi, edi, 0x1000193
xor edi, eax
cmp edx, ecx
jb 0x5967d5
push edi
push ebx
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.005965d0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x596816
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 0x59697d
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.00617a38
add esp, 4
mov ebx, eax
mov dword [ebp - 0x20], ebx
push dword [ebp + 0xc]
lea ecx, [ebx + 8]
call fcn.00478b10
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 + 0x70b760]
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 + 0x70b760]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x596919
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x1c], xmm0
fld qword [ebp - 0x1c]
fstp qword [esp]
call fcn.0065e740
fstp qword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x1c]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.00618560
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [esi + 0x1c]
cmp eax, ecx
jae 0x5968fd
cmp eax, 0x200
jae 0x5968fb
shl eax, 3
cmp eax, ecx
jae 0x5968fd
mov eax, ecx
push eax
mov ecx, esi
call fcn.005981f0
push edi
lea eax, [ebx + 8]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.005965d0
mov edx, dword [eax]
jmp 0x59691c
mov edx, dword [ebp - 0x1c]
mov eax, dword [esi + 8]
mov ecx, dword [edx + 4]
inc eax
mov dword [esi + 8], eax
mov dword [ebx], edx
mov dword [ebx + 4], ecx
mov dword [ecx], ebx
mov dword [edx + 4], ebx
mov eax, dword [esi + 0x18]
and eax, edi
mov dword [ebp + 0xc], ecx
mov ecx, dword [esi + 0xc]
mov edi, dword [ebp - 0x14]
mov esi, dword [ecx + eax*8]
cmp esi, dword [edi]
jne 0x59694a
mov dword [ecx + eax*8], ebx
jmp 0x59695c
cmp esi, edx
jne 0x596953
mov dword [ecx + eax*8], ebx
jmp 0x596960
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x596960
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.006155eb
int3
Function at 0x596990
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov edx, esi
cmp dword [esi + 0x14], 0x10
jb 0x5969a7
mov edx, dword [esi]
push edi
mov edi, dword [esi + 0x10]
xor ecx, ecx
add edi, edx
cmp edx, edi
jae 0x5969c3
movzx eax, byte [edx]
inc edx
imul ecx, ecx, 0x1000193
xor ecx, eax
cmp edx, edi
jb 0x5969b3
push ecx
push esi
lea eax, [ebp - 8]
mov ecx, ebx
push eax
call fcn.005965d0
pop edi
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x5969de
mov ecx, dword [ebx + 4]
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x59c670
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, ecx
push 0x6ef518
lea esi, [edi + 0x255]
push esi
call fcn.006534e2
add esp, 8
test eax, eax
je 0x59c69a
push eax
call fcn.00653570
add esp, 4
mov al, 1
pop edi
pop esi
ret
cmp byte [edi + 0x364], 0
jne 0x59c6f4
push 0x6ef4e8
push esi
call fcn.006534e2
mov esi, eax
add esp, 8
test esi, esi
je 0x59c6f4
push esi
push 1
push 4
push str.EPKD
call fcn.00653813
push esi
push 1
push 4
push 0x6c511c
call fcn.00653813
push esi
push 1
lea eax, [edi + 0x150]
push 4
push eax
call fcn.00653813
push esi
call fcn.00653570
add esp, 0x34
mov al, 1
pop edi
pop esi
ret
pop edi
xor al, al
pop esi
ret

Function at 0x59c880
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x13f4], 0x20
je 0x59c896
xor al, al
pop esi
pop ebp
ret 4
cmp byte [esi + 0x365], 0
jne 0x59c8d5
cmp dword [esi + 0x13f8], 0x10
push edi
lea edi, [esi + 0x13e4]
jb 0x59c8b1
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 0x59c8b6
mov byte [esi + 0x365], 1
pop edi
mov al, 1
pop esi
pop ebp
ret 4

Function at 0x59de80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x75868c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x59df44
cmp byte [esi + 0x3e], 0
je 0x59df44
mov eax, dword [esi]
push edi
push 0xffff
call dword [eax + 0xc]
mov ecx, 0xffff
cmp cx, ax
je 0x59df32
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 0x59defa
sub eax, 1
je 0x59defe
sub eax, 2
jne 0x59df32
mov byte [esi + 0x3e], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00617a25
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3e], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x59df1b
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00653813
add esp, 0x10
cmp edi, eax
jne 0x59df32
cmp byte [esi + 0x3e], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00617a25
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00617a25
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.00617a25
mov esp, ebp
pop ebp
ret
Function at 0x59f540
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x75868c]
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 0x59f575
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00617a25
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x59f5b3
mov edx, dword [esi + 0x30]
mov ebx, dword [edx]
lea eax, [ecx + ebx*2]
cmp ecx, eax
jae 0x59f5b3
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.00617a25
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x59f692
mov ebx, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [ebx], eax
jne 0x59f5dd
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 0x59f616
push dword [esi + 0x4c]
push edi
call fcn.0065eca2
mov ecx, 0xffff
add esp, 8
cmp ax, cx
movzx eax, di
jne 0x59f697
pop ebx
pop edi
mov eax, ecx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00617a25
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 0x59f665
sub eax, 1
je 0x59f665
sub eax, 2
jne 0x59f692
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.00598a40
add esp, 8
test al, al
movzx eax, di
jne 0x59f697
jmp 0x59f692
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub ebx, eax
je 0x59f682
push dword [esi + 0x4c]
push ebx
push 1
push eax
call fcn.00653813
add esp, 0x10
cmp ebx, eax
jne 0x59f692
lea eax, [ebp - 0x28]
mov byte [esi + 0x3e], 1
cmp dword [ebp - 0x30], eax
jne 0x59f59d
mov eax, 0xffff
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.00617a25
mov esp, ebp
pop ebp
ret 4