joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41fe93
Capabilities:
Create thread

Disassembly:
push 0x14
mov eax, 0x522192
call fcn.004ebc96
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov esi, dword [ecx + 4]
mov edi, dword [ecx]
mov ecx, edi
push esi
call fcn.0041d2f1
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
push 8
call fcn.004eaf11
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], eax
push ecx
push ebx
push eax
mov dword [eax + 4], esi
xor esi, esi
push 0x43c06d
push ebx
inc esi
mov dword [eax], edi
push ebx
mov dword [ebp - 0x18], esi
call fcn.004f639c
add esp, 0x1c
mov dword [ebp - 0x20], eax
test eax, eax
je 0x41ff15
mov eax, esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
and eax, 0xfffffffe
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x20]
call fcn.00408f5a
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], ebx
jne 0x41ff10
call fcn.004ebc45
ret
call fcn.004fb1fd
push 6
mov dword [ebp - 0x1c], ebx
call fcn.004d83fd
int3

Function at 0x423118
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
jg 0x423148
jl 0x42313f
test edi, edi
jne 0x423148
xor eax, eax
xor edx, edx
jmp 0x423200
cmp dword [ecx + 0x38], 0
je 0x42315b
push esi
push edi
push edx
call fcn.0042372e
jmp 0x423200
mov eax, dword [ecx + 0x1c]
mov ebx, edi
mov eax, dword [eax]
mov dword [esp + 0x14], eax
test eax, eax
je 0x42319e
mov eax, dword [ecx + 0x2c]
cmp dword [eax], 0
jbe 0x42319e
cmp dword [eax], edi
mov esi, edi
cmovb esi, dword [eax]
push esi
push dword [esp + 0x18]
push edx
call fcn.004ec860
mov ecx, dword [esp + 0x1c]
sub ebx, esi
add dword [esp + 0x18], esi
add esp, 0xc
mov eax, dword [ecx + 0x2c]
sub dword [eax], esi
mov eax, dword [ecx + 0x1c]
add dword [eax], esi
mov esi, dword [ebp + 0x10]
cmp dword [ecx + 0x4c], 0
mov edx, ebx
je 0x4231f7
call fcn.0042691d
mov edx, ebx
jmp 0x4231d4
push dword [ecx + 0x4c]
push eax
push 1
push dword [esp + 0x18]
call fcn.004fce27
add dword [esp + 0x1c], eax
sub ebx, eax
add esp, 0x10
mov edx, ebx
cmp eax, 0xfff
jne 0x423209
mov ecx, dword [esp + 0x10]
mov eax, 0xfff
cmp ebx, eax
ja 0x4231af
test edx, edx
je 0x4231f7
push dword [ecx + 0x4c]
push ebx
push 1
push dword [esp + 0x18]
call fcn.004fce27
mov edx, ebx
add esp, 0x10
sub edx, eax
sub edi, edx
sbb esi, 0
mov eax, edi
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
sub edi, ebx
jmp 0x4231f9
Function at 0x425c32
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x522df3
mov eax, dword fs:[0]
push eax
push ecx
push ecx
push ebx
push esi
push edi
mov eax, dword [0x578134]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
lea edi, [ebx + 4]
mov eax, dword [ebp + 8]
lea esi, [ebp + 0xc]
movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x18]
mov dword [ebx], eax
xor eax, eax
push 0xf
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
push 1
mov dword [ecx], eax
push 0x54b408
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], esi
mov byte [ecx], al
call fcn.00423f7a
xor eax, eax
mov dword [ebp - 4], eax
lea ecx, [ebx + 0x30]
push eax
mov dword [ecx], eax
push 0x54acfb
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], esi
mov byte [ecx], al
call fcn.00423f7a
or dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x437c1e
Capabilities:
Create thread

Disassembly:
push 0xc
mov eax, 0x525f72
call fcn.004ebc96
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
push 0x10
call fcn.004eaf11
mov ecx, dword [ebp + 0xc]
lea ebx, [esi + 4]
push ebx
xor edi, edi
mov dword [ebp - 0x14], eax
inc edi
mov ecx, dword [ecx]
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x18], edi
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [eax + 0xc], ecx
xor ecx, ecx
push ecx
push eax
push 0x43be59
push ecx
push ecx
mov dword [eax + 8], edx
call fcn.004f639c
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x437c92
and dword [ebp - 0x14], 0
mov dword [ebp - 0x18], edi
and edi, 0xfffffffe
mov dword [ebp - 0x18], edi
or dword [ebp - 4], 0xffffffff
call fcn.004ebc45
ret 8
and dword [ebx], 0
push 6
call fcn.004d83fd
int3

