joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406807
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 + 0x59bf38]
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 + 0x59bf38]
mov dword [edx + 8], ecx
pop ebp
ret

Function at 0x408a48
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 0x408a7b
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 0x408a76
mov byte [edi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x408aa5
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.00511dc0
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 0x408b52
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x408b60
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not ecx
cmp esi, 8
jb 0x408c1f
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 + 0x59bf38]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x59bf38]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x59bf38]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x59bf38]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x59bf38]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x59bf38]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x59bf38]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x59bf38]
sub edi, 1
jne 0x408b78
pop edi
test esi, esi
je 0x408c3b
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x59bf38]
inc edx
sub esi, 1
jne 0x408c23
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x40f7e7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 0x10], 0
xorps xmm0, xmm0
movlpd qword [ebp - 8], xmm0
jb 0x40f839
ja 0x40f802
cmp dword [ebp + 0xc], 0
jbe 0x40f839
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp - 8]
push edi
mov edi, dword [ebp - 4]
mov eax, dword [ebp + 0x14]
mov ecx, esi
mov edx, dword [ebp + 0x18]
and ecx, 7
shl ecx, 3
call fcn.00455a20
xor byte [esi + ebx], al
add esi, 1
adc edi, 0
cmp edi, dword [ebp + 0x10]
jb 0x40f80e
ja 0x40f836
cmp esi, dword [ebp + 0xc]
jb 0x40f80e
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40f83b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 0x10], 0
xorps xmm0, xmm0
movlpd qword [ebp - 8], xmm0
jb 0x40f88e
ja 0x40f856
cmp dword [ebp + 0xc], 0
jbe 0x40f88e
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp - 8]
push edi
mov edi, dword [ebp - 4]
mov eax, dword [ebp + 0x14]
mov ecx, esi
mov edx, dword [ebp + 0x18]
and ecx, 7
shl ecx, 3
call fcn.00455a20
xor word [ebx + esi*2], ax
add esi, 1
adc edi, 0
cmp edi, dword [ebp + 0x10]
jb 0x40f862
ja 0x40f88b
cmp esi, dword [ebp + 0xc]
jb 0x40f862
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41c287
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x646384]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x39
mov eax, 0x4d40
mov dword [ebp - 0x58], 0xd275718
mov word [ebp - 0x4c], ax
mov edx, 0x4d51
pop eax
mov word [ebp - 0x4a], ax
mov eax, 0x4d52
mov word [ebp - 0x3c], ax
push 0x2c
pop eax
mov word [ebp - 0x3a], ax
lea eax, [edx - 1]
push 0x78
pop ecx
mov word [ebp - 0x1c], ax
push 0x2b
pop eax
mov word [ebp - 0x1a], ax
mov eax, 0x575d
mov word [ebp - 0x2a], cx
mov word [ebp - 0xa], cx
mov ecx, dword [0x653a68]
mov word [ebp - 8], ax
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x54], 0x57533178
mov dword [ebp - 0x50], 0x336c051b
mov dword [ebp - 0x48], 0xd35576f
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x652f14]
mov dword [ebp - 0x44], 0x5750313c
mov dword [ebp - 0x40], 0x33300535
mov dword [ebp - 0x38], 0xd645764
mov dword [ebp - 0x34], 0x57063135
mov dword [ebp - 0x30], 0x333d0563
mov word [ebp - 0x2c], dx
mov dword [ebp - 0x28], 0xd6e5765
mov dword [ebp - 0x24], 0x5754313a
mov dword [ebp - 0x20], 0x33350534
mov dword [ebp - 0x18], 0xd35576c
mov dword [ebp - 0x14], 0x57063135
mov dword [ebp - 0x10], 0x333d0535
mov word [ebp - 0xc], dx
cmp eax, dword [ecx + 4]
jg 0x41c382
mov ecx, dword [ebp - 4]
mov eax, 0x652ec0
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004553ba
leave
ret
mov esi, 0x652f14
push esi
call fcn.0045500b
cmp dword [0x652f14], 0xffffffff
pop ecx
jne 0x41c36e
xorps xmm0, xmm0
mov byte [0x652f12], 1
movlpd qword [ebp - 0x60], xmm0
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
jmp 0x41c3ae
mov ax, word [ebp + ecx*2 - 0x58]
mov word [ecx*2 + 0x652ec0], ax
add ecx, 1
adc edx, 0
jne 0x41c3ca
cmp ecx, 0x29
jb 0x41c3ae
jmp 0x41c3ca
push 0x5991f0
call fcn.004553a5
push esi
call fcn.00454fc1
pop ecx
pop ecx
jmp 0x41c36e

