joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444790
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6f1114]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.kernel32.dll
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x444809
push str.GetSystemFirmwareTable
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x444809
push 0
push 0
push 0
push 0x52534d42
call edi
mov ebx, eax
cmp ebx, 0xc
jb 0x444809
push ebx
call fcn.004a150d
add esp, 4
mov dword [esi + 8], eax
push ebx
push eax
push 0
push 0x52534d42
call edi
mov ecx, dword [esi + 8]
movzx eax, byte [ecx + 1]
mov byte [esi], al
movzx eax, byte [ecx + 2]
mov byte [esi + 1], al
lea eax, [ebx - 8]
jmp 0x4448de
mov ecx, esi
call fcn.00444900
test eax, eax
jne 0x4448e7
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push 1
push 0
push str.SYSTEMCurrentControlSetServicesmssmbiosData
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4448b5
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push str.SMBiosData
push dword [ebp - 0x10]
call ebx
mov edi, eax
test edi, edi
jne 0x44488f
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x44488a
cmp dword [ebp - 8], 3
jne 0x44488a
push eax
call fcn.004a150d
add esp, 4
mov dword [esi + 8], eax
lea ecx, [ebp - 0xc]
push ecx
push eax
push edi
push edi
push str.SMBiosData
push dword [ebp - 0x10]
call ebx
mov edi, eax
jmp 0x44488f
mov edi, 0x3f2
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x4448c8
mov eax, dword [esi + 8]
test eax, eax
je 0x4448ae
push 1
push eax
call fcn.004a14d7
add esp, 8
mov dword [esi + 8], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a1496
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 8]
movzx eax, byte [ecx + 1]
mov byte [esi], al
movzx eax, byte [ecx + 2]
mov byte [esi + 1], al
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff8
mov dword [esi + 0xc], eax
lea eax, [ecx + 8]
mov dword [esi + 4], eax
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a1496
mov esp, ebp
pop ebp
ret
Function at 0x445b0a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov ebx, ecx
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindow]
push 1
push dword [ebx + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push 7
pop ecx
push dword [ebx + 4]
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_IsWindow]
mov edi, dword [sym.imp.USER32.dll_SetFocus]
jmp 0x445bb9
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x445bbd
cmp dword [ebp - 0x1c], 0x10
jne 0x445b88
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebx + 4]
jne 0x445b88
mov eax, dword [ebp - 0x18]
push 1
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call edi
lea eax, [ebp - 0x20]
push eax
call fcn.0044cac3
pop ecx
test al, al
jne 0x445baa
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x1c], 0x12
je 0x445bbd
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x445b55
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
call edi
cmp dword [ebp - 0x1c], 0x12
pop edi
pop esi
pop ebx
jne 0x445bdb
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp - 4]
leave
ret