Function at 0x437c9d
Capabilities:
Create thread

Disassembly:
push 0x14
mov eax, 0x525fec
call fcn.004ebc96
mov ebx, ecx
mov esi, dword [ebp + 0x10]
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
push 0x48
call fcn.004eaf11
mov edi, eax
pop ecx
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], 1
mov ecx, edi
push esi
mov dword [ebp - 0x20], edi
call fcn.0042114d
mov byte [ebp - 4], 4
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [edi + 0x38], eax
mov byte [ebp - 4], 5
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x40], ecx
mov dword [edi + 0x44], eax
xor eax, eax
mov byte [ebp - 4], al
lea esi, [ebx + 4]
push esi
push eax
push edi
push 0x43bec6
push eax
push eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], 1
call fcn.004f639c
add esp, 0x18
mov dword [ebx], eax
test eax, eax
je 0x437d39
and dword [ebp - 0x14], 0
xor eax, eax
inc eax
mov dword [ebp - 0x18], eax
and eax, 0xfffffffe
mov dword [ebp - 0x18], eax
or dword [ebp - 4], 0xffffffff
call fcn.004ebc45
ret 0xc
and dword [esi], 0
push 6
call fcn.004d83fd
int3
Function at 0x43eb1f
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 0x43eb42
or esi, 1
push 2
call edi
test ax, ax
jns 0x43eb4e
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x43eb5a
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x43eb66
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x44011a
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x578134]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
cmp dword [esi + 0x49c], ebx
jle 0x440167
mov eax, dword [esi + 0x498]
lea edx, [ebp - 5]
mov byte [ebp - 5], 0
push edx
push dword [ebp + 0x10]
mov ecx, dword [eax + ebx*4]
push dword [ebp + 0xc]
push edi
mov eax, dword [ecx]
call dword [eax]
cmp byte [ebp - 5], 0
jne 0x4401c5
inc ebx
cmp ebx, dword [esi + 0x49c]
jl 0x44013c
sub edi, 0x100
je 0x440235
sub edi, 4
je 0x4401c9
dec edi
sub edi, 1
jne 0x440222
push dword [ebp + 0xc]
and dword [ebp - 0xc], edi
call fcn.004fe59d
pop ecx
mov ecx, dword [esi + 0x104]
lea edx, [ebp - 0xc]
push reloc.WS2_32.dll_select
mov word [ebp - 0xc], ax
push edx
mov eax, dword [ecx]
push 0x444db7
call dword [eax + 0x128]
mov esi, eax
test esi, esi
je 0x440222
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x11c]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov al, 1
jmp 0x440224
cmp dword [esi + 0x108], 0
je 0x440222
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x120]
and dword [ebp - 0x28], 0
mov word [ebp - 0x18], ax
mov eax, dword [esi + 0x11c]
movlpd qword [ebp - 0x14], xmm0
mov dword [ebp - 0x2c], 6
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
call fcn.0043eb1f
mov word [ebp - 0x16], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x108]
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x24], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004eacf5
leave
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x440222
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x44028e
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x44028e
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x44028e
mov ecx, dword [esi + 0x108]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.004edf1a
pop ecx
pop ecx
test eax, eax
je 0x44028e
mov eax, dword [esi + 0x108]
cmp byte [eax + 0x6a1], 0
jne 0x440222
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x4402d6
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x4402d6
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x4402d6
mov ecx, dword [esi + 0x108]
push str.WkeWebkitUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.004edf1a
pop ecx
pop ecx
test eax, eax
jne 0x440222
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.0044366c
jmp 0x4401c5
Function at 0x443209
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword [0x578134]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [edi + 0xa8]
cmp eax, ecx
je 0x443243
cmp esi, dword [edi + 0x108]
je 0x443243
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0x108]
cmp esi, eax
je 0x443339
test eax, eax
je 0x4432b0
and dword [esp + 0x28], 0
xorps xmm0, xmm0
movlpd qword [esp + 0x18], xmm0
movlpd qword [esp + 0x20], xmm0
mov dword [esp + 0xc], 0x17
mov dword [esp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x108]
lea edx, [esp + 0xc]
mov dword [esp + 0x14], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.killfocus
push dword [edi + 0x108]
call fcn.00443862
and dword [edi + 0x108], 0
test esi, esi
je 0x443339
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, edi
jne 0x443339
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf4]
test al, al
je 0x443339
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x100]
test al, al
je 0x443339
and dword [esp + 0x28], 0
xorps xmm0, xmm0
mov dword [edi + 0x108], esi
movlpd qword [esp + 0x18], xmm0
movlpd qword [esp + 0x20], xmm0
mov dword [esp + 0xc], 0x18
mov dword [esp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x108]
lea edx, [esp + 0xc]
mov dword [esp + 0x14], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.setfocus
push dword [edi + 0x108]
call fcn.00443862
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
xor ecx, esp
call fcn.004eacf5
mov esp, ebp
pop ebp
ret 4
Function at 0x449a46
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x108]
mov edi, dword [ebp + 8]
test al, al
jne 0x449a82
mov eax, dword [edi]
sub eax, 9
cmp eax, 0xc
ja 0x449a82
mov ecx, dword [esi + 0x560]
push edi
test ecx, ecx
je 0x449b55
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp 0x449b5c
mov ecx, dword [esi + 0x560]
test ecx, ecx
je 0x449ae5
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [eax + 0x458], 0
je 0x449ae5
cmp dword [edi], 0xf
jne 0x449ae5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x100]
test al, al
je 0x449b5c
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
lea esi, [esi + 0x550]
mov edi, dword [esi]
and ax, cx
mov ecx, esi
je 0x449ade
call dword [edi + 0x10]
neg al
mov ecx, esi
sbb al, al
inc al
push eax
call dword [edi + 0x18]
jmp 0x449b5c
push 1
call dword [edi + 0x14]
jmp 0x449b5c
cmp dword [edi], 0xd
je 0x449a9f
cmp dword [edi], 0xe
jne 0x449b12
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x100]
test al, al
je 0x449b5c
mov ecx, dword [esi + 0x44]
xor eax, eax
push eax
push eax
push eax
push str.itemclick
push esi
call fcn.00443862
jmp 0x449b5c
cmp dword [edi], 9
je 0x449b5c
cmp dword [edi], 0xb
jne 0x449b3a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x100]
test al, al
je 0x449b5c
or dword [esi + 0x55c], 8
mov ecx, esi
call fcn.00449341
jmp 0x449b5c
cmp dword [edi], 0xa
jne 0x449b54
mov eax, dword [esi + 0x55c]
test al, 8
je 0x449b5c
and eax, 0xfffffff7
mov dword [esi + 0x55c], eax
jmp 0x449b31
push edi
mov ecx, esi
call fcn.004495be
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x44a775
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x108]
mov edi, dword [ebp + 8]
test al, al
jne 0x44a7b5
mov eax, dword [edi]
sub eax, 9
cmp eax, 0xc
ja 0x44a7b5
mov ecx, dword [esi + 0x6d0]
push edi
test ecx, ecx
jne 0x44a920
mov ecx, esi
call fcn.0046ac66
jmp 0x44a92e
cmp dword [edi], 0x13
jne 0x44a7df
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x100]
test al, al
je 0x44a92e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov ecx, esi
call fcn.00449341
jmp 0x44a92e
cmp dword [edi], 3
push 0xd
pop ebx
jne 0x44a7fb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x100]
test al, al
je 0x44a7fb
cmp word [edi + 0x14], bx
je 0x44a7cc
cmp dword [edi], ebx
jne 0x44a84b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x100]
test al, al
je 0x44a92e
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
lea esi, [esi + 0x6c0]
mov edi, dword [esi]
and ax, cx
mov ecx, esi
je 0x44a841
call dword [edi + 0x10]
neg al
mov ecx, esi
sbb al, al
inc al
push eax
call dword [edi + 0x18]
jmp 0x44a92e
push 1
call dword [edi + 0x14]
jmp 0x44a92e
mov ecx, dword [esi + 0x6d0]
test ecx, ecx
je 0x44a868
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [eax + 0x458], 0
je 0x44a868
cmp dword [edi], 0xf
je 0x44a7ff
cmp dword [edi], 0xe
jne 0x44a897
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x100]
test al, al
je 0x44a92e
xor eax, eax
push eax
push eax
push eax
push str.itemclick
mov ecx, dword [esi + 0x44]
push esi
call fcn.00443862
jmp 0x44a92e
cmp dword [edi], 9
je 0x44a92e
cmp dword [edi], 0xb
jne 0x44a8bf
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x100]
test al, al
je 0x44a92e
or dword [esi + 0x6cc], 8
jmp 0x44a7d3
cmp dword [edi], 0xa
jne 0x44a8dc
mov eax, dword [esi + 0x6cc]
test al, 8
je 0x44a92e
and eax, 0xfffffff7
mov dword [esi + 0x6cc], eax
jmp 0x44a7d3
cmp dword [edi], 0x1b
jne 0x44a8f0
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push str.timer
jmp 0x44a889
cmp dword [edi], 0x14
jne 0x44a915
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xdc]
test al, al
je 0x44a915
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push str.menu
jmp 0x44a889
mov ecx, dword [esi + 0x6d0]
push edi
test ecx, ecx
je 0x44a927
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp 0x44a92e
mov ecx, esi
call fcn.0044cc01
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4504c4
Capabilities:
Terminate process