Function at 0x425320
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 4], 0
and dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
pop ebp
ret 4

Function at 0x426722
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [eax + 0x10], ecx
jne 0x426733
xor al, al
pop ebp
ret
cmp dword [eax + 0x14], 8
jb 0x42673b
mov eax, dword [eax]
push 0xa
push ecx
push ecx
push eax
push 0x5a2dcc
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
test eax, eax
setne al
pop ebp
ret
Function at 0x428b67
Capabilities:
Create process on windows

Disassembly:
push 0
mov eax, 0x58d452
call fcn.00455402
mov esi, dword [ebp + 8]
xor edi, edi
cmp dword [esi + 0x10], edi
jne 0x428b81
xor al, al
jmp 0x428bd6
mov dword [ebp - 4], edi
call fcn.00403ef0
push eax
lea ecx, [ebp + 8]
call fcn.00416acc
cmp dword [esi + 0x14], 8
mov dword [ebp - 4], 1
jb 0x428ba1
mov esi, dword [esi]
push esi
lea eax, [ebp + 8]
push str._select___s_
push eax
call fcn.0042309a
mov esi, dword [ebp + 8]
add esp, 0xc
push 0xa
push edi
push esi
push str.explorer.exe
push edi
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
test eax, eax
lea ecx, [esi - 0x10]
setne bl
call fcn.00427b2c
mov al, bl
call fcn.004553cb
ret

Function at 0x42b07c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x646384]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x42b100
cmp byte [esi + 0x3d], 0
je 0x42b100
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x42b0d2
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x42b0d6
sub eax, 1
je 0x42b0da
dec eax
sub eax, 1
je 0x42b100
xor al, al
jmp 0x42b102
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x42b0f7
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00523e86
add esp, 0x10
cmp edi, eax
jne 0x42b0d2
cmp byte [esi + 0x3d], 0
sete al
jmp 0x42b102
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004553ba
leave
ret
Function at 0x42f3f6
Capabilities:
Parse url

Disassembly:
push 0x38
mov eax, 0x58d947
call fcn.00455436
mov esi, ecx
mov eax, dword [ebp + 8]
lea edi, [esi + 0x3c]
and dword [ebp - 0x44], 0
mov ecx, edi
push eax
call fcn.0041b5cb
push 0x3c
pop ebx
push ebx
push 0
push esi
call fcn.005128c0
xor eax, eax
mov dword [esi], ebx
inc eax
add esp, 0xc
mov dword [esi + 8], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x38], eax
cmp dword [edi + 0x14], 0x10
jb 0x42f444
mov edi, dword [edi]
push esi
xor ebx, ebx
push ebx
push dword [esi + 0x4c]
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x42f45d
xor al, al
jmp 0x42f4e1
cmp dword [esi + 0x10], ebx
je 0x42f485
push dword [esi + 0x14]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], ebx
push dword [esi + 0x10]
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], bl
call fcn.004040db
xor ebx, ebx
lea eax, [ebp - 0x40]
inc ebx
jmp 0x42f4a6
push ebx
push 0x59c3f4
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
call fcn.004040db
push 2
lea eax, [ebp - 0x28]
pop ebx
lea edi, [esi + 0x54]
push eax
mov ecx, edi
call fcn.0041b5a2
test bl, 2
je 0x42f4c1
lea ecx, [ebp - 0x28]
and ebx, 0xfffffffd
call fcn.004048fa
test bl, 1
je 0x42f4ce
lea ecx, [ebp - 0x40]
call fcn.004048fa
cmp dword [edi + 0x14], 0x10
jb 0x42f4d6
mov edi, dword [edi]
mov dword [esi + 0x10], edi
mov al, 1
mov ecx, dword [esi + 0x64]
mov dword [esi + 0x14], ecx
call fcn.004553e0
ret 4

