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

Disassembly:
push 0xffffffffffffffff
push 0x4448cb
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4531c4]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
xor ebx, ebx
cmp dword [ebp + 0x50], ebx
je 0x40a20a
lea eax, [ebx + 1]
jmp 0x40a2f1
cmp dword [ebp + 0x54], ebx
mov dword [esp + 0x2c], ebx
jle 0x40a2e6
push 0x28
call fcn.00429c52
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], ebx
cmp esi, ebx
je 0x40a24c
lea eax, [esi + 4]
push eax
mov dword [esi], ebx
call fcn.0040a7f0
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 0x20], ebp
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x24], eax
jmp 0x40a24e
xor esi, esi
push ebx
lea edi, [esi + 4]
push ebx
push edi
push 0x40a980
mov dword [esp + 0x34], 0xffffffff
push ebx
push ebx
mov dword [esp + 0x30], esi
mov dword [edi + 0xc], 0x409d80
mov dword [edi + 0x10], esi
mov dword [edi + 8], ebx
call fcn.0042a55c
add esp, 0x18
mov dword [edi + 4], eax
cmp eax, ebx
jne 0x40a2ac
cmp esi, ebx
je 0x40a2d4
call fcn.00409520
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x40a29a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, edi
call fcn.0040a8c0
push esi
call fcn.00429ba0
add esp, 4
jmp 0x40a2d4
mov esi, dword [ebp + 0x6c]
mov edx, dword [esi + 4]
lea ebx, [ebp + 0x58]
lea ecx, [esp + 0x18]
push ecx
push edx
push esi
call fcn.0040ada0
mov ecx, ebx
mov edi, eax
call fcn.0040a750
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
xor ebx, ebx
mov eax, dword [esp + 0x2c]
inc eax
cmp eax, dword [ebp + 0x54]
mov dword [esp + 0x2c], eax
jl 0x40a217
xor eax, eax
cmp dword [ebp + 0x70], ebx
setne al
mov dword [ebp + 0x50], eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x40a310
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
mov eax, dword [ebx + 0x6c]
mov ecx, dword [eax]
push esi
push edi
mov edi, dword [ebx + 0x58]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edi
jmp 0x40a330
mov esi, dword [ebx + 0x6c]
mov eax, dword [ebx + 0x58]
test edi, edi
je 0x40a33e
cmp edi, eax
je 0x40a343
call fcn.0042a1b6
cmp dword [esp + 0xc], esi
je 0x40a46f
test edi, edi
jne 0x40a464
call fcn.0042a1b6
xor eax, eax
mov edx, dword [esp + 0xc]
cmp edx, dword [eax + 0x14]
jne 0x40a36a
call fcn.0042a1b6
mov eax, dword [esp + 0xc]
mov edi, dword [eax + 8]
mov eax, dword [edi + 0x24]
mov dword [edi + 0xc], 1
test eax, eax
je 0x40a386
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [edi + 8]
lea esi, [edi + 4]
mov dword [esi + 8], 1
test eax, eax
je 0x40a3c7
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40a3b6
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov eax, dword [edi + 0x24]
mov dword [edi + 0xc], 1
test eax, eax
je 0x40a3dc
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 4]
mov dword [esi + 8], 1
test eax, eax
je 0x40a41a
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40a409
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov eax, dword [edi + 0x24]
test eax, eax
je 0x40a428
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call fcn.0040a8c0
push edi
call fcn.00429ba0
mov eax, dword [esp + 0xc]
add esp, 4
test eax, eax
jne 0x40a46b
call fcn.0042a1b6
xor eax, eax
mov esi, dword [esp + 0xc]
cmp esi, dword [eax + 0x14]
jne 0x40a455
call fcn.0042a1b6
mov edx, dword [esi]
mov edi, dword [esp + 8]
mov dword [esp + 0xc], edx
jmp 0x40a330
mov eax, dword [edi]
jmp 0x40a35c
mov eax, dword [eax]
jmp 0x40a447
mov ecx, dword [ebx + 0x6c]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [ebx + 0x6c]
mov dword [ecx + 4], ecx
xor ecx, ecx
mov dword [ebx + 0x70], ecx
cmp eax, dword [ebx + 0x6c]
je 0x40a4a5
mov esi, dword [eax]
push eax
call fcn.00429ba0
add esp, 4
mov eax, esi
cmp esi, dword [ebx + 0x6c]
jne 0x40a486
mov dword [ebx + 0x50], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov dword [ebx + 0x50], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40a8c0
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x443deb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4531c4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.CThreadHolder.0
mov dword [esp + 0x14], 0
mov eax, dword [esi + 4]
mov dword [esi + 8], 1
test eax, eax
je 0x40a931
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40a920
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
cmp dword [esi + 0x14], 0
jne 0x40a942
push esi
call fcn.0040aa40
call fcn.0040ab90
mov dword [esp + 0x14], 0xffffffff
mov esi, dword [esi + 0x18]
sub esi, 0x10
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x40a969
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x40c8e0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4425cb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4531c4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00428e23
push 4
mov dword [esp + 0x20], 0
call fcn.00429c52
mov edi, eax
add esp, 4
test edi, edi
je 0x40c95e
call fcn.00428aae
mov dword [edi], eax
call fcn.004288dc
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.00428800
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x40c953
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.00428828
jmp 0x40c960
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x40ca80
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4425cb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4531c4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00428e23
push 4
mov dword [esp + 0x20], 0
call fcn.00429c52
mov edi, eax
add esp, 4
test edi, edi
je 0x40cafe
call fcn.00428aae
mov dword [edi], eax
call fcn.004288dc
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.00428800
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x40caf3
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.00428828
jmp 0x40cb00
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x40eb90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40eba7
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40ebd8
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x40ebd4
cmp esi, eax
jae 0x40ebd8
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x40ebc4
cmp esi, eax
jb 0x40ebde
pop esi
pop edi
xor eax, eax
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x40ede0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40ee09
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 4
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
push esi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push ebx
push eax
call fcn.0042e7a0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [esp + 0x14]
push eax
push 1
push edi
mov dword [esp + 0x20], 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x40ef77
cmp dword [esp + 0x14], eax
je 0x40ef77
lea esi, [esp + 0x20]
call fcn.00403910
mov ecx, dword [esp + 0x14]
push ecx
mov edx, esi
push edx
call fcn.00402b90
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
xor ebx, ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
jle 0x40ef4f
xor ebp, ebp
cmp dword [esp + 0x18], ebp
jle 0x40ef3c
lea esp, [esp]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
imul eax, ebx
cdq
imul ecx, ebp
and edx, 7
add eax, edx
sar eax, 3
add eax, dword [esp + 0x28]
movzx edi, byte [ecx + eax + 3]
movzx esi, byte [ecx + eax]
add ecx, eax
imul esi, edi
add esi, 0x7f
mov eax, 0x80808081
imul esi
add edx, esi
movzx esi, byte [ecx + 1]
sar edx, 7
imul esi, edi
mov eax, edx
shr eax, 0x1f
add eax, edx
mov byte [ecx], al
add esi, 0x7f
mov eax, 0x80808081
imul esi
add edx, esi
movzx esi, byte [ecx + 2]
sar edx, 7
imul esi, edi
mov eax, edx
shr eax, 0x1f
add eax, edx
mov byte [ecx + 1], al
add esi, 0x7f
mov eax, 0x80808081
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
inc ebp
cmp ebp, dword [esp + 0x18]
mov byte [ecx + 2], al
jl 0x40eeb0
inc ebx
cmp ebx, dword [esp + 0x1c]
jl 0x40eea0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push ecx
push ecx
mov ecx, dword [esp + 0x5c]
push ecx
mov ebx, eax
lea esi, [esp + 0x2c]
call fcn.0040ebf0
mov ecx, esi
call fcn.00403980
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 4
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x40
ret 4
Function at 0x40f0e0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
sub esp, 0x20
push 0xffffffffffffffec
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xffffff7f
or eax, 0x40000
cmp dword [0x4594a0], 1
jne 0x40f10e
or eax, 8
push eax
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push 0xffffffffffffffec
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
lea eax, [esp + 0x14]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov edx, dword [esi]
mov eax, dword [edx + 0x8c]
lea ecx, [esp]
push ecx
mov ecx, esi
call eax
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
cmp byte [esp + 0x24], 0
mov eax, 0x49
je 0x40f15d
mov eax, 0x4b
xor ecx, ecx
cmp dword [0x4594a0], 1
jne 0x40f16b
or ecx, 0xffffffff
push eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 0x10]
push 0
add eax, dword [esp + 0x24]
push 0
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x18]
add eax, dword [esp + 0x28]
cdq
sub eax, edx
mov edx, dword [esi]
sar eax, 1
push eax
mov eax, dword [edx + 0x8c]
push ecx
mov ecx, esi
call eax
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [esi]
mov eax, dword [edx + 0x8c]
push 1
mov ecx, esi
call eax
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
add esp, 0x20
ret 4