Disassembly:
push 0x260
mov eax, 0x528e51
call fcn.004ebc96
mov esi, ecx
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3fffff
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi]
lea ebx, [esi + 0x30]
mov ecx, esi
call dword [eax + 0x30]
push eax
push dword [esi + 4]
mov ecx, ebx
call fcn.0043ff39
mov ecx, esi
lea eax, [esi + 0x24]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
lea ecx, [ebx + 0x498]
call fcn.0044e691
xor eax, eax
push 0x14c
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.004eddc0
add esp, 0xc
lea ecx, [ebp - 0x264]
call fcn.00472159
xor eax, eax
mov dword [ebp - 4], eax
push 0x84
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.004eddc0
mov eax, dword [esi]
lea ecx, [ebp - 0x118]
add esp, 0xc
push ecx
mov ecx, esi
call dword [eax + 0x28]
mov byte [ebp - 4], 1
xor edx, edx
mov ecx, dword [ebp - 0x118]
lea edi, [esi + 0x28]
mov eax, dword [esi]
mov dword [ebp - 0x268], ecx
cmp word [ecx], dx
je 0x4505a6
lea ecx, [ebp - 0x26c]
push ecx
mov ecx, esi
call dword [eax + 0x2c]
xor ecx, ecx
test esi, esi
push ecx
push ebx
cmove edi, ecx
push edi
push dword [ebp - 0x268]
jmp 0x4505bf
lea ecx, [ebp - 0x268]
push ecx
mov ecx, esi
call dword [eax + 0x2c]
xor edx, edx
xor ecx, ecx
push edx
test esi, esi
push ebx
cmove edi, ecx
push edi
push edx
push dword [eax]
lea ecx, [ebp - 0x264]
call fcn.0047219a
test eax, eax
jne 0x450631
push ecx
lea ecx, [ebp - 0x94]
call fcn.0040d037
push 0xffffffffffffffff
push 0x553488
lea ecx, [ebp - 0x94]
call fcn.0044e82c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x26c]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x2c]
lea ecx, [ebp - 0x94]
push dword [eax]
call fcn.0044ea78
push 0x10
push str.Duilib
lea ecx, [ebp - 0x94]
call fcn.0044e8c0
push eax
xor eax, eax
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push eax
mov ecx, ebx
call fcn.00442ace
mov edx, esi
lea eax, [esi + 0x20]
neg edx
lea ecx, [ebx + 0x474]
sbb edx, edx
and edx, eax
push edx
call fcn.0044e691
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
xor eax, eax
mov byte [ebp - 4], al
lea ecx, [ebp - 0x118]
call fcn.0044e875
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x264]
call fcn.0047407d
xor eax, eax
call fcn.004ebc45
ret 0x10