Function at 0x445be0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x445c12
xor eax, eax
inc eax
cmp byte [ebp + 0xc], 0
push 4
pop edx
cmovne edx, eax
xor eax, eax
cmp byte [ebp + 8], al
cmovne eax, edx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
Function at 0x4481d1
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
push 8
pop ecx
test ax, ax
push 1
cmovs esi, ecx
call edi
test ax, ax
jns 0x4481f4
or esi, 1
push 2
call edi
test ax, ax
jns 0x448200
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x44820c
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x448218
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x44b4d3
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [esi + 0x4b4]
call fcn.004453d3
mov edi, dword [ebp + 8]
test eax, eax
jle 0x44b52b
push ebx
lea ecx, [esi + 0x4b4]
mov byte [ebp + 0xb], 0
call fcn.0044dae8
lea ecx, [ebp + 0xb]
push ecx
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0xc]
push edi
call dword [edx]
cmp byte [ebp + 0xb], 0
mov ecx, eax
jne 0x44b58f
lea ecx, [esi + 0x4b4]
inc ebx
call fcn.004453d3
cmp ebx, eax
jl 0x44b4f2
sub edi, 0x100
je 0x44b604
sub edi, 4
je 0x44b59b
dec edi
sub edi, 1
jne 0x44b6be
push dword [ebp + 0xc]
and dword [ebp + 8], edi
call fcn.004ca134
pop ecx
mov ecx, dword [esi + 0x104]
lea edx, [ebp + 8]
push reloc.WS2_32.dll_select
mov word [ebp + 8], ax
push edx
mov eax, dword [ecx]
push 0x44cd45
call dword [eax + 0x134]
mov esi, eax
test esi, esi
je 0x44b6be
mov edx, dword [esi]
mov ecx, esi
call dword [edx + pe_nt_image_headers32]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
jmp 0x44b594
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
mov al, 1
jmp 0x44b6c0
cmp dword [esi + 0x108], 0
je 0x44b6be
xor eax, eax
mov dword [ebp - 0x20], 6
mov word [ebp - 2], ax
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
mov word [ebp - 0xc], ax
mov eax, dword [esi + 0x120]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x124]
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0xa], xmm0
mov dword [ebp - 0x10], eax
call fcn.004481d1
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x108]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x140]
jmp 0x44b6be
cmp dword [ebp + 0xc], 9
jne 0x44b6be
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x44b661
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x44b661
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
call dword [eax + 0x10c]
test al, al
je 0x44b661
mov ecx, dword [esi + 0x108]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.004b8fcc
pop ecx
pop ecx
test eax, eax
je 0x44b661
mov ecx, dword [esi + 0x108]
call fcn.0045e3f0
test al, al
jne 0x44b6be
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x44b6a5
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x44b6a5
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
call dword [eax + 0x10c]
test al, al
je 0x44b6a5
mov ecx, dword [esi + 0x108]
push str.WkeWebkitUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.004b8fcc
pop ecx
pop ecx
test eax, eax
jne 0x44b6be
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.0044c721
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x44c395
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov edi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [edi + 0xa8]
mov esi, dword [ebp + 8]
cmp eax, ecx
je 0x44c3c1
cmp esi, dword [edi + 0x108]
je 0x44c3c1
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0x108]
cmp esi, eax
je 0x44c4a7
test eax, eax
je 0x44c428
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0x17
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
movlpd qword [ebp - 8], xmm0
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x108]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x140]
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.killfocus
push dword [edi + 0x108]
call fcn.0044bfe9
and dword [edi + 0x108], 0
test esi, esi
je 0x44c4a7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, edi
jne 0x44c4a7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x100]
test al, al
je 0x44c4a7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10c]
test al, al
je 0x44c4a7
xorps xmm0, xmm0
mov dword [edi + 0x108], esi
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
movlpd qword [ebp - 8], xmm0
mov dword [ebp - 0x20], 0x18
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x108]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x140]
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.setfocus
push dword [edi + 0x108]
call fcn.0044bfe9
pop edi
pop esi
leave
ret 4
Function at 0x4576e5
Capabilities:
Terminate process

