joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448770
Capabilities:
Delete file
Extract resource via kernel32 functions
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f42e0
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x535a40]
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 - 0x224], ecx
mov eax, dword [ebp + 8]
xor bl, bl
mov esi, dword [ebp + 0xc]
push 0x50209c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x4488db
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x218]
push eax
push 0
push 0x5020a4
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x21c], eax
cmp eax, 0xffffffff
je 0x4488db
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x44885e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, dword [ebp - 0x21c]
test eax, eax
je 0x448864
push 0
lea ecx, [ebp - 0x228]
push ecx
push dword [ebp - 0x220]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne bl
jmp 0x448864
mov esi, dword [ebp - 0x21c]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x4488ce
lea eax, [ebp - 0x21c]
push eax
call fcn.00446230
add esp, 4
mov esi, dword [ebp - 0x21c]
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00445710
test al, al
jne 0x4488b1
test esi, esi
je 0x4488ad
push esi
lea ecx, [ebp - 0x21c]
call fcn.00446730
xor bl, bl
jmp 0x4488ce
mov eax, dword [ebp - 0x224]
lea ecx, [eax + 4]
mov byte [eax + 0x48], 0
mov eax, dword [ecx]
mov dword [ecx], esi
test eax, eax
je 0x4488cc
push eax
call fcn.00446730
mov bl, 1
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov al, bl
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.004c34b7
mov esp, ebp
pop ebp
ret 8
Function at 0x44b5f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x535a40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
mov edi, ecx
mov dword [ebp - 0x1c], 0x17
push eax
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetScrollInfo]
push 1
lea eax, [ebp - 0x20]
push eax
push 2
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_SetScrollInfo]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x44b64d
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x18]
inc eax
cmp ecx, eax
jge 0x44b64d
mov ebx, 5
push ebx
jmp 0x44b650
xor ebx, ebx
push ebx
push dword [edi + 0x24]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 0x3c], ebx
call esi
lea eax, [ebp - 0x20]
push eax
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetScrollInfo]
push 1
lea eax, [ebp - 0x20]
push eax
push 2
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_SetScrollInfo]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x44b69b
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x18]
inc eax
cmp ecx, eax
jge 0x44b69b
mov dword [ebp - 0x38], 5
push 5
jmp 0x44b6a4
mov dword [ebp - 0x38], 0
push 0
push dword [edi + 0x28]
call esi
mov eax, dword [ebp + 8]
add eax, dword [ebp + 0xc]
jne 0x44b6d1
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
push eax
push dword [edi + 4]
movups xmmword [ebp - 0x30], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x28]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp + 0xc], eax
cmp ebx, 5
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
jne 0x44b717
cmp dword [ebp - 0x38], 5
jne 0x44b6eb
push 3
call ebx
mov dword [ebp - 0x34], eax
jmp 0x44b6f2
mov dword [ebp - 0x34], 0
push 2
call ebx
push 2
mov esi, eax
call ebx
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebp - 0x34]
mov edx, dword [ebp + 8]
push 1
push ecx
push esi
push 0
sub edx, eax
push edx
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_MoveWindow]
cmp dword [ebp - 0x38], 5
jne 0x44b754
push 3
call ebx
cmp dword [ebp - 0x3c], 5
mov dword [ebp - 0x34], eax
jne 0x44b732
push 2
call ebx
mov esi, eax
jmp 0x44b734
xor esi, esi
push 3
call ebx
mov ecx, dword [ebp + 0xc]
push 1
push dword [ebp - 0x34]
sub ecx, eax
mov eax, dword [ebp + 8]
sub eax, esi
push eax
push ecx
push 0
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c34b7
mov esp, ebp
pop ebp
ret 8
Function at 0x44b860
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
push esi
push edi
mov edi, ecx
mov esi, 1
bsr ecx, eax
mov eax, esi
mov dword [ebp - 4], edi
shl eax, cl
cmp edx, eax
ja 0x44b9ac
mov ebx, dword [edi + 4]
lea eax, [edx - 1]
or eax, esi
mov dword [ebp - 8], ebx
bsr ecx, eax
push ebx
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [edi + 0xc]
lea eax, [esi + esi]
push eax
call fcn.0044b770
lea eax, [esi - 1]
mov dword [edi + 0x1c], esi
mov dword [edi + 0x18], eax
mov ecx, dword [edi + 4]
mov ecx, dword [ecx]
cmp ecx, ebx
je 0x44b987
mov eax, ecx
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul esi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor esi, edx
movzx edx, byte [eax + 0xa]
imul esi, esi, 0x1000193
xor esi, edx
movzx edx, byte [eax + 0xb]
imul esi, esi, 0x1000193
xor esi, edx
mov edx, dword [edi + 0xc]
imul esi, esi, 0x1000193
and esi, dword [edi + 0x18]
lea ebx, [edx + esi*8]
mov esi, dword [ebx]
mov dword [ebp + 8], ebx
cmp esi, dword [ebp - 8]
jne 0x44b912
mov dword [ebx], eax
mov dword [ebx + 4], eax
jmp 0x44b97c
mov edx, dword [ebx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x44b949
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
cmp edx, eax
je 0x44b944
mov edi, dword [eax + 4]
mov ebx, dword [ebp - 0xc]
mov dword [edi], ecx
mov esi, dword [ecx + 4]
mov dword [esi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [ebx + 4], esi
mov ebx, dword [ebp + 8]
mov dword [ecx + 4], edi
mov dword [eax + 4], edx
mov dword [ebx + 4], eax
jmp 0x44b979
cmp esi, edx
je 0x44b95c
nop dword [eax]
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x44b990
cmp esi, edx
jne 0x44b950
mov ebx, dword [eax + 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov esi, dword [edx + 4]
mov dword [esi], eax
mov dword [edx + 4], edi
mov edx, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], esi
mov dword [edx], eax
mov edi, dword [ebp - 4]
mov eax, ecx
cmp ecx, dword [ebp - 8]
jne 0x44b8c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [eax + 4]
mov ebx, dword [edx]
mov dword [edi], ecx
mov esi, dword [ecx + 4]
mov dword [esi], ebx
mov edx, dword [ebx + 4]
mov dword [edx], eax
mov dword [ebx + 4], esi
mov dword [ecx + 4], edi
mov dword [eax + 4], edx
jmp 0x44b979
push str.invalid_hash_bucket_count
call fcn.004c1a7a
int3
Function at 0x451f60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x101
push 0
push dword [ebp + 0xc]
mov dword [ebp - 8], 0
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x451fcd
push esi
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push str.EulaAccepted
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x451fcd
xor eax, eax
cmp dword [ebp - 8], eax
setne al
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4522b0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
test edi, edi
je 0x45236b
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x45236b
xor esi, esi
cmp dword [edi], ebx
jle 0x452349
nop dword [eax]
nop dword [eax + eax]
push 0x509354
push dword [eax + esi*4]
call fcn.004c9460
add esp, 8
test eax, eax
je 0x452317
mov eax, dword [ebp + 0x10]
push str._accepteula
push dword [eax + esi*4]
call fcn.004c9460
add esp, 8
test eax, eax
je 0x452317
mov eax, dword [ebp + 0x10]
inc esi
xor ebx, ebx
cmp esi, dword [edi]
jl 0x4522e0
jmp 0x452349
mov ecx, dword [edi]
mov ebx, 1
lea eax, [ecx - 1]
cmp esi, eax
jge 0x452344
mov dword [ebp + 0xc], ebx
mov ebx, dword [ebp + 0x10]
nop dword [eax + eax]
mov eax, dword [ebx + esi*4 + 4]
mov dword [ebx + esi*4], eax
inc esi
mov ecx, dword [edi]
lea eax, [ecx - 1]
cmp esi, eax
jl 0x452330
mov ebx, dword [ebp + 0xc]
lea eax, [ecx - 1]
mov dword [edi], eax
push ebx
push dword [ebp + 8]
call fcn.00452470
add esp, 8
mov ecx, 1
test eax, eax
cmovne ebx, ecx
xor eax, eax
pop edi
test ebx, ebx
pop esi
setne al
pop ebx
pop ebp
ret
push str.CommandLineToArgvW
push 1
push str.Shell32.dll
xor edi, edi
call fcn.0042f970
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x452413
push 0x54a96c
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call esi
xor esi, esi
mov ebx, eax
cmp dword [0x54a96c], esi
jle 0x452413
nop dword [eax]
push 0x509354
push dword [ebx + esi*4]
call fcn.004c9460
add esp, 8
test eax, eax
je 0x4523e5
push str._accepteula
push dword [ebx + esi*4]
call fcn.004c9460
add esp, 8
test eax, eax
je 0x4523e5
inc esi
xor edi, edi
cmp esi, dword [0x54a96c]
jl 0x4523b0
jmp 0x452413
mov ecx, dword [0x54a96c]
mov edi, 1
lea eax, [ecx - 1]
cmp esi, eax
jge 0x45240c
mov eax, dword [ebx + esi*4 + 4]
mov dword [ebx + esi*4], eax
inc esi
mov ecx, dword [0x54a96c]
lea eax, [ecx - 1]
cmp esi, eax
jl 0x4523f7
dec ecx
mov dword [0x54a96c], ecx
push edi
push dword [ebp + 8]
call fcn.00452470
add esp, 8
mov ecx, 1
test eax, eax
cmovne edi, ecx
xor eax, eax
test edi, edi
pop edi
pop esi
setne al
pop ebx
pop ebp
ret
Function at 0x454670
Capabilities:
Create thread

Disassembly:
push 0x54a974
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
push 0
push 0x405c70
call fcn.004d6098
add esp, 0xc
ret

Function at 0x456170
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 8], eax
lea eax, [ebp + 0xc]
push eax
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ecx
push eax
push 0x455fa0
push 0
push 0
call fcn.004d6126
add esp, 0x18
mov esi, eax
push 0x3a98
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4561cc
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x5b4
pop esi
mov esp, ebp
pop ebp
ret 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x456fc0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [0x535a40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 0x434], eax
push edi
mov byte [ebp - 0x42d], 0
mov dword [eax], esi
nop dword [eax]
push ebx
push 0x18
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0x18
je 0x456ff0
cmp edi, 0xffffffff
je 0x45718a
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x42c], 0x428
push eax
push edi
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
jne 0x457051
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x45718c
pop edi
movzx eax, ax
pop esi
or eax, 0x80070000
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x40c]
push str.mscorlib
push eax
call fcn.004c580a
add esp, 8
test eax, eax
je 0x457076
mov bl, 1
mov byte [ebp - 0x42d], bl
jmp 0x45715e
lea eax, [ebp - 0x40c]
push str.clr.dll
push eax
call fcn.004c9460
add esp, 8
test eax, eax
je 0x4570c2
lea eax, [ebp - 0x40c]
push str.mscorwks.dll
push eax
call fcn.004c9460
add esp, 8
test eax, eax
je 0x4570c2
lea eax, [ebp - 0x40c]
push str.mscorsvr.dll
push eax
call fcn.004c9460
add esp, 8
test eax, eax
jne 0x457158
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.004c5767
add esp, 8
test eax, eax
je 0x457158
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.004c5767
add esp, 8
test eax, eax
je 0x457158
lea edx, [eax + 2]
mov ecx, edx
lea ebx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x457100
sub ecx, ebx
sar ecx, 1
cmp ecx, 4
jb 0x457158
movzx ecx, word [edx + 2]
cmp ecx, 0x31
jne 0x457137
movzx eax, word [edx + 6]
mov edx, eax
cmp eax, 0x30
jne 0x45712d
or esi, 1
jmp 0x457158
cmp edx, 0x31
jne 0x457137
or esi, 2
jmp 0x457158
cmp ecx, 0x32
jne 0x457141
or esi, 4
jmp 0x457158
cmp ecx, 0x34
je 0x457155
cmp ecx, 0x35
je 0x457155
cmp ecx, 0x36
je 0x457155
cmp ecx, 0x37
jne 0x457158
or esi, 8
mov bl, byte [ebp - 0x42d]
lea eax, [ebp - 0x42c]
push eax
push edi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x457051
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x45718a
test esi, esi
je 0x45718a
mov eax, dword [ebp - 0x434]
mov dword [eax], esi
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c34b7
mov esp, ebp
pop ebp
ret
Function at 0x45a940
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
test eax, eax
jne 0x45a972
mov esi, str.Counter_009
mov ebx, str.Last_Counter
jmp 0x45a985
cmp eax, 1
jne 0x45aac8
mov esi, str.Explain_009
mov ebx, str.Last_Help
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push 0x20019
push 0
push str.softwaremicrosoftwindows_ntcurrentversionperflib
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45aac8
lea eax, [ebp - 8]
push eax
push edi
push 0
push 0
push ebx
push dword [ebp + 8]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call ebx
push dword [ebp + 8]
test eax, eax
je 0x45a9e3
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0
push esi
push reloc.OLEAUT32.dll_SysReAllocStringLen
call ebx
test eax, eax
jne 0x45aac8
mov eax, dword [ebp - 4]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004c3a3e
add esp, 4
mov dword [edi + 8], eax
lea ecx, [ebp - 4]
push ecx
push eax
push 0
push 0
push esi
push reloc.OLEAUT32.dll_SysReAllocStringLen
call ebx
test eax, eax
jne 0x45aa5c
mov eax, dword [edi]
xor ecx, ecx
inc eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004c3a3e
mov ecx, eax
add esp, 4
mov dword [edi + 4], ecx
test ecx, ecx
jne 0x45aa72
push dword [edi + 8]
call fcn.004c3683
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi]
lea eax, [eax*4 + 4]
push eax
push 0
push ecx
call fcn.004c53a0
mov esi, dword [edi + 8]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
test ebx, ebx
je 0x45aac8
push esi
call fcn.004d5dfb
add esp, 4
cmp eax, dword [edi]
ja 0x45aac8
mov ecx, dword [edi + 4]
lea esi, [esi + ebx*2]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
add esi, 2
push esi
mov dword [ecx + eax*4], esi
call ebx
lea esi, [esi + eax*2]
add esi, 2
push esi
call ebx
mov ebx, eax
test ebx, ebx
jne 0x45aa97
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x45ad30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0x50b204
push dword [ebp + 8]
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x45ada2
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push edi
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push 0x50b214
push dword [ebp + 0xc]
mov esi, eax
lea eax, [ebp - 4]
push eax
call fcn.004c9e8b
add esp, 0xc
test eax, eax
jne 0x45ada2
push dword [ebp - 4]
push edi
push 1
push esi
call fcn.004d8317
push dword [ebp - 4]
call fcn.004d8022
add esp, 0x14
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x45c910
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x18]
and ecx, eax
mov eax, dword [esi + 0xc]
mov esi, dword [esi + 4]
lea edx, [eax + ecx*8]
mov eax, dword [edx + 4]
cmp eax, esi
je 0x45c98e
mov ecx, dword [edi]
mov edx, dword [edx]
cmp ecx, dword [eax + 8]
je 0x45c990
nop word [eax + eax]
cmp eax, edx
je 0x45c98e
mov eax, dword [eax + 4]
cmp ecx, dword [eax + 8]
jne 0x45c970
mov ecx, dword [ebp + 8]
test eax, eax
pop edi
cmove eax, esi
pop esi
mov dword [ecx], eax
mov eax, ecx
pop ebp
ret 8
xor eax, eax
mov ecx, dword [ebp + 8]
test eax, eax
pop edi
cmove eax, esi
pop esi
mov dword [ecx], eax
mov eax, ecx
pop ebp
ret 8
Function at 0x45e130
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x535a40]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, ecx
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
push edi
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp + 8]
mov dword [ebp - 0x18], eax
push 0x130a
push dword [eax + 0x24]
movups xmmword [ebp - 0x14], xmm0
call esi
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
sub eax, 0xd
cdq
sub eax, edx
push 0
mov edi, eax
mov eax, dword [ebp - 0x18]
push 0
push 0x130b
sar edi, 1
push dword [eax + 0x24]
call esi
cmp dword [ebp + 8], eax
mov ecx, 1
mov edx, dword [ebp - 0xc]
mov esi, 4
cmove esi, ecx
mov ecx, dword [ebp - 0x10]
add ecx, edi
sub edx, esi
lea eax, [ecx + 0xd]
push eax
push edx
push ecx
lea eax, [edx - 0xe]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004c34b7
mov esp, ebp
pop ebp
ret 8
Function at 0x464b40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 0
mov edi, ecx
push 0
push 0x1304
push dword [edi + 0x24]
call ebx
test eax, eax
je 0x464d01
push esi
push 0
push 0
push 0xb
push dword [edi + 4]
call ebx
push 0
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, edi
call fcn.004656e0
xor esi, esi
lea eax, [edi + 0xb4]
push esi
push esi
push 0x1304
push dword [edi + 0x24]
mov dword [ebp - 4], eax
call ebx
test eax, eax
jle 0x464c48
test byte [edi + 0xb4], 1
lea ecx, [ebp - 0x34]
mov eax, dword [edi + 0x24]
xorps xmm0, xmm0
push ecx
push esi
push 0x133c
mov dword [ebp - 0x34], 8
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
push eax
je 0x464be5
call ebx
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x464bf2
call ebx
push 0
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 8
push eax
push esi
xorps xmm0, xmm0
push 0x133c
push dword [edi + 0x24]
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
call ebx
neg eax
sbb eax, eax
and eax, dword [ebp - 0x18]
push eax
call fcn.004c3683
add esp, 4
inc esi
push 0
push 0
push 0x1304
push dword [edi + 0x24]
call ebx
cmp esi, eax
jl 0x464ba3
jmp 0x464c51
lea eax, [edi + 0xb4]
mov dword [ebp - 4], eax
push 0
push 0
push 0x1309
push dword [edi + 0x24]
call ebx
mov dword [edi + 0x50], 0xffffffff
mov eax, dword [edi + 4]
push eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 8], 0xfffffd1b
call dword [sym.imp.USER32.dll_GetParent]
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
lea ecx, [ebp - 0x10]
push ecx
push eax
push 0x4e
push esi
call ebx
push 0
push 1
push 0xb
push dword [edi + 4]
call ebx
push 1
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, edi
call fcn.00465b60
mov edx, dword [edi + 0x60]
pop esi
test edx, edx
je 0x464d01
mov eax, dword [ebp - 4]
mov cl, byte [eax]
mov al, cl
shr al, 3
and al, 1
movzx eax, al
push eax
mov al, cl
shr al, 2
and al, 1
movzx eax, al
push eax
mov al, cl
shr cl, 4
shr al, 5
and cl, 1
and al, 1
movzx eax, al
push eax
movzx eax, cl
mov ecx, edi
push eax
push dword [edi + 0x68]
push edx
call fcn.0045dd40
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x464d10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push edi
push 0
mov edi, ecx
push 0
push 0xb
push dword [edi + 4]
call ebx
push 0
push 0
push 0x1304
push dword [edi + 0x24]
call ebx
cmp eax, 1
jne 0x464d51
push 0
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, edi
call fcn.004656e0
test byte [edi + 0xb4], 1
lea ecx, [ebp - 0x30]
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov eax, dword [edi + 0x24]
push ecx
push esi
push 0x133c
mov dword [ebp - 0x30], 8
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0x14], xmm0
push eax
je 0x464d96
call ebx
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x464da3
call ebx
push 0
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 8
push eax
push esi
xorps xmm0, xmm0
push 0x133c
push dword [edi + 0x24]
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0x14], xmm0
call ebx
neg eax
sbb eax, eax
and eax, dword [ebp - 0x14]
push eax
call fcn.004c3683
add esp, 4
push 0
push esi
push 0x1308
push dword [edi + 0x24]
call ebx
mov ecx, dword [edi + 0x50]
mov dword [edi + 0x50], 0xffffffff
cmp ecx, esi
jne 0x464e4a
test esi, esi
jle 0x464e04
lea eax, [esi - 1]
jmp 0x464e50
push 0
push 0
push 0x1304
push dword [edi + 0x24]
call ebx
test eax, eax
jle 0x464e19
push esi
jmp 0x464e51
push 0
push 1
push 0xb
push dword [edi + 4]
call ebx
push 1
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, edi
call fcn.00465b60
mov ecx, edi
call fcn.004657b0
jmp 0x464e58
lea eax, [ecx - 1]
cmovle eax, ecx
push eax
mov ecx, edi
call fcn.00464e90
mov ecx, dword [edi + 4]
mov eax, dword [edi + 0x50]
push ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0xfffffd1b
call dword [sym.imp.USER32.dll_GetParent]
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
lea ecx, [ebp - 0xc]
push ecx
push eax
push 0x4e
push esi
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4