Function at 0x4535c5
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 0x45362f
cmp dword [ebp + 8], 0x100
jne 0x45361e
cmp word [ebp + 0xc], 0xd
jne 0x45361e
cmp byte [esi + 0x6a2], 0
je 0x453605
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x45361e
cmp byte [esi + 0x6a3], 0
jne 0x45361e
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x45361a
push edi
push edi
push edi
push str.return
push esi
call fcn.00443862
xor eax, eax
jmp 0x453632
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 0x45a467
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 8]
mov edi, eax
mov edx, eax
and edi, 7
je 0x45a493
cmp eax, edi
jge 0x45a487
call fcn.00459ea4
mov eax, dword [esi + 8]
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 0x45a4b6
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx - 4], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x45a49c
mov dword [esi + 8], edx
jmp 0x45a4cb
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x45a4c1
xor dl, dl
jmp 0x45a4c6
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx - 4], dl
inc ecx
cmp ecx, 4
jl 0x45a4b6
mov eax, dword [ebp - 4]
movzx ecx, byte [ebp - 1]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp - 2]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
jne 0x45a52f
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
ja 0x45a52f
mov edx, dword [esi + 0x10]
lea eax, [edx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x45a517
push edi
mov ecx, esi
call fcn.00459f7c
pop ecx
test eax, eax
je 0x45a52f
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.004ec860
add dword [esi], edi
xor eax, eax
add dword [esi + 0x10], edi
add esp, 0xc
inc eax
jmp 0x45a531
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x468be1
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x468bec
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x468ca8
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 + 0x54e6a0]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x54e6a0]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x54e6a0]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x54e6a0]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x54e6a0]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x54e6a0]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x54e6a0]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x54e6a0]
sub edi, 1
jne 0x468c01
pop edi
test esi, esi
je 0x468cc4
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x54e6a0]
inc edx
sub esi, 1
jne 0x468cac
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x468ccb
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push esi
mov esi, ecx
movsx eax, dl
mov ecx, dword [esi]
xor eax, ecx
movzx eax, al
shr ecx, 8
xor ecx, dword [eax*4 + 0x54e6a0]
movzx eax, cl
add eax, dword [esi + 4]
imul eax, eax, 0x8088405
mov dword [esi], ecx
mov ecx, dword [esi + 8]
inc eax
mov dword [esi + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x54e6a0]
mov dword [esi + 8], ecx
pop esi
ret