Disassembly:
push 0x2e0
mov eax, 0x642b84
call fcn.004a1de7
mov edi, ecx
push 0xfffffffffffffff0
call fcn.004453d3
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3fffff
mov ecx, edi
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
call fcn.004453d3
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [edi]
lea ebx, [edi + 0x30]
mov ecx, edi
call dword [eax + 0x30]
push eax
push dword [edi + 4]
mov ecx, ebx
call fcn.00447eb4
mov ecx, edi
lea eax, [edi + 0x24]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
mov ecx, ebx
call fcn.00447384
lea ecx, [ebp - 0x2e8]
call fcn.0044e6f6
mov eax, dword [edi]
lea ecx, [ebp - 0x118]
push ecx
xor esi, esi
mov ecx, edi
mov dword [ebp - 4], esi
call dword [eax + 0x28]
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 1
call fcn.0044e0d8
lea ecx, [ebp - 0x94]
test al, al
mov eax, dword [edi]
push ecx
mov ecx, edi
jne 0x4577d5
call dword [eax + 0x2c]
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0044daf7
push eax
call fcn.004bf439
pop ecx
lea ecx, [ebp - 0x94]
movzx esi, ax
mov byte [ebp - 4], 1
call fcn.0044d9e9
mov ecx, edi
lea eax, [edi + 0x28]
neg ecx
push 0
sbb ecx, ecx
and ecx, eax
push ebx
push ecx
lea ecx, [ebp - 0x118]
call fcn.0044daf7
push eax
push esi
lea ecx, [ebp - 0x2e8]
call fcn.0044f718
mov esi, eax
jmp 0x457813
call dword [eax + 0x2c]
mov edx, edi
mov byte [ebp - 4], 3
neg edx
lea ecx, [edi + 0x28]
push esi
sbb edx, edx
push ebx
and edx, ecx
mov ecx, eax
push edx
push esi
call fcn.0044daf7
push ecx
mov ecx, esp
mov dword [ecx], eax
lea ecx, [ebp - 0x2e8]
call fcn.0044f718
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 1
mov esi, eax
call fcn.0044d9e9
test esi, esi
jne 0x45787c
push 0xffffffffffffffff
push 0x649798
lea ecx, [ebp - 0x94]
call fcn.0044d902
mov eax, dword [edi]
lea ecx, [ebp - 0x19c]
push ecx
mov ecx, edi
mov byte [ebp - 4], 4
call dword [eax + 0x2c]
push eax
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 5
call fcn.0044db32
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 4
call fcn.0044d9e9
push 0x10
push str.Duilib
lea ecx, [ebp - 0x94]
call fcn.0044daf7
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
mov ecx, ebx
call fcn.0044742e
mov edx, edi
lea eax, [edi + 0x20]
neg edx
mov ecx, ebx
sbb edx, edx
and edx, eax
push edx
call fcn.004472ca
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x118]
call fcn.0044d9e9
lea ecx, [ebp - 0x2e8]
call fcn.0044fd5c
xor eax, eax
call fcn.004a1da2
ret 0x10

Function at 0x459daa
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004818ab

Function at 0x459db3
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x6c0
jmp method.DuiLib::CMenuUI.virtual_324
Function at 0x45adab
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6f1114]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x1c]
push edi
and dword [ebx + 0x780], 0
mov edi, dword [ebp + 0x18]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x18], ebx
mov dword [ebx + 0x77c], ecx
mov dword [ebx + 0x784], eax
test ecx, ecx
jne 0x45ae16
call fcn.0045ab01
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
test esi, esi
je 0x45ae16
call fcn.0045ab01
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x14]
call fcn.0045ab01
mov edx, ebx
lea ecx, [ebx + 0x10]
neg edx
mov esi, dword [eax]
sbb edx, edx
and edx, ecx
mov ecx, eax
push edx
call dword [esi]
mov ecx, dword [ebx + 0x77c]
test ecx, ecx
je 0x45ae3e
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov edi, eax
mov ecx, edi
call fcn.00447dec
lea ecx, [ebp - 0x14]
mov ebx, eax
call fcn.0044d8b9
push 0
sub esp, 0x10
mov esi, eax
mov edi, esp
push 0x88
movsd dword es:[edi], dword [esi]
push SysReAllocString
push 0
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x18]
mov ecx, esi
call fcn.00445654
mov edi, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
jmp 0x45ae83
push edi
call ebx
mov edi, eax
push edi
call ebx
test eax, eax
jne 0x45ae7e
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a1496
leave
ret 0x1c