Function at 0x40f210
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push 0xffffffffffffffec
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xfffbffff
or eax, 0x80
push eax
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push 0xffffffffffffffec
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
xor eax, eax
cmp dword [0x4594a0], 1
jne 0x40f253
or eax, 0xffffffff
push 0x41
push 0
push 0
push 0xfffff830
push 0xfffff830
push eax
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push 1
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
ret
Function at 0x410a00
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0x10]
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x14]
push edi
push eax
mov esi, ecx
mov ecx, dword [ebp + 8]
push ebx
push ecx
mov ecx, esi
call fcn.00406230
test eax, eax
je 0x410bc4
cmp ebx, 0x203
ja 0x410ad4
je 0x410a9f
mov eax, ebx
sub eax, 2
je 0x410a8d
sub eax, 0xe
jne 0x410ae6
mov edx, dword [esi]
mov eax, dword [edx + 0x8c]
push 0x104
push 0x449680
push 0x449688
mov ecx, esi
call eax
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
je 0x410bc4
mov edx, dword [esi]
mov eax, dword [edx + 0x80]
mov ecx, esi
call eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, esi
call fcn.00411940
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
xor eax, eax
movzx ecx, di
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x10]
push eax
push ecx
shr edi, 0x10
mov ecx, esi
mov dword [esp + 0x1c], edi
call edx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, ebx
sub eax, 0x4cc
je 0x410bbb
sub eax, 4
je 0x410aff
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push edi
push eax
push ebx
push ecx
call dword [sym.imp.USER32.dll_DefWindowProcW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [esi + 0x2438]
push 0x1388
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x410b56
mov eax, dword [esi + 0x2438]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esi]
mov eax, dword [edx + 0x8c]
push 0
push 0x449680
push 0x4496a8
mov ecx, esi
mov dword [esi + 0x2438], 0
call eax
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [esi + 0x2438]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x2438]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [esi + 0x2438]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push 0
push 0x449680
push 0x4496a8
mov ecx, esi
mov dword [esi + 0x2438], 0
call edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, edi
mov ecx, esi
call fcn.00411970
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x410e80
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x18
push ebx
push esi
mov esi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push edi
mov ecx, esi
call edx
test eax, eax
jne 0x410ea1
xor al, al
pop edi
pop esi
pop ebx
add esp, 0x18
ret
push 0
lea eax, [esp + 0x14]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 8]
mov edi, dword [esi + 0xc]
mov ebx, dword [esi + 4]
push 0x40
mov edx, ecx
sub edx, eax
sub eax, ecx
add eax, dword [esp + 0x20]
push edx
mov edx, edi
sub edx, ebx
push edx
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, ebx
sub eax, edi
add eax, dword [esp + 0x28]
mov ecx, esi
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push 0
call edx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
call fcn.00410fd0
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push 1
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
mov byte [esi + 0x2435], 0
pop esi
mov al, 1
pop ebx
add esp, 0x18
ret

