joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4427c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.0040686c
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.0043d610
test ebx, ebx
jne 0x442813
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.004426fc
mov ebx, eax
test ebx, ebx
je 0x4428fe
cmp esi, ebx
je 0x44283c
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x442851
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x442889
add eax, 0xffffff5f
sub eax, 2
jb 0x4428a1
dec eax
sub eax, 2
jb 0x4428b5
dec eax
sub eax, 2
jb 0x4428ab
jmp 0x4428bf
add eax, 0xfffffdff
sub eax, 2
jb 0x4428a1
dec eax
sub eax, 2
jb 0x4428b5
dec eax
sub eax, 2
jb 0x4428ab
jmp 0x4428bf
mov byte [esp + 0x120], 0
jmp 0x4428c7
mov byte [esp + 0x120], 2
jmp 0x4428c7
mov byte [esp + 0x120], 1
jmp 0x4428c7
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.00450168
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.0043ed7c
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x442900
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x44356c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x240], 0
je 0x443588
cmp dword [esi + 4], 0
je 0x4435b5
test byte [ebx + 0x55], 1
jne 0x4435a7
mov eax, ebx
call fcn.00441954
test eax, eax
jne 0x4435a7
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4436c5
mov edx, esi
mov eax, ebx
call fcn.00442f74
jmp 0x4436c5
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4436be
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004455c4
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0043ed7c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0044356c
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004455c4
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4436c5
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44a91c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4775c0]
cmp byte [eax + 0xc], 0
je 0x44aa89
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44aa82
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x47b57c], 0
jne 0x44a970
push 0x44aa90
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44aa98
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47b57c], eax
cmp dword [0x4765f0], 0
jne 0x44aa6b
push 0x44aaa8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4765f0], eax
cmp dword [0x4765f0], 0
je 0x44aa6b
push 0x44aab4
mov eax, dword [0x4765f0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47b580], eax
push 0x44aac4
mov eax, dword [0x4765f0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47b584], eax
push 0x44aad8
mov eax, dword [0x4765f0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47b588], eax
push 0x44aaf0
mov eax, dword [0x4765f0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47b58c], eax
push 0x44ab08
mov eax, dword [0x4765f0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47b590], eax
push 0x44ab1c
mov eax, dword [0x4765f0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47b594], eax
push 0x44ab34
mov eax, dword [0x4765f0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47b598], eax
push 0x44ab4c
mov eax, dword [0x4765f0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47b59c], eax
push 0x44ab68
mov eax, dword [0x4765f0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47b5a0], eax
push 0x44ab74
mov eax, dword [0x4765f0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x47b5a4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44aa89
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4500d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x450124]
test si, 4
je 0x4500e5
or bl, 1
test si, 8
je 0x4500ef
or bl, 4
test si, 1
je 0x4500f9
or bl, 8
test si, 2
je 0x450103
or bl, 0x10
test si, 0x10
je 0x45010d
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45011c
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x450128
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x450164]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450142
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450151
or bl, 4
test esi, 0x20000000
je 0x45015c
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x457818
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45782a
add esp, 0xfffffff0
call fcn.00403c68
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041db14
mov eax, dword [0x47721c]
mov dword [eax + 4], ebx
mov dword [eax], 0x457bbc
mov eax, dword [0x477228]
mov dword [eax + 4], ebx
mov dword [eax], 0x457bc8
mov eax, ebx
call fcn.00457bd4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x415910]
call fcn.00403914
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x415910]
call fcn.00403914
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x415910]
call fcn.00403914
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x415910]
call fcn.00403914
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x415910]
call fcn.00403914
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x45366c
push eax
push 0
push 0
mov eax, dword [0x477398]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x421764]
call fcn.00422fb8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x421764]
call fcn.00422fb8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x421764]
call fcn.00422fb8
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00458004
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x457ed4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x457ed4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x457ed4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x457967
call fcn.00403cc0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x457cb8
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x457e63
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x457e44
mov dl, 1
mov eax, dword [0x415d34]
call fcn.00403914
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404770
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x457e33
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0044ac78
test al, al
je 0x457e26
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x457e74
lea eax, [ebp - 0x254]
call fcn.004096dc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x457e26
xor eax, eax
push ebp
push 0x457e1f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x457eac
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x457e08
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004049e0
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x457e08
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004049e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457e26
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x457d29
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00419a14
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457e6a
lea eax, [ebp - 0x260]
call fcn.00404770
ret

Function at 0x4587dc
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x47b5b4]
cmp byte [eax + 0xad], 0
jne 0x45884d
cmp dword [0x47b5cc], 0
jne 0x45880e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x458798
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x47b5cc], eax
cmp dword [0x47b5c8], 0
jne 0x458829
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x47b5c8], eax
cmp dword [0x47b5d0], 0
jne 0x45884d
push esp
push 0
push 0
push 0x45873c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x47b5d0], eax
pop edx
ret
Function at 0x458a20
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x458a37
add esp, 0xfffffff0
call fcn.00403c68
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041db14
mov eax, dword [0x477380]
cmp word [eax + 2], 0
jne 0x458a5f
mov eax, dword [0x477380]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045a4d0
mov eax, dword [0x477438]
cmp word [eax + 2], 0
jne 0x458a79
mov eax, dword [0x477438]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045a6dc
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415910]
call fcn.00403914
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415910]
call fcn.00403914
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x415910]
call fcn.00403914
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x422274]
call fcn.00429bdc
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x458c30
mov eax, dword [0x47728c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00429fb0
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45ad9c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x47728c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d144
test eax, eax
je 0x458b80
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409094
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d178
test eax, eax
je 0x458b94
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004049e0
mov byte [ebx + 0xd4], 0
push ebx
push 0x45a030
call fcn.0041ec90
mov dword [ebx + 0xc8], eax
mov eax, dword [0x47714c]
cmp byte [eax], 0
jne 0x458be5
mov eax, ebx
call fcn.00458d74
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0045af78
mov eax, ebx
call fcn.0045bad8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x458c25
call fcn.00403cc0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x458ff4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x47b5b4]
cmp dword [eax + 0x30], 0
je 0x45909e
cmp dword [ebx + 0x94], 0
jne 0x459098
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x458f84
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x459098
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45905e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x459098
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00417cbc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45906d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x459db8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x459ded
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404860
jmp 0x459dfa
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004047c4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45b15c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45b1ca
mov eax, esi
call fcn.00445938
test al, al
je 0x45b1ca
mov eax, dword [ebx + 0x84]
call fcn.004455c4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45b1ca
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45b1be
push 0
mov eax, dword [ebx + 0x84]
call fcn.004455c4
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0043d9f0
jmp 0x45b1ca
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045af98
pop esi
pop ebx
ret

