joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407b40
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x588158
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [0x5f7780]
mov edx, dword [eax + 0xc]
mov ecx, 0x5f7780
xor esi, esi
call edx
add eax, 0x10
mov dword [esp + 0xc], eax
lea edi, [esp + 0xc]
mov dword [esp + 0x18], esi
call fcn.00407aa0
test eax, eax
je 0x407bc1
push str.shoujizhushou.exe
push 0x5aeb8c
call fcn.004815b0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
add esp, 8
push 5
push esi
push eax
push ecx
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x407bc1
mov esi, 1
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407be9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x409830
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x589558
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
call fcn.0046bd70
push eax
lea ecx, [esp + 0x14]
push ecx
mov ebx, str.datausertag_
mov dword [esp + 0x28], 0
call fcn.00478cb0
mov edx, dword [esp + 0x34]
push edx
lea ecx, [esp + 0x18]
push ecx
mov ebx, eax
mov byte [esp + 0x30], 1
call fcn.00478fd0
add esp, 0x10
mov edi, dword [esp + 0x28]
add edi, 4
mov byte [esp + 0x20], 2
call fcn.00480f90
mov byte [esp + 0x20], 1
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4098c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x20], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4098eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409913
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x18
ret 8
Function at 0x409930
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x58fd80
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 4]
mov ecx, dword [eax - 0xc]
xor edi, edi
cmp ecx, edi
je 0x409a16
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4099bc
or ebx, 0xffffffff
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], vtable.BkJson::Document.0
mov dword [esp + 0x24], vtable.BkJson::Error.0
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
lea eax, [esp + 0x18]
mov dword [esp + 0x3c], edi
mov ecx, dword [esi + 4]
push eax
call fcn.00485270
test eax, eax
jne 0x4099d6
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], ebx
call fcn.00484ec0
mov eax, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x30
ret 4
push esi
lea eax, [esp + 0x1c]
call fcn.00409f30
test eax, eax
je 0x4099af
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00409d50
mov byte [esp + 0x3c], 1
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], edi
jne 0x409a2d
lea ecx, [esp + 0x14]
call fcn.004818c0
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], ebx
call fcn.00484ec0
xor eax, eax
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x30
ret 4
mov edx, dword [esp + 0x44]
push edx
call fcn.00484f30
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.004818c0
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], ebx
call fcn.00484ec0
mov eax, esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x30
ret 4
Function at 0x40b890
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5894e8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0xc]
push eax
mov ecx, 0x5ab69c
call fcn.00481430
lea ecx, [esp + 0x10]
push ecx
push esi
mov dword [esp + 0x24], 0
call fcn.0040ba80
mov edi, eax
mov edx, dword [edi]
mov eax, dword [edx - 0xc]
test eax, eax
je 0x40b917
mov eax, dword [esp + 0xc]
cmp dword [eax - 0xc], 0
je 0x40b917
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x40b917
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40b917
mov esi, dword [esi]
mov ecx, dword [esp + 0xc]
mov eax, dword [edi]
push esi
push 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
jmp 0x40b91c
mov eax, 1
xor edx, edx
cmp eax, 1
mov eax, dword [esp + 0x10]
sete dl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov esi, edx
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b946
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b96e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret

Function at 0x40b990
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5894e8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0xc]
push eax
mov ecx, 0x5af6d8
call fcn.00481430
lea ecx, [esp + 0x10]
push ecx
push esi
mov dword [esp + 0x24], 0
call fcn.0040ba80
mov edi, eax
mov edx, dword [edi]
mov eax, dword [edx - 0xc]
test eax, eax
je 0x40ba19
mov eax, dword [esp + 0xc]
cmp dword [eax - 0xc], 0
je 0x40ba19
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x40ba19
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40ba19
mov esi, dword [esi]
mov ecx, dword [esp + 0xc]
mov eax, dword [edi]
push esi
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
jmp 0x40ba1b
xor esi, esi
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40ba3b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ba63
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x40bb10
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push ecx
push esi
mov esi, eax
lea eax, [esp + 4]
push eax
mov ecx, str.config
call fcn.00481430
mov ecx, dword [esp + 4]
cmp dword [ecx - 0xc], 0
je 0x40bb60
mov edx, dword [edi]
cmp dword [edx - 0xc], 0
je 0x40bb60
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x40bb60
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40bb60
mov eax, dword [esi]
mov ecx, dword [edi]
push eax
mov eax, dword [esp + 8]
push 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
jmp 0x40bb65
mov esi, 1
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bb85
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
pop esi
pop ecx
ret
Function at 0x40bf70
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x595618
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
lea eax, [esp + 0x18]
push eax
call fcn.0047bc80
add esp, 4
push eax
lea ecx, [esp + 0x18]
push ecx
mov ebx, str.kvipwiz.exe
mov dword [esp + 0x60], 0
call fcn.00478cb0
add esp, 8
mov byte [esp + 0x58], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or ebp, 0xffffffff
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40bfe6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, ebp
jne 0x40c02c
mov dword [esp + 0x58], ebp
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], ebp
dec ebp
test ebp, ebp
jg 0x40c016
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
push 0
lea ecx, [esp + 0x20]
push ecx
call fcn.0047b260
mov eax, 0x5aa32c
lea esi, [esp + 0x20]
mov byte [esp + 0x58], 3
call fcn.004700a0
push str.shortcutcreatetip
mov ebx, 0x11
call fcn.00480ff0
push 1
push 0x5ae648
mov eax, str.from
call fcn.004700a0
mov edi, eax
call fcn.00481690
add esp, 8
push 0xbb8
push 0x5ae648
mov eax, str.delay
call fcn.004700a0
mov edi, eax
call fcn.00481690
mov edx, dword [esp + 0x1c]
add esp, 8
push edx
lea eax, [esp + 0x20]
push eax
call fcn.0046fe10
lea ecx, [esp + 0x20]
mov esi, eax
mov byte [esp + 0x58], 2
call fcn.0047b210
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c0d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x58], ebp
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x40c0f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
Function at 0x40c620
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5920e8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
lea esi, [esp + 8]
call fcn.00413700
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], ecx
mov ecx, esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
call fcn.00413790
mov esi, eax
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c69e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x20
ret 0xc

Function at 0x40ce50
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x5894b8
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x24]
lea eax, [esp + 0x24]
push eax
xor esi, esi
call fcn.0047bc80
add esp, 4
mov edi, ebp
mov dword [esp + 0x1c], esi
call fcn.00480f90
or edi, 0xffffffff
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ceb8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jl 0x40cfb7
push str..exe
push eax
call fcn.0056685f
add esp, 8
test eax, eax
je 0x40cfb7
sub eax, dword [ebx]
sar eax, 1
cmp eax, edi
je 0x40cfb7
lea esi, [eax + 4]
mov eax, esi
lea ecx, [esp + 0x24]
mov edx, ebx
call fcn.0047dae0
mov dword [esp + 0x1c], 1
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
push ebp
call fcn.00473c80
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x40cf2c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, esi
lea esi, [esp + 0x10]
mov edx, ebx
call fcn.0047db50
mov edi, dword [esp + 0x28]
mov dword [esp + 0x1c], 2
call fcn.00480f90
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cf72
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00412100
mov ebp, dword [ebp]
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40cfa0
mov eax, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 8
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 8
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 8
Function at 0x40eb90
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x59f18d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, dword [esp + 0x40]
mov dword [edi], 0x5f8bb0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [edi + 4]
push ecx
mov ecx, eax
call fcn.00481430
mov edx, dword [esp + 0x44]
xor ebx, ebx
mov dword [esp + 0x38], ebx
push 0x2b
push str.KYBOX47F5E502_C739_44ee_A00E_A21688FAC108
lea ecx, [esp + 0x1c]
mov dword [edi + 8], edx
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.004381e0
lea esi, [edi + 0x10]
lea eax, [esp + 0x14]
mov byte [esp + 0x38], 1
call fcn.004019a0
cmp dword [esp + 0x2c], 0x10
jb 0x40ec23
mov eax, dword [esp + 0x18]
push eax
call fcn.00563626
add esp, 4
mov dword [edi + 0x90], ebx
mov dword [edi + 0x94], vtable.CKVipGameHost.0
push edi
mov byte [esp + 0x3c], 4
call fcn.0040f880
call fcn.0040fab0
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret 8

Function at 0x40fab0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x585e68
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
call fcn.004612b0
mov eax, 0x40ed20
push edi
push eax
lea esi, [esp + 0x14]
call fcn.0041ccd0
lea edx, [edi + 0x60]
mov ecx, eax
mov dword [esp + 0x38], 0
call fcn.005328b0
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40fb20
mov eax, dword [eax]
test eax, eax
je 0x40fb20
lea ecx, [esp + 0x14]
push 1
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret

Function at 0x4103b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59fd6a
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], vtable.CKVipGamePage.0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], eax
lea eax, [esp + 0xc]
push eax
call fcn.00405150
lea ecx, [esp + 0xc]
push ecx
mov esi, eax
mov dword [esp + 0x4c], 0xffffffff
call fcn.00411bf0
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x44
ret
Function at 0x411b30
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x589478
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [edi + 0x7c]
cmp eax, ebx
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [edi + 0x20]
je 0x411b95
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x411b8c
mov eax, dword [esi + 0x5c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 0x5c]
push ecx
call ebp
mov dword [esi + 0x5c], ebx
push esi
call fcn.00401a20
mov eax, dword [edi]
cmp eax, ebx
je 0x411ba4
push eax
call ebp
mov dword [edi], ebx
cmp dword [edi + 0x1c], 0x10
jb 0x411bb8
mov edx, dword [edi + 8]
push edx
call fcn.00563626
add esp, 4
mov dword [edi + 0x1c], 0xf
mov dword [edi + 0x18], ebx
mov byte [edi + 8], bl
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4

Function at 0x412bb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x58fad8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 4]
xor ebx, ebx
cmp byte [eax + 0x31], bl
jne 0x412bfb
mov edi, dword [edx]
cmp dword [eax + 0xc], edi
jae 0x412bf2
mov eax, dword [eax + 8]
jmp 0x412bf6
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0x31], bl
je 0x412be8
cmp ecx, dword [esi + 4]
mov ebp, ecx
je 0x412c0d
mov eax, dword [edx]
cmp eax, dword [ecx + 0xc]
jae 0x412cc8
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x68], 1
mov ecx, dword [edx]
lea edx, [esp + 0x40]
mov dword [esp + 0x3c], ecx
push edx
lea ecx, [esp + 0x20]
call fcn.00415230
push ebp
push esi
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x20]
push ecx
mov eax, esi
mov byte [esp + 0x78], 2
call fcn.00414630
mov esi, dword [eax]
mov ebp, dword [eax + 4]
mov eax, dword [esp + 0x54]
cmp eax, ebx
je 0x412c7c
mov edi, dword [esp + 0x58]
call fcn.0043dda0
mov edx, dword [esp + 0x54]
push edx
call fcn.00563626
add esp, 4
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
lea ebx, [esp + 0x40]
call fcn.004145c0
mov ebx, dword [esp + 0x30]
xor eax, eax
cmp ebx, eax
je 0x412cb1
mov edi, dword [esp + 0x34]
mov eax, ebx
call fcn.0043dda0
push ebx
call fcn.00563626
add esp, 4
xor eax, eax
lea ebx, [esp + 0x1c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
call fcn.004145c0
xor ebx, ebx
cmp esi, ebx
jne 0x412cd1
call fcn.00565fa7
cmp ebp, dword [esi + 4]
jne 0x412cdb
call fcn.00565fa7
lea eax, [ebp + 0x10]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
Function at 0x412f00
Capabilities:
Log keystrokes

Disassembly:
sub esp, 8
mov eax, dword [0x5f8cb4]
push ebx
push ebp
xor ebx, ebx
cmp eax, ebx
push esi
push edi
mov dword [esp + 0x10], ebx
je 0x412f1d
mov esi, dword [eax + 4]
cmp esi, ebx
jne 0x412f29
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
cmp esi, ebx
je 0x412f4e
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x412f4e
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x412f4e
push ebx
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x10], 1
mov edi, dword [esp + 0x1c]
push esi
mov eax, edi
mov dword [edi + 0x334], ebx
call fcn.00414b10
mov ebp, eax
cmp ebp, ebx
jne 0x412f7b
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
mov eax, dword [0x5f8cb4]
cmp eax, ebx
mov dword [esp + 0x14], ebx
je 0x412f92
mov ecx, dword [eax + 4]
mov dword [esp + 0x14], ecx
mov dword [eax + 4], ebp
lea eax, [edi + 4]
push eax
mov eax, esi
call fcn.0044bbb0
cmp dword [edi + 0x324], ebx
je 0x41303e
push ebx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push 0
push 0
push 0x2001
mov ebx, eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push 0
push 0
push 0
push 0
push 0
push ebp
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp edi, ebx
je 0x412ff3
push 1
push edi
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
push ebp
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp edi, ebx
je 0x413008
push 0
push edi
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 4]
add eax, 4
push 0xffffffffffffffec
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
je 0x413038
mov eax, dword [esp + 0x1c]
push 0
push 0
add eax, 4
mov eax, dword [eax]
push 0xf
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov edi, dword [esp + 0x1c]
xor ebx, ebx
mov eax, edi
call fcn.00414cc0
mov ecx, dword [edi + 4]
push 0x97
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
mov dword [edi + 0x334], ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0x10], ebx
je 0x413084
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp esi, ebx
je 0x413084
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi + 4]
jne 0x413084
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [0x5f8cb4]
cmp eax, ebx
je 0x413094
mov edx, dword [esp + 0x14]
mov dword [eax + 4], edx
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [edi + 0x338]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4