Function at 0x410f40
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x18
push esi
mov esi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
mov ecx, esi
call edx
test eax, eax
jne 0x410f5d
xor al, al
pop esi
add esp, 0x18
ret
push 0
lea eax, [esp + 0xc]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [esi]
push 0x40
push ecx
push edx
mov edx, dword [eax + 0x8c]
push 0
push 0
push 0
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
call fcn.00410fd0
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push 1
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov byte [esi + 0x2435], 1
mov al, 1
pop esi
add esp, 0x18
ret
Function at 0x411810
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov esi, eax
mov eax, dword [0x4570e4]
push 0x9c
push eax
call dword [sym.imp.USER32.dll_LoadMenuW]
mov ebx, eax
test ebx, ebx
je 0x411936
push 0
push ebx
call dword [sym.imp.USER32.dll_GetSubMenu]
push 0x400
push 0
push ebx
mov edi, eax
call dword [sym.imp.USER32.dll_RemoveMenu]
mov ebp, dword [sym.imp.USER32.dll_DestroyMenu]
push ebx
call ebp
test edi, edi
je 0x411936
xor eax, eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esi]
mov eax, dword [edx + 0x8c]
push 0
mov ecx, esi
call eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
push 0
push ecx
push edx
push 0x102
push edi
call dword [sym.imp.USER32.dll_TrackPopupMenu]
push edi
mov ebx, eax
call ebp
mov eax, ebx
sub eax, 0x800d
je 0x4118f5
sub eax, 1
jne 0x411936
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push 0x104
push 0x449680
push 0x449688
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
je 0x411936
mov eax, esi
call fcn.00411940
mov eax, dword [esi]
mov edx, dword [eax + 0x80]
mov ecx, esi
call edx
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push 1
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [esi + 0x2434], 0
je 0x41192c
mov dword [esi + 0x2084], 0
add esi, 0x2078
push esi
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xc
ret