Function at 0x434b30
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
mov eax, edx
shr eax, 0x10
xor eax, edx
imul ecx, eax, 0x85ebca6b
push esi
mov esi, dword [ebp + 0xc]
dec esi
push edi
mov edi, dword [ebp + 8]
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae35
mov eax, ecx
shr eax, 0x10
xor eax, ecx
and eax, esi
xor ecx, ecx
cmp dword [edi + eax*4], 0
je 0x434b7d
cmp dword [edi + eax*4], edx
je 0x434b79
inc eax
add eax, ecx
and eax, esi
inc ecx
cmp ecx, esi
jbe 0x434b64
xor al, al
jmp 0x434b82
mov dword [edi + eax*4], edx
mov al, 1
pop edi
pop esi
pop ebp
ret

Function at 0x434b86
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
xor ecx, ecx
movzx eax, word [edx]
test ax, ax
je 0x434bb9
push esi
mov esi, eax
movzx eax, si
lea edx, [edx + 2]
add eax, ecx
imul ecx, eax, 0x401
mov eax, ecx
shr eax, 6
xor ecx, eax
movzx eax, word [edx]
mov esi, eax
test ax, ax
jne 0x434b99
pop esi
imul ecx, ecx, 9
mov eax, ecx
shr eax, 0xb
xor eax, ecx
imul eax, eax, 0x8001
pop ebp
ret
Function at 0x434ee2
Capabilities:
Create process on windows