Function at 0x460186
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x69c], edi
je 0x4601ef
cmp dword [ebp + 8], 0x100
jne 0x4601de
cmp dword [ebp + 0xc], 0xd
jne 0x4601de
cmp byte [esi + 0x6a2], 0
je 0x4601c5
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4601de
cmp byte [esi + 0x6a3], 0
jne 0x4601de
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x4601da
push edi
push edi
push edi
push str.return
push esi
call fcn.0044bfe9
xor eax, eax
jmp 0x4601f2
mov eax, dword [esi + 0x69c]
pop edi
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 0x10
Function at 0x460688
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x6f1114]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x4606bc
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4606bc
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx eax, word [ebx]
test ax, ax
je 0x460772
push esi
mov esi, ebx
mov ecx, ebx
mov edx, eax
cmp dx, 0x2f
je 0x4606db
cmp dx, 0x5c
jne 0x4606dd
mov esi, ecx
add ecx, 2
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x4606cf
cmp esi, ebx
je 0x460725
sub esi, ebx
lea eax, [ebp - 0x414]
and esi, 0xfffffffe
push esi
push ebx
push eax
call fcn.004b9750
add esp, 0xc
cmp esi, 0x208
jae 0x460780
xor eax, eax
mov word [ebp + esi - 0x414], ax
lea eax, [ebp - 0x414]
push eax
push edi
call fcn.00460688
pop ecx
pop ecx
xor eax, eax
mov word [ebp - 0x20c], ax
pop esi
test edi, edi
je 0x460742
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.004ca515
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004ca4e4
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x460772
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004a1496
leave
ret
call fcn.004a1fad
int3

