joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433340
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 8], ecx
cmp edx, eax
je 0x4334b3
cmp dword [edx + 0x1c], 8
mov eax, dword [ecx + 4]
push esi
mov dword [ebp - 0x1c], eax
mov esi, edx
mov eax, dword [ecx + 0xc]
push edi
mov dword [ebp - 0x18], eax
lea edi, [edx + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0x10]
jb 0x43337b
mov edi, dword [edi]
xor edx, edx
push ebx
mov ebx, 0x811c9dc5
add eax, eax
je 0x4333a4
mov ecx, eax
nop dword [eax]
movzx eax, byte [edx + edi]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x433390
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x18]
and eax, ebx
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [eax + 4]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], eax
nop dword [eax]
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 8]
call fcn.0040f710
push 0x54
push edi
call fcn.004d24a7
mov eax, dword [ebp - 8]
add esp, 8
dec dword [eax + 8]
cmp ebx, dword [ebp - 0x14]
je 0x43340d
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x4333c0
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x4334a8
mov ecx, dword [ebp - 0x10]
pop ebx
pop edi
mov dword [ecx], esi
mov ecx, dword [ebp - 0xc]
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
jne 0x43341f
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
jmp 0x433422
mov eax, dword [ebp - 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0xc]
cmp esi, eax
je 0x4334a8
nop dword [eax]
cmp dword [esi + 0x1c], 8
lea edx, [esi + 8]
mov ebx, dword [edx + 0x10]
jb 0x43343e
mov edx, dword [edx]
xor ecx, ecx
mov edi, 0x811c9dc5
add ebx, ebx
je 0x433461
nop dword [eax]
movzx eax, byte [ecx + edx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, ebx
jb 0x433450
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x18]
and eax, edi
lea eax, [ecx + eax*8]
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 8]
call fcn.0040f710
push 0x54
push edi
call fcn.004d24a7
mov ecx, dword [ebp - 8]
add esp, 8
mov eax, dword [ebp + 0xc]
dec dword [ecx + 8]
cmp ebx, dword [ebp - 0x14]
je 0x4334b9
cmp esi, eax
jne 0x433478
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov ecx, dword [ebp - 0xc]
pop ebx
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edi, dword [ebp - 0x1c]
mov dword [ecx], edi
mov dword [ecx + 4], edi
cmp esi, eax
jne 0x433430
mov ecx, dword [ebp - 0xc]
pop ebx
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4357e0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5266cb
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x58e5a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
xor edi, edi
mov dword [ebp - 0x224], eax
test eax, eax
je 0x435a1b
test al, 1
je 0x435a0c
mov eax, dword [0x5662bc]
mov dword [ebp - 0x18], eax
mov ax, word [0x5662c0]
mov word [ebp - 0x14], ax
lea eax, [edi + 0x41]
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x220]
push 0x104
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x435a06
xor eax, eax
mov dword [ebp - 0x254], 0
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 7
lea edx, [ecx + 2]
mov word [ebp - 0x254], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x435892
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x254]
call fcn.00408af0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x23c], ax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x22c], 0
lea edx, [eax + 2]
mov dword [ebp - 0x228], 7
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4358f0
sub eax, edx
lea ecx, [ebp - 0x23c]
sar eax, 1
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00408af0
mov dword [ebp - 4], 1
mov eax, dword [0x598650]
cmp eax, dword [0x598654]
je 0x43597a
movups xmm0, xmmword [ebp - 0x254]
mov dword [eax], 0
xor ecx, ecx
mov esi, 7
mov word [ebp - 0x254], cx
movups xmmword [eax], xmm0
mov edx, esi
movq xmm0, qword [ebp - 0x244]
movq qword [eax + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x23c]
movups xmmword [eax + 0x18], xmm0
movq xmm0, qword [ebp - 0x22c]
movq qword [eax + 0x28], xmm0
xor eax, eax
add dword [0x598650], 0x30
mov word [ebp - 0x23c], ax
jmp 0x435993
lea ecx, [ebp - 0x254]
push ecx
push eax
call fcn.00438bb0
mov edx, dword [ebp - 0x228]
mov esi, dword [ebp - 0x240]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x4359d0
mov ecx, dword [ebp - 0x23c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4359c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435a36
push edx
push ecx
call fcn.004d24a7
add esp, 8
cmp esi, 8
jb 0x435a06
mov ecx, dword [ebp - 0x254]
lea edx, [esi*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4359fc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435a36
push edx
push ecx
call fcn.004d24a7
add esp, 8
mov eax, dword [ebp - 0x224]
inc edi
shr eax, 1
mov dword [ebp - 0x224], eax
jne 0x435823
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.004d2a60
mov esp, ebp
pop ebp
ret
call fcn.004e0791
int3
Function at 0x435fc0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5267d6
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x58e5a4]
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, edx
mov esi, ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x2c], 0
call fcn.004106c0
mov ecx, ebx
mov dword [esi], 0
mov edi, eax
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436030
sub ecx, edx
sar ecx, 1
push ecx
push ebx
mov ecx, esi
call fcn.00408af0
mov dword [ebp - 4], 0
mov eax, edi
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x2c], 1
jb 0x436060
mov eax, dword [edi]
push dword [edi + 0x10]
push eax
push ebx
call fcn.004fef1b
add esp, 0xc
test eax, eax
jne 0x4360d3
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4360d3
mov eax, dword [edi + 0x10]
lea eax, [ebx + eax*2]
push eax
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.00410940
add esp, 0xc
mov dword [ebp - 4], 1
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4360cb
lea eax, [ebp - 0x28]
cmp esi, eax
je 0x4360cb
cmp dword [ebp - 0x14], 8
mov ecx, eax
push dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
push ecx
mov ecx, esi
call fcn.00408af0
lea ecx, [ebp - 0x28]
call fcn.00409020
mov eax, esi
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.004d2a60
mov esp, ebp
pop ebp
ret