Function at 0x411970
Capabilities:
Hide graphical window

Disassembly:
sub eax, 0x202
push esi
mov esi, ecx
je 0x41198f
sub eax, 1
je 0x41198f
sub eax, 2
jne 0x4119c4
mov eax, esi
call fcn.00411810
xor eax, eax
pop esi
ret
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push 5
call edx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [esi + 0x2434], 0
je 0x4119c4
mov dword [esi + 0x2084], 0
add esi, 0x2078
push esi
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
xor eax, eax
pop esi
ret

Function at 0x4119d0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, eax
mov eax, dword [0x4570e4]
push 0x97
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
call fcn.00411790
mov edx, dword [esi]
mov eax, dword [edx + 0x8c]
push 0
mov ecx, esi
call eax
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret

Function at 0x411a50
Capabilities:
Create thread
Resume thread

Disassembly:
cmp dword [esi + 0x2438], 0
je 0x411a5c
xor eax, eax
ret
push 0
push 0
push esi
push 0x411a90
push 0
push 0
call fcn.0042a55c
add esp, 0x18
mov dword [esi + 0x2438], eax
test eax, eax
je 0x411a59
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
ret
Function at 0x419860
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 4]
push edi
mov edi, ecx
cmp eax, 0x100
jb 0x4198dc
cmp eax, 0x109
ja 0x4198dc
cmp eax, 0x101
je 0x4198c2
mov eax, dword [esi + 8]
cmp eax, 0x43
je 0x41989a
cmp eax, 0x56
je 0x41989a
cmp eax, 0x58
je 0x41989a
cmp eax, 0x5a
jne 0x4198ac
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x4198c2
mov eax, dword [esi + 8]
cmp eax, 9
je 0x4198c2
cmp eax, 0xd
je 0x4198c2
cmp eax, 0x2e
jne 0x419942
mov edx, dword [edi + 0x1d5c]
mov eax, dword [edx + 0x10]
lea ecx, [edi + 0x1d5c]
push esi
call eax
pop edi
pop esi
add esp, 8
ret 4
cmp eax, 0x200
jb 0x419942
cmp eax, 0x20e
ja 0x419942
cmp eax, 0x201
je 0x4198f8
cmp eax, 0x204
jne 0x419942
mov edx, dword [edi]
mov eax, dword [edx + 0x8c]
lea ecx, [esp + 8]
xor esi, esi
push ecx
mov ecx, edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
call eax
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov eax, dword [0x45727c]
push 1
push esi
push esi
push ecx
push edx
mov edx, dword [eax + 0x8c]
push esi
mov ecx, 0x45727c
call edx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
xor eax, eax
pop esi
add esp, 8
ret 4