Function at 0x460dc1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x460e6d
cmp dword [esi + 4], 0xffffffff
jne 0x460e6d
push edi
lea edi, [esi + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push edi
call fcn.004ca537
pop ecx
movzx eax, word [esi + eax*2 + 0x242]
cmp eax, 0x5c
je 0x460e14
cmp eax, 0x2f
je 0x460e14
push 0x647c44
push edi
call fcn.004ca4e4
pop ecx
pop ecx
cmp dword [ebp + 0x10], 1
pop edi
jne 0x460e36
push 1
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x460e36
mov eax, 0x2000000
jmp 0x460e72
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0046356a
add esp, 0x10
test eax, eax
jne 0x460e54
mov eax, dword [ebp - 4]
jmp 0x460e72
push eax
call fcn.00463c47
pop ecx
xor ecx, ecx
mov dword [esi], eax
test eax, eax
mov edx, 0x200
cmove ecx, edx
mov eax, ecx
jmp 0x460e72
mov eax, 0x1000000
pop esi
leave
ret 0xc
Function at 0x46133b
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
movsx eax, byte [ebp + 0xc]
mov ecx, dword [edx]
xor eax, ecx
movzx eax, al
shr ecx, 8
mov eax, dword [eax*4 + 0x64c148]
xor eax, ecx
mov ecx, dword [edx + 8]
mov dword [edx], eax
movzx eax, al
add eax, dword [edx + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x64c148]
mov dword [edx + 8], ecx
pop ebp
ret

Function at 0x463667
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
imul ecx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
cmp byte [edi], 0
je 0x46369a
push 0
lea eax, [ebp + 0x10]
push eax
push ecx
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x463695
mov byte [edi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x4636c4
mov edx, dword [edi + 0x1c]
push esi
mov esi, dword [edi + 0x18]
sub esi, edx
lea eax, [edx + ecx]
cmp eax, dword [edi + 0x18]
cmovbe esi, ecx
mov ecx, dword [edi + 0x14]
push esi
add ecx, edx
push ecx
push dword [ebp + 8]
call fcn.004b9750
add esp, 0xc
mov eax, esi
add dword [edi + 0x1c], esi
pop esi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop ebp
ret

Function at 0x4637f4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x463802
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not ecx
cmp esi, 8
jb 0x4638c1
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x64c148]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x64c148]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x64c148]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x64c148]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x64c148]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x64c148]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x64c148]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x64c148]
sub edi, 1
jne 0x46381a
pop edi
test esi, esi
je 0x4638dd
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x64c148]
inc edx
sub esi, 1
jne 0x4638c5
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x476f6e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 8]
mov edi, eax
mov edx, eax
and edi, 7
je 0x476f9c
cmp eax, edi
jge 0x476f90
push esi
call fcn.004725df
mov eax, dword [esi + 8]
pop ecx
mov ecx, edi
shr dword [esi + 0xc], cl
sub eax, edi
mov dword [esi + 8], eax
mov edx, eax
xor ecx, ecx
test eax, eax
jle 0x476fbf
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx + 8], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x476fa5
mov dword [esi + 8], edx
jmp 0x476fd4
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x476fca
xor dl, dl
jmp 0x476fcf
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx + 8], dl
inc ecx
cmp ecx, 4
jl 0x476fbf
mov eax, dword [ebp + 8]
movzx ecx, byte [ebp + 0xb]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp + 0xa]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x47700c
push str.zlib_corrupt
call fcn.00472504
pop ecx
jmp 0x47704c
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x47701c
push str.read_past_buffer
jmp 0x477004
mov ecx, dword [esi + 0x10]
lea eax, [ecx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x477036
push edi
push ecx
push esi
call fcn.0047a23f
add esp, 0xc
test eax, eax
je 0x47704c
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.004b9750
add dword [esi], edi
xor eax, eax
add dword [esi + 0x10], edi
add esp, 0xc
inc eax
pop edi
pop esi
pop ebp
ret

Function at 0x47b057
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x6c0
jmp fcn.004818ab
Function at 0x48153a
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x114]
mov edi, dword [ebp + 8]
test al, al
jne 0x48157b
mov eax, dword [edi]
sub eax, 9
cmp eax, 0xc
ja 0x48157b
mov ecx, dword [esi + 0x560]
push edi
test ecx, ecx
je 0x48156f
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp 0x481706
mov ecx, esi
call fcn.0048121e
jmp 0x481706
mov ecx, dword [esi + 0x560]
push ebx
test ecx, ecx
je 0x4815da
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [eax + 0x5e4], 0
je 0x4815da
cmp dword [edi], 0xf
jne 0x4815da
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10c]
test al, al
je 0x481705
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call edi
mov ebx, 0x8000
test bx, ax
jne 0x4815c8
push 0x10
call edi
test bx, ax
je 0x481632
mov ecx, dword [esi + 0x560]
test ecx, ecx
je 0x481705
push 0
jmp 0x481653
cmp dword [edi], 0xd
jne 0x481663
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10c]
test al, al
je 0x481705
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
xor edi, edi
test al, al
je 0x481613
mov ecx, dword [esi + 0x44]
push edi
push edi
push edi
push str.buttondown
push esi
call fcn.0044bfe9
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ebx, 0x8000
test bx, ax
jne 0x481644
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test bx, ax
jne 0x481644
lea ecx, [esi + 0x550]
mov eax, dword [ecx]
push 1
call dword [eax + 0x14]
jmp 0x481705
mov ecx, dword [esi + 0x560]
test ecx, ecx
je 0x481705
push edi
mov eax, dword [ecx]
push dword [esi + 0x554]
call dword [eax + 0x10]
jmp 0x481705
cmp dword [edi], 0xe
jne 0x481686
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10c]
test al, al
je 0x481705
xor edi, edi
push edi
push edi
push edi
push str.itemclick
jmp 0x4816f2
cmp dword [edi], 0xb
jne 0x4816be
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10c]
test al, al
je 0x481705
or dword [esi + 0x55c], 8
mov ecx, esi
call fcn.0047b379
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
test al, al
je 0x481705
xor edi, edi
push edi
push edi
push edi
push str.mouseenter
jmp 0x4816f2
cmp dword [edi], 0xa
jne 0x4816fd
mov eax, dword [esi + 0x55c]
test al, 8
je 0x481705
and eax, 0xfffffff7
mov ecx, esi
mov dword [esi + 0x55c], eax
call fcn.0047b379
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
test al, al
je 0x481705
xor edi, edi
push edi
push edi
push edi
push str.mouseleave
mov ecx, dword [esi + 0x44]
push esi
call fcn.0044bfe9
jmp 0x481705
push edi
mov ecx, esi
call fcn.0048121e
pop ebx
pop edi
pop esi
pop ebp
ret 4