Disassembly:
push 0xdc
mov eax, 0x58dead
call fcn.00455436
mov dword [ebp - 0x84], ecx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x7c]
mov eax, dword [ebp + 0x1c]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x80], eax
call fcn.00418ee9
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x88], edi
cmp dword [esi + 0x14], 8
mov ecx, esi
mov byte [ebp - 4], 1
jb 0x434f33
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
lea ecx, [ecx + eax*2]
mov eax, esi
jb 0x434f3f
mov eax, dword [esi]
push dword [ebp - 0x84]
push ecx
push eax
lea ecx, [ebp - 0x90]
call fcn.0040ae47
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], edi
push eax
lea ecx, [ebp - 0x90]
call fcn.0041197c
xor eax, eax
mov dword [ebp - 0xe8], 0x44
lea edi, [ebp - 0xa4]
stosd dword es:[edi], eax
push 0x40
push 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0xe4]
push eax
call fcn.005128c0
mov cl, byte [ebp + 0x18]
add esp, 0xc
xor edx, edx
movzx edi, cl
test cl, cl
mov dword [ebp - 0xbc], 0x81
lea ecx, [ebp - 0x28]
push 5
pop eax
push dword [ebp - 0x80]
cmovne eax, edx
and dword [ebp - 0x18], edx
and dword [ebp - 0x14], edx
shl edi, 0x1b
mov word [ebp - 0xb8], ax
add edi, 0x1000000
call fcn.0042a9ae
cmp dword [ebp - 0x18], 0
mov byte [ebp - 4], 2
jne 0x434ffb
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00433f92
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.0041b5f3
lea ecx, [ebp - 0x40]
call fcn.0042d93f
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0xe8]
push ecx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
xor eax, eax
push eax
push edi
push eax
push eax
push eax
push dword [ebp - 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x435095
cmp dword [ebp - 0xa4], 0
je 0x435095
cmp byte [ebp + 0x10], 0
je 0x435050
mov eax, dword [ebp - 0x84]
push dword [ebp - 0xa4]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
push dword [ebp - 0xa0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
lea ecx, [ebp - 0x7c]
call fcn.0041b61c
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x64]
call fcn.0041b61c
mov al, byte [ebp + 0x10]
mov byte [ebp - 0x4c], al
mov al, byte [ebp + 0x14]
mov byte [ebp - 0x4b], al
mov al, byte [ebp + 0x18]
mov byte [ebp - 0x4a], al
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x7c]
mov ecx, ebx
push eax
call fcn.00418e48
lea ecx, [ebp - 0x28]
call fcn.0042d93f
lea ecx, [ebp - 0x90]
call fcn.0042d919
lea ecx, [ebp - 0x64]
call fcn.0042d93f
lea ecx, [ebp - 0x7c]
call fcn.0042d93f
mov eax, ebx
call fcn.004553e0
ret 0x18
Function at 0x4355ed
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
xor esi, esi
test ebx, ebx
jne 0x43560f
mov eax, dword [ebp + 8]
mov dword [eax], 1
mov dword [eax + 8], esi
mov dword [eax + 4], esi
jmp 0x4356b4
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], esi
push eax
push ebx
call fcn.00434361
pop ecx
pop ecx
mov ecx, eax
test ecx, ecx
je 0x43562b
mov eax, dword [ebp + 8]
mov dword [eax], ecx
jmp 0x435604
mov eax, dword [ebp + 0x10]
mov ecx, dword [fcn.0042fc64]
add eax, 2
push edi
push eax
call ecx
mov edi, eax
pop ecx
test edi, edi
jne 0x43564d
mov eax, dword [ebp + 8]
mov dword [eax], 3
jmp 0x435672
push ebx
mov ebx, dword [ebp + 0x10]
push ebx
push 1
push edi
call fcn.0052328a
add esp, 0x10
cmp eax, ebx
je 0x43567a
push edi
call dword [0x64626c]
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], 2
mov dword [eax + 8], esi
mov dword [eax + 4], esi
jmp 0x4356b3
push ebx
push edi
push dword [ebp + 0x18]
call fcn.00434257
add esp, 0xc
push dword [ebp + 0x1c]
push 1
push 1
push eax
push dword [ebp + 0x14]
push eax
push ebx
push edi
call fcn.0043da58
add esp, 0xc
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043543f
mov eax, dword [ebp + 8]
add esp, 0x28
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x45a260
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 0x45a283
or esi, 1
push 2
call edi
test ax, ax
jns 0x45a28f
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x45a29b
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x45a2a7
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x45d247
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
cmp dword [0x653e40], 0
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
jne 0x45d27a
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [edi + 0x2c]
je 0x45d27a
cmp esi, dword [edi + 0x74]
je 0x45d351
push dword [edi + 0x2c]
call dword [sym.imp.USER32.dll_SetFocus]
cmp esi, dword [edi + 0x74]
je 0x45d351
cmp dword [edi + 0x74], 0
je 0x45d2db
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 + 0x74]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x1fc]
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.killfocus
push dword [edi + 0x74]
call fcn.0045cf11
mov eax, dword [edi + 0x74]
and dword [edi + 0x74], 0
mov dword [edi + 0x78], eax
test esi, esi
je 0x45d351
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
cmp eax, edi
jne 0x45d351
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18c]
test al, al
je 0x45d351
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x45d351
xorps xmm0, xmm0
mov dword [edi + 0x74], 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 + 0x74]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x1fc]
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.setfocus
push dword [edi + 0x74]
call fcn.0045cf11
pop edi
pop esi
leave
ret 4

Function at 0x45e3f8
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 0x45e42a
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 0x463ade
Capabilities:
Terminate process