Function at 0x46934d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x578134]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 0xc]
mov eax, ecx
mov ebx, edx
mov dword [ebp - 8], eax
mov ecx, ebx
imul ecx, dword [ebp + 8]
cmp byte [edi], 0
je 0x469391
push 0
lea edx, [ebp - 8]
push edx
push ecx
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x46938c
mov byte [edi + 8], 1
mov eax, dword [ebp - 8]
jmp 0x4693bb
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.004ec860
add esp, 0xc
mov eax, esi
add dword [edi + 0x1c], esi
pop esi
mov ecx, dword [ebp - 4]
xor edx, edx
div ebx
pop edi
xor ecx, ebp
pop ebx
call fcn.004eacf5
leave
ret
Function at 0x47219a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [ebp + 8]
mov edx, eax
push ebx
push esi
push edi
shr edx, 0x10
mov edi, ecx
push 0x3c
pop esi
test dx, dx
je 0x4721df
cmp word [eax], si
je 0x4721df
call fcn.0043ea9a
push 1
push dword [ebp + 8]
lea ecx, [eax + 0x1c]
call fcn.0044f052
mov ecx, eax
mov eax, dword [ebp + 8]
test ecx, ecx
je 0x4721df
cmp dword [ecx], 0
cmovne eax, dword [ecx]
mov dword [ebp + 8], eax
mov ecx, eax
shr ecx, 0x10
test cx, cx
je 0x472214
cmp word [eax], si
jne 0x4721f8
push eax
mov ecx, edi
call fcn.00473d2c
jmp 0x472201
push ecx
push eax
mov ecx, edi
call fcn.00473e24
test al, al
jne 0x472291
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov esi, dword [edi + 0x148]
test esi, esi
jne 0x47222d
mov esi, dword [0x57dc0c]
test esi, esi
cmove esi, dword [0x57dc08]
push dword [ebp + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x472209
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0xc], eax
push ebx
test eax, eax
jne 0x472257
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x472209
mov eax, dword [ebp + 0x10]
push esi
mov dword [edi + 0x140], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [esp + 0xc]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push ecx
push esi
push eax
mov ecx, edi
call fcn.00473d89
test al, al
je 0x472209
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x144], eax
push dword [ebp + 0x18]
mov ecx, edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.004722a6
jmp 0x47220b