Function at 0x45e55c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.00445938
test al, al
je 0x45e5be
cmp bl, 7
jne 0x45e593
push 2
lea eax, [esp + 4]
push eax
push 0x100c
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
movzx edi, byte [esp]
sub edi, 0x30
jmp 0x45e598
mov edi, ebx
and edi, 0x7f
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xe0]
test eax, eax
je 0x45e5be
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xe0]
push edi
push 0
push 0x100f
push eax
call sub.user32.dll_SendMessageA
mov byte [esi + 0x268], bl
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4621a0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4621ce
mov eax, ebx
call fcn.00462c54
cmp dword [ebx + 0x40], 0
je 0x4621c7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x46223f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x462231
cmp dword [ebx + 8], 0
je 0x4621f0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x462202
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x462231
cmp dword [ebx + 8], 0
je 0x4621e3
cmp eax, 3
je 0x462215
dec eax
jne 0x4621e3
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4621e3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4621e3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x46225d
cmp dword [ebx + 0x14], 0xcc
je 0x46225d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00462268
pop ebx
ret
Function at 0x10817d0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
xor eax, eax
cmp dword [esp + 0x20], 0
je 0x10818b0
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x10818b0
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x108181a
mov ecx, 0x1505
xor edi, edi
nop
movzx edx, byte [ebx + edi]
test edx, edx
je 0x1081821
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc edi
mov ecx, esi
cmp ebp, edi
jne 0x1081800
jmp 0x1081823
mov esi, 0x1505
jmp 0x1081823
mov esi, ecx
mov ecx, dword [esp + 0x20]
mov ebx, dword [ecx + 0x20]
lea edi, [ebx - 1]
mov edx, ebx
sub edx, 1
mov dword [esp + 8], edx
jb 0x10818b0
and edi, esi
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x1081854
inc edi
dec ebx
je 0x10818ae
mov eax, edi
and eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov ebp, dword [edx + eax*4]
cmp ebp, 0xffffffff
je 0x10818ae
mov eax, dword [ecx + 8]
cmp dword [eax + ebp*4], esi
jne 0x1081850
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + ebp*4]
mov dword [esp], eax
push eax
call fcn.01088840
mov ecx, dword [esp + 0x24]
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x1081850
push dword [esp + 0x28]
push dword [esp + 4]
push dword [esp + 0x2c]
call fcn.01088870
mov ecx, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
jne 0x1081850
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + ebp*4]
jmp 0x10818b0
xor eax, eax
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x10818c0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor edi, edi
cmp dword [esp + 0x24], 0
je 0x10819c1
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x10819c1
push ebx
call fcn.01088840
add esp, 4
test eax, eax
je 0x108191a
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x1081921
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x1081900
jmp 0x1081923
mov esi, 0x1505
jmp 0x1081923
mov esi, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov eax, ebx
sub eax, 1
mov dword [esp + 0xc], eax
jb 0x10819c1
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x1081954
inc ebp
dec ebx
je 0x10819bf
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x10819bf
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x1081950
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.01088840
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x1081950
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.01088870
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x1081950
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x10819bf
cmp dword [eax + 4], 2
mov edi, 0
jne 0x10819c1
mov edi, dword [eax + 8]
jmp 0x10819c1
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10819f0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
fldz
fstp qword [esp + 0x10]
cmp dword [esp + 0x2c], 0
je 0x1081a5b
mov esi, dword [esp + 0x30]
test esi, esi
je 0x1081a5b
push esi
call fcn.01088840
add esp, 4
test eax, eax
je 0x1081a3a
mov ecx, 0x1505
xor edi, edi
movzx edx, byte [esi + edi]
test edx, edx
je 0x1081a41
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
inc edi
mov ecx, ebp
cmp eax, edi
jne 0x1081a20
jmp 0x1081a43
mov ebp, 0x1505
jmp 0x1081a43
mov ebp, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov edi, dword [ecx + 0x20]
lea ebx, [edi - 1]
mov eax, edi
sub eax, 1
mov dword [esp + 0xc], eax
jae 0x1081a67
fld qword [esp + 0x10]
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
and ebx, ebp
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x1081a84
inc ebx
dec edi
je 0x1081a5b
mov eax, ebx
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x1081a5b
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebp
jne 0x1081a80
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.01088840
mov ecx, dword [esp + 0x30]
add esp, 4
cmp eax, dword [esp]
jne 0x1081a80
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x38]
call fcn.01088870
mov ecx, dword [esp + 0x38]
add esp, 0xc
test eax, eax
jne 0x1081a80
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x1081a5b
cmp dword [eax + 4], 3
jne 0x1081a5b
fld qword [eax + 8]
fstp qword [esp + 0x10]
jmp 0x1081a5b