Disassembly:
push 0x28
mov eax, 0x58fb90
call fcn.00455402
mov edi, ecx
push 0xfffffffffffffff0
call fcn.00456e30
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3fffff
mov ecx, edi
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
call fcn.00456e30
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [edi]
lea ebx, [edi + 0x3c]
mov ecx, edi
call dword [eax + 0x2c]
push eax
push dword [edi + 4]
mov ecx, ebx
call fcn.00459e30
lea eax, [edi + 0x24]
mov ecx, ebx
push eax
call fcn.00459354
lea ecx, [ebp - 0x34]
call fcn.0047fde5
mov eax, dword [edi]
lea ecx, [ebp - 0x10]
push ecx
xor esi, esi
mov ecx, edi
mov dword [ebp - 4], esi
call dword [eax + 0x24]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00456e7d
lea ecx, [ebp - 0x14]
test al, al
mov eax, dword [edi]
push ecx
mov ecx, edi
jne 0x463ba6
call dword [eax + 0x28]
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0041bb30
push eax
call fcn.0052a561
pop ecx
lea ecx, [ebp - 0x14]
movzx esi, ax
mov byte [ebp - 4], 1
call fcn.00456789
push 0
push ebx
lea eax, [edi + 0x28]
push eax
lea ecx, [ebp - 0x10]
call fcn.0041bb30
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.004809d0
mov esi, eax
jmp 0x463bd6
call dword [eax + 0x28]
push esi
push ebx
lea ecx, [edi + 0x28]
mov byte [ebp - 4], 3
push ecx
push esi
mov ecx, eax
call fcn.0041bb30
push ecx
mov ecx, esp
mov dword [ecx], eax
lea ecx, [ebp - 0x34]
call fcn.004809d0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
mov esi, eax
call fcn.00456789
test esi, esi
jne 0x463c30
push 0xffffffffffffffff
push str.Loading_resource_failed_:
lea ecx, [ebp - 0x14]
call fcn.0045665e
mov eax, dword [edi]
lea ecx, [ebp - 0x18]
push ecx
mov ecx, edi
mov byte [ebp - 4], 4
call dword [eax + 0x28]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00456953
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.00456789
push 0x10
push str.Duilib
lea ecx, [ebp - 0x14]
call fcn.0041bb30
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.004594fc
lea eax, [edi + 0x20]
mov ecx, ebx
push eax
call fcn.0045929a
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x10]
call fcn.00456789
lea ecx, [ebp - 0x34]
call fcn.0047d1cf
xor eax, eax
call fcn.004553cb
ret 0x10
Function at 0x4691dc
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 + 0x198]
mov edi, dword [ebp + 8]
test al, al
jne 0x46921d
mov eax, dword [edi]
sub eax, 9
cmp eax, 0xc
ja 0x46921d
mov ecx, dword [esi + 0x33c]
push edi
test ecx, ecx
je 0x469211
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp 0x4693da
mov ecx, esi
call fcn.00481466
jmp 0x4693da
cmp dword [edi], 0x13
jne 0x46924a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x4693da
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1f0]
jmp 0x4693da
cmp dword [edi], 3
push ebx
push 0xd
pop ebx
jne 0x469273
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x469273
cmp word [edi + 0x14], bx
jne 0x469273
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
jmp 0x469372
cmp dword [edi], ebx
je 0x469294
mov ecx, dword [esi + 0x33c]
test ecx, ecx
je 0x4692e3
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [eax + 0x257], 0
je 0x4692e3
cmp dword [edi], 0xf
jne 0x4692e3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x4693d9
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
lea esi, [esi + 0x330]
mov edi, dword [esi]
and ax, cx
mov ecx, esi
je 0x4692d9
call dword [edi + 0x10]
neg al
mov ecx, esi
sbb al, al
inc al
movzx eax, al
push eax
call dword [edi + 0x18]
jmp 0x4693d9
push 1
call dword [edi + 0x14]
jmp 0x4693d9
cmp dword [edi], 0xe
jne 0x469309
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x4693d9
xor eax, eax
push eax
push eax
push eax
push str.itemclick
jmp 0x4693b2
cmp dword [edi], 0x10
jne 0x46932f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x4693d9
xor eax, eax
push eax
push eax
push eax
push str.itemrclick
jmp 0x4693b2
cmp dword [edi], 9
je 0x4693d9
cmp dword [edi], 0xb
jne 0x469353
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b0]
test al, al
je 0x4693d9
push 1
jmp 0x469368
cmp dword [edi], 0xa
jne 0x46937e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c4]
test al, al
je 0x4693d9
push 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c8]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1f0]
jmp 0x4693d9
cmp dword [edi], 0x1b
jne 0x469392
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push str.timer
jmp 0x4693b2
cmp dword [edi], 0x14
jne 0x4693c0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x174]
test al, al
je 0x4693c0
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push 0x5aace8
mov ecx, dword [esi + 0x9c]
push esi
call fcn.0045cf11
jmp 0x4693d9
mov ecx, dword [esi + 0x33c]
push edi
test ecx, ecx
je 0x4693d2
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp 0x4693d9
mov ecx, esi
call fcn.0045f02d
pop ebx
pop edi
pop esi
pop ebp
ret 4