Function at 0x436130
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x58e5a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov ax, word [0x58f0a8]
mov ecx, 0xffff
cmp ax, cx
jne 0x436164
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ax, word [ebp - 0x28]
mov word [0x58f0a8], ax
mov ecx, 9
cmp cx, ax
mov ecx, dword [ebp - 4]
sete al
xor ecx, ebp
call fcn.004d2a60
mov esp, ebp
pop ebp
ret

Function at 0x4361d0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x58e5a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov ax, word [0x58f0a8]
mov ecx, 0xffff
cmp ax, cx
jne 0x436204
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ax, word [ebp - 0x28]
mov word [0x58f0a8], ax
mov ecx, 0xc
cmp cx, ax
mov ecx, dword [ebp - 4]
sete al
xor ecx, ebp
call fcn.004d2a60
mov esp, ebp
pop ebp
ret
Function at 0x436220
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x58e5a4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x59849a], 0
jne 0x436286
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [ebp - 0x28], 9
je 0x43626c
cmp dword [ebp - 0x10], 0xc
je 0x43626c
xor al, al
mov byte [0x59849a], 1
mov byte [0x59865c], al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d2a60
mov esp, ebp
pop ebp
ret
mov al, 1
mov byte [0x59865c], al
mov byte [0x59849a], al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d2a60
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, byte [0x59865c]
xor ecx, ebp
call fcn.004d2a60
mov esp, ebp
pop ebp
ret
Function at 0x436910
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x58e5a4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, esi
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x436935
mov edi, dword [esi]
test eax, eax
je 0x4369ae
xor edx, edx
mov ecx, edi
cmp word [edi], 0x25
je 0x436952
cmp eax, 1
je 0x436954
add ecx, 2
dec eax
cmp word [ecx], 0x25
jne 0x436943
mov edx, ecx
mov eax, esi
test edx, edx
je 0x4369b0
sub edx, edi
sar edx, 1
cmp edx, 0xffffffff
je 0x4369b0
cmp dword [esi + 0x14], 8
jb 0x43696b
mov eax, dword [esi]
push 0x208
lea ecx, [ebp - 0x414]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x4369ae
lea ecx, [ebp - 0x414]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436990
sub ecx, edx
lea eax, [ebp - 0x414]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00408af0
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004d2a60
mov esp, ebp
pop ebp
ret
Function at 0x444f60
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x528225
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x58e5a4]
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 dword [ebp - 0x18], ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
push 0x5675b0
push 0x17
push 0
push 0x553904
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
js 0x44503c
mov edi, dword [ebp - 0x14]
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
test ebx, ebx
jne 0x444fd3
xor esi, esi
mov dword [ebp - 0x1c], esi
jmp 0x444fea
push ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x445070
mov eax, dword [ebp - 0x20]
push dword [ebp - 0x18]
mov byte [ebp - 4], 2
push 0
push 0
push 0x80
push 0
push 0
push 0
push esi
push edi
call eax
push esi
mov edi, eax
mov byte [ebp - 4], 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
js 0x44503c
mov ecx, ebx
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x445020
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x18]
push ebx
lea ecx, [ecx + 4]
call fcn.00408af0
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x445050
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
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.004d2a60
mov esp, ebp
pop ebp
ret 8
push 0x8007000e
call fcn.0040fbc0
int3

Function at 0x448930
Capabilities:
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x58e5a4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0xa5
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x44896c
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x44897d
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d2a60
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
lea eax, [ebp - 0x20]
push eax
push esi
call edi
test eax, eax
je 0x4489af
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x1c], 1
je 0x4489ae
push 0x1f4
call ebx
lea eax, [ebp - 0x20]
push eax
push esi
call edi
test eax, eax
jne 0x448996
pop ebx
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.004d2a60
mov esp, ebp
pop ebp
ret
Function at 0x44a4c0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x44a557
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44a4e3
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push 2
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x44a545
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
test edi, edi
je 0x44a545
push dword [ebp - 4]
push dword [ebp + 0xc]
push edi
call fcn.004d4210
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.USER32.dll_CloseClipboard]
test esi, esi
je 0x44a557
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x44d850
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52962f
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x58e5a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0
call fcn.004b8ff1
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov byte [ebp - 4], 1
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
mov byte [ebp - 4], 2
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov byte [ebp - 4], 3
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov byte [ebp - 4], 4
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov byte [ebp - 4], 5
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
mov eax, dword [ebp + 8]
test eax, eax
je 0x44d901
push eax
push esi
call fcn.004b9561
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
call fcn.004b8f9e
int3

