joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413210
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
movsx eax, byte [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor eax, dword [ecx]
and eax, 0xff
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
shr ecx, 8
xor ecx, dword [eax*4 + 0x4c3e58]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
and ecx, 0xff
mov edx, dword [ebp + 8]
add ecx, dword [edx + 4]
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
imul edx, edx, 0x8088405
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shr edx, 0x18
mov eax, dword [ebp + 8]
xor edx, dword [eax + 8]
and edx, 0xff
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x4c3e58]
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
pop ebp
ret

Function at 0x414190
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx]
test edx, edx
je 0x4141df
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4141d5
mov edx, dword [ebp + 0x14]
mov byte [edx + 8], 1
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x414239
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x14]
cmp ecx, dword [edx + 0x18]
jbe 0x4141ff
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x18]
sub edx, dword [ecx + 0x1c]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp + 0x14]
add edx, dword [eax + 0x1c]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.004956b0
add esp, 0xc
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 4]
xor edx, edx
div dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x415c40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x415c5a
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 4], 0xffffffff
je 0x415c64
mov eax, 0x1000000
jmp 0x415d60
mov edx, dword [ebp - 0x18]
add edx, 0x244
push edx
push 0x103
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, dword [ebp - 0x18]
add eax, 0x244
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 2
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x1c]
mov ax, word [edx]
mov word [ebp - 0x22], ax
add dword [ebp - 0x1c], 2
cmp word [ebp - 0x22], 0
jne 0x415c8d
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x20]
sar ecx, 1
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
lea ecx, [eax + edx*2 + 0x242]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
movzx eax, word [edx]
cmp eax, 0x5c
je 0x415ce8
mov ecx, dword [ebp - 8]
movzx edx, word [ecx]
cmp edx, 0x2f
je 0x415ce8
mov eax, 0x2f
mov ecx, dword [ebp - 8]
mov word [ecx + 2], ax
xor edx, edx
mov eax, dword [ebp - 8]
mov word [eax + 4], dx
cmp dword [ebp + 0x10], 1
jne 0x415d18
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040f870
add esp, 4
mov dword [ebp - 0x10], eax
xor edx, edx
cmp dword [ebp - 0x10], 0xffffffff
setne dl
mov byte [ebp - 0x11], dl
movzx eax, byte [ebp - 0x11]
test eax, eax
jne 0x415d18
mov eax, 0x2000000
jmp 0x415d60
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00413e80
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x415d3e
mov eax, dword [ebp - 0xc]
jmp 0x415d60
mov edx, dword [ebp - 4]
push edx
call fcn.00414670
add esp, 4
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov edx, dword [ebp - 0x18]
cmp dword [edx], 0
jne 0x415d5e
mov eax, 0x200
jmp 0x415d60
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x417f40
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
movsx eax, byte [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor eax, dword [ecx]
and eax, 0xff
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
shr ecx, 8
xor ecx, dword [eax*4 + 0x4c2098]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
and ecx, 0xff
mov edx, dword [ebp + 8]
add ecx, dword [edx + 4]
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
imul edx, edx, 0x8088405
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shr edx, 0x18
mov eax, dword [ebp + 8]
xor edx, dword [eax + 8]
and edx, 0xff
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x4c2098]
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
pop ebp
ret
Function at 0x4180f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + 0x2d]
test edx, edx
je 0x4181d2
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x3c], 0
je 0x418141
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x40]
cmp edx, dword [ebp + 0xc]
jae 0x418141
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.004922dc
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x3c], 0
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x3c], 0
jne 0x41816d
mov edx, dword [ebp + 0xc]
shl edx, 1
push edx
call fcn.004924cc
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x3c], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x40], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x3c]
push ecx
call fcn.004956b0
add esp, 0xc
mov dword [ebp - 8], 0
jmp 0x418196
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
jae 0x4181c9
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x3c]
mov eax, dword [ebp - 8]
movzx ecx, byte [edx + eax]
push ecx
mov edx, dword [ebp - 0x18]
add edx, 0x30
push edx
call fcn.00417ff0
add esp, 8
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x3c]
mov ecx, dword [ebp - 8]
mov byte [edx + ecx], al
jmp 0x41818d
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x3c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x20], 0
je 0x41822d
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x24]
add eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
cmp eax, dword [ecx + 0x28]
jb 0x4181fa
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x14], 0x30000
xor eax, eax
jmp 0x418262
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x20]
mov ecx, dword [ebp - 0x18]
add eax, dword [ecx + 0x24]
push eax
call fcn.004956b0
add esp, 0xc
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x24]
add eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x24], eax
mov eax, dword [ebp + 0xc]
jmp 0x418262
mov edx, dword [ebp - 0x18]
cmp dword [edx + 4], 0
je 0x418256
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0xc]
jmp 0x418262
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x14], 0x1000000
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x418530
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov ecx, dword [ebp + 8]
call fcn.00402ab0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x41855f
mov eax, dword [ebp - 4]
and eax, 0x10
je 0x41855f
mov dword [ebp - 8], 1
jmp 0x418566
mov dword [ebp - 8], 0
mov al, byte [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x418800
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1358
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x4d0c20]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x288], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x260]
call fcn.00401680
lea ecx, [ebp - 0x260]
push ecx
call fcn.00418530
add esp, 4
mov byte [ebp - 0x241], al
lea ecx, [ebp - 0x260]
call fcn.004016c0
movzx edx, byte [ebp - 0x241]
test edx, edx
je 0x418872
mov al, 1
jmp 0x4189b0
lea ecx, [ebp - 0x30]
call fcn.00401650
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x23c], ax
push 0x206
push 0
lea ecx, [ebp - 0x23a]
push ecx
call fcn.00495570
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x23c]
push eax
call fcn.004189d0
add esp, 8
lea ecx, [ebp - 0x10]
push ecx
push 0x4c1bdc
lea edx, [ebp - 0x23c]
push edx
call fcn.00494d27
add esp, 0xc
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x418994
mov eax, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0x30]
call fcn.00401e50
push 0x4c1be4
lea ecx, [ebp - 0x30]
call fcn.00401e50
lea ecx, [ebp - 0x30]
call fcn.00402ab0
push eax
lea ecx, [ebp - 0x280]
call fcn.00401680
lea ecx, [ebp - 0x280]
push ecx
call fcn.00418530
add esp, 4
movzx edx, al
neg edx
sbb edx, edx
add edx, 1
mov byte [ebp - 0x261], dl
lea ecx, [ebp - 0x280]
call fcn.004016c0
movzx eax, byte [ebp - 0x261]
test eax, eax
je 0x418979
push 0
lea ecx, [ebp - 0x30]
call fcn.00402ab0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x418979
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x240], eax
mov byte [ebp - 0x281], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004016c0
mov al, byte [ebp - 0x281]
jmp 0x4189b0
lea ecx, [ebp - 0x10]
push ecx
push 0x4c1be8
push 0
call fcn.00494d27
add esp, 0xc
mov dword [ebp - 0x34], eax
jmp 0x4188ce
mov byte [ebp - 0x282], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004016c0
mov al, byte [ebp - 0x282]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004922e7
mov esp, ebp
pop ebp
ret 4
Function at 0x41a370
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x41a391
mov ecx, dword [ebp - 4]
or ecx, 8
mov dword [ebp - 4], ecx
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x41a3a9
mov eax, dword [ebp - 4]
or eax, 2
mov dword [ebp - 4], eax
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x41a3c1
mov edx, dword [ebp - 4]
or edx, 1
mov dword [ebp - 4], edx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x41a3d7
mov ecx, dword [ebp - 4]
or ecx, 4
mov dword [ebp - 4], ecx
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x41a3ef
mov eax, dword [ebp - 4]
or eax, 0x20
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x423af0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], ecx
push 4
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x20], eax
push 1
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x1c], 0
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x423bca
push 0
push 0
push 0
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x423bca
cmp dword [ebp - 0x18], 0x10
jne 0x423b96
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax + 4]
jne 0x423b96
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x10], eax
push 1
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
lea eax, [ebp - 0x1c]
push eax
call fcn.00422b90
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x423bbd
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x18], 0x12
jne 0x423bc5
jmp 0x423bca
jmp 0x423b41
push 1
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebp - 0x18], 0x12
jne 0x423bf0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x423c00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x24], ecx
push 4
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x20], eax
movzx edx, byte [ebp + 8]
test edx, edx
je 0x423c36
movzx eax, byte [ebp + 0xc]
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 4
mov dword [ebp - 0x28], eax
jmp 0x423c3d
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x1c], 0
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x423cfe
push 0
push 0
push 0
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x423cfe
cmp dword [ebp - 0x18], 0x10
jne 0x423cca
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax + 4]
jne 0x423cca
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x10], eax
push 1
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
lea eax, [ebp - 0x1c]
push eax
call fcn.00422b90
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x423cf1
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x18], 0x12
jne 0x423cf9
jmp 0x423cfe
jmp 0x423c75
push 1
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebp - 0x18], 0x12
jne 0x423d24
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + 0x10]
mov esp, ebp
pop ebp
ret 8
Function at 0x45f6e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x69c], 0
je 0x45f793
cmp dword [ebp + 8], 0x100
jne 0x45f75f
movzx ecx, word [ebp + 0xc]
cmp ecx, 0xd
jne 0x45f75f
mov edx, dword [ebp - 8]
movzx eax, byte [edx + 0x6a2]
test eax, eax
je 0x45f736
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x45f75f
mov edx, dword [ebp - 8]
movzx eax, byte [edx + 0x6a3]
test eax, eax
jne 0x45f75f
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x5c], 0
je 0x45f75b
push 1
push 0
push 0
push 0
push str.return
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x5c]
call fcn.0041fcd0
xor eax, eax
jmp 0x45f798
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x69c]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xc]
mov eax, dword [edx + 0xc]
call eax
jmp 0x45f798
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x47fa80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b02db
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x4d0c20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xac], ecx
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 0xac]
mov eax, dword [edx + 0x14]
mov dword [eax + 0x6e0], 0
mov ecx, dword [ebp - 0xac]
cmp dword [ecx + 4], 0
jne 0x47fb8b
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0xac]
call fcn.0047fc70
mov dword [ebp - 0x10], 0x40000000
push 0
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x18]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x14]
mov dword [eax + 0xc], edx
push 0
mov eax, dword [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0xac]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax + 0x14]
mov edx, dword [edx]
mov eax, dword [edx + 0x24]
call eax
mov ecx, eax
call fcn.00419950
push eax
mov ecx, dword [ebp - 0xac]
call fcn.00423940
push 1
mov ecx, dword [ebp - 0xac]
mov ecx, dword [ecx + 0x14]
call fcn.00431580
push eax
mov edx, dword [ebp - 0xac]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 0xac]
mov ecx, dword [ecx + 0x14]
mov edx, dword [eax]
mov eax, dword [edx + 0x24]
call eax
mov ecx, eax
call fcn.004210f0
mov ecx, dword [eax]
push ecx
push 0x30
mov edx, dword [ebp - 0xac]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0xa8]
push ecx
mov edx, dword [ebp - 0xac]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 0xac]
mov ecx, dword [ecx + 0x14]
mov edx, dword [eax]
mov eax, dword [edx + 0x38]
call eax
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xb4]
call fcn.00424e10
mov byte [ebp - 0x21], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.00424bf0
movzx edx, byte [ebp - 0x21]
test edx, edx
je 0x47fc02
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax + 0x14]
add ecx, 0x6d0
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edx, dword [ebp - 0xac]
mov eax, dword [edx + 0x14]
add eax, 0x6d0
push eax
push 0
push 0x1002
mov ecx, dword [ebp - 0xac]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0xac]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 0xac]
mov byte [ecx + 0x1c], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x480370
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
movzx eax, byte [ebp + 0x18]
push eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp + 8]
mov dword [ecx], edx
mov eax, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 0x10]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x14]
call fcn.00436ca0
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x6e8], 0
je 0x480416
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x6e8]
call fcn.0047fc70
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x4803e7
push 0
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x6e8]
call fcn.00424ad0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x480416
push 0x54
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x6e8]
call fcn.00424ad0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esp, ebp
pop ebp
ret 0x14

Function at 0x480420
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
movzx eax, byte [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.004373a0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x6e8], 0
je 0x4804b2
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x6e8]
call fcn.0047fc70
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x480483
push 0
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x6e8]
call fcn.00424ad0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4804b2
push 0x54
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x6e8]
call fcn.00424ad0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esp, ebp
pop ebp
ret 0xc