Function at 0x44f740
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
ret
Function at 0x44ff90
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52a3e6
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x58e5a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.00410080
mov ecx, eax
test ecx, ecx
je 0x450095
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
mov ebx, 1
mov eax, dword [esi]
mov ecx, ebx
mov edi, dword [edi]
mov dword [ebp - 0x10], 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
add eax, 0xffffff80
or ecx, eax
jge 0x450014
push 0x80
mov ecx, esi
call fcn.0040d330
mov ecx, dword [esi]
cmp dword [ecx - 8], 0x80
jl 0x45008b
push edi
push 0x80
push ecx
push dword [ebp + 0x14]
mov dword [ecx - 0xc], 0x80
xor edx, edx
mov eax, dword [esi]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov word [eax + 0x100], dx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edi, eax
test edi, edi
js 0x45008b
mov ecx, dword [esi]
sub ebx, dword [ecx - 4]
mov ecx, dword [ecx - 8]
sub ecx, edi
or ebx, ecx
jge 0x450063
push edi
mov ecx, esi
call fcn.0040d330
mov eax, dword [esi]
cmp edi, dword [eax - 8]
jg 0x45008b
mov dword [eax - 0xc], edi
xor eax, eax
mov ecx, dword [esi]
mov word [ecx + edi*2], ax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x80070057
call fcn.0040fbc0
push 0x80004005
call fcn.0040fbc0
int3

Function at 0x457d00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ae71
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x58e5a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea eax, [edi + 8]
mov dword [edi + 4], 0
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 1
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [ebp - 4], 2
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [edi + 0x20], eax
mov dword [ebp - 4], 4
lea esi, [edi + 0x2c]
mov dword [edi + 0x24], vtable.IQuickFindEditBox.0
mov dword [edi], vtable.CQuickFindEditBox.0
mov dword [edi + 0x24], vtable.CQuickFindEditBox.1.0
mov dword [edi + 0x28], 0
mov dword [ebp - 0x18], esi
call fcn.00410080
mov ecx, eax
test ecx, ecx
je 0x457dda
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 6
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push 5
call esi
push 8
mov dword [edi + 0x30], eax
call esi
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], 0
mov dword [ebp - 4], 0xffffffff
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
push 0x80004005
call fcn.0040fbc0
int3
Function at 0x4584b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52b196
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x58e5a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.00410080
mov ecx, eax
test ecx, ecx
je 0x458594
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
push dword [ebx - 0x20]
mov dword [ebp - 0x10], 1
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
test edi, edi
js 0x45858a
mov eax, dword [esi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or ecx, eax
jge 0x45853b
push edi
mov ecx, esi
call fcn.0040d330
push edi
push dword [esi]
push dword [ebx - 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, 0xffffffff
jne 0x45855e
mov eax, dword [esi]
test eax, eax
je 0x458562
push dword [eax - 8]
push eax
call fcn.004fb6d3
add esp, 8
test eax, eax
js 0x45858a
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x45858a
mov dword [ecx - 0xc], eax
xor edx, edx
mov ecx, dword [esi]
mov word [ecx + eax*2], dx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.0040fbc0
push 0x80004005
call fcn.0040fbc0
int3
Function at 0x459d80
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52b51d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x58e5a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.00459ac0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x459e13
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 [edi + 8], 0x15555555
je 0x459f7d
lea eax, [edi + 4]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
push 0xc
mov dword [ebp - 0x14], 0
call fcn.004d2477
mov ecx, dword [ebx]
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
mov dword [esi + 8], ecx
mov dword [ebp - 4], 1
mov ecx, dword [edi + 8]
mov ebx, dword [edi + 0x1c]
inc ecx
mov eax, ebx
movss xmm3, dword [edi]
shr eax, 0x1f
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x568ca0]
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x568ca0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x459f0d
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x20], xmm0
fld qword [ebp - 0x20]
fstp qword [esp]
call fcn.004fc170
fstp qword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x20]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.004d2c70
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x459eef
cmp ebx, 0x200
jae 0x459eed
shl ebx, 3
cmp ebx, ecx
jae 0x459eef
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.00465f30
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00459ac0
mov edx, dword [eax]
jmp 0x459f10
mov edx, dword [ebp - 0x20]
mov eax, dword [edi + 8]
mov ebx, dword [edx + 4]
inc eax
mov dword [edi + 8], eax
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x14], 0
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x10]
jne 0x459f46
mov dword [ecx + eax*8], esi
jmp 0x459f55
cmp edi, edx
jne 0x459f4f
mov dword [ecx + eax*8], esi
jmp 0x459f59
cmp dword [ecx + eax*8 + 4], ebx
jne 0x459f59
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
mov dword [ebp - 4], 0xffffffff
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.004b8f1e
int3