joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409c80
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x446b58
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4561c4]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
mov eax, dword [0x4561c4]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov eax, dword [edi + 0xc]
xor ebx, ebx
cmp eax, ebx
jne 0x409e56
mov edi, edi
mov eax, dword [edi + 0x20]
call fcn.0040a4b0
mov esi, eax
cmp esi, ebx
je 0x409e21
mov eax, dword [esi + 0x44]
cmp eax, ebx
je 0x409cea
mov ecx, dword [esi + 0x4c]
mov edx, dword [esi + 0x48]
push ebx
push ebx
push 1
push ecx
push edx
call eax
add esp, 0x14
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x1c], ax
push ebx
mov eax, esi
lea ecx, [esp + 0x1c]
xor ebp, ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
call fcn.00401990
mov dword [esp + 0x3c], ebx
cmp dword [edi + 0xc], ebx
jne 0x409d82
cmp ebp, dword [esi + 0x40]
jg 0x409d5b
push esi
mov ecx, edi
call fcn.00409470
mov dword [esp + 0x10], eax
cmp eax, ebx
je 0x409d5b
mov eax, dword [edi + 0xc]
inc ebp
cmp eax, ebx
jne 0x409d5b
cmp ebp, dword [esi + 0x40]
jg 0x409d56
lea esp, [esp]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [edi + 0xc], 0
jne 0x409d54
inc ebx
cmp ebx, 0xa
jl 0x409d40
xor ebx, ebx
cmp dword [edi + 0xc], ebx
je 0x409d1a
cmp dword [edi + 0xc], ebx
jne 0x409d82
mov eax, dword [esi + 0x44]
cmp eax, ebx
je 0x409d7c
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x4c]
push esi
push ecx
mov ecx, dword [esi + 0x48]
push 3
push edx
push ecx
call eax
add esp, 0x14
cmp dword [esp + 0x10], ebx
je 0x409da1
cmp dword [esi + 0x30], ebx
je 0x409da1
cmp dword [esi + 0x58], ebx
je 0x409da1
cmp dword [esi + 0x34], 8
jb 0x409d97
mov eax, dword [esi + 0x20]
jmp 0x409d9a
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 0x38]
cmp eax, ebx
je 0x409db4
push eax
call fcn.0042bda7
add esp, 4
mov dword [esi + 0x38], ebx
cmp dword [esi + 0x34], 8
jb 0x409dc6
mov eax, dword [esi + 0x20]
push eax
call fcn.0042bc90
add esp, 4
mov ebp, 7
xor edx, edx
mov dword [esi + 0x34], ebp
mov dword [esi + 0x30], ebx
mov word [esi + 0x20], dx
cmp dword [esi + 0x18], 8
jb 0x409de9
mov eax, dword [esi + 4]
push eax
call fcn.0042bc90
add esp, 4
xor eax, eax
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push esi
mov word [esi + 4], ax
call fcn.0042bc90
add esp, 4
cmp dword [edi + 0xc], ebx
jne 0x409e42
mov dword [esp + 0x3c], 0xffffffff
cmp dword [esp + 0x2c], 8
jb 0x409e37
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0042bc90
add esp, 4
jmp 0x409e37
mov edx, dword [edi + 0x24]
push 0x2710
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x80
je 0x409e56
cmp dword [edi + 0xc], ebx
je 0x409cc0
jmp 0x409e56
cmp dword [esp + 0x2c], 8
jb 0x409e56
mov eax, dword [esp + 0x18]
push eax
call fcn.0042bc90
add esp, 4
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0042bc9b
add esp, 0x30
ret
Function at 0x409e80
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4456d8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4561c4]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4561c4]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
xor edi, edi
mov dword [esp + 0x14], edi
xor ecx, ecx
mov word [esp + 0x1c], cx
mov ecx, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], edi
lea esi, [ecx + 2]
jmp 0x409ee0
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x409ee0
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x1c]
call fcn.00401b20
mov dword [esp + 0x40], edi
mov edx, esi
push edx
mov edi, 1
lea ebx, [esp + 0x18]
mov dword [esp + 0x18], 0x2f
call fcn.00405650
mov esi, ebp
cmp eax, 0xffffffff
jne 0x409f3e
xor eax, eax
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], 0
mov word [ebp + 4], ax
push eax
mov eax, 0x44ac48
call fcn.00401b20
jmp 0x409f4e
lea edx, [eax + 1]
lea eax, [esp + 0x18]
push eax
or ecx, 0xffffffff
call fcn.00405620
cmp dword [esp + 0x30], 8
jb 0x409f62
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0042bc90
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0042bc9b
add esp, 0x30
ret 8
Function at 0x40a0c0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x446d3b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4561c4]
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 0x40a0fa
lea eax, [ebx + 1]
jmp 0x40a1e1
cmp dword [ebp + 0x54], ebx
mov dword [esp + 0x2c], ebx
jle 0x40a1d6
push 0x28
call fcn.0042bd42
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], ebx
cmp esi, ebx
je 0x40a13c
lea eax, [esi + 4]
push eax
mov dword [esi], ebx
call fcn.0040a6d0
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 0x40a13e
xor esi, esi
push ebx
lea edi, [esi + 4]
push ebx
push edi
push 0x40a860
mov dword [esp + 0x34], 0xffffffff
push ebx
push ebx
mov dword [esp + 0x30], esi
mov dword [edi + 0xc], 0x409c70
mov dword [edi + 0x10], esi
mov dword [edi + 8], ebx
call fcn.0042c64c
add esp, 0x18
mov dword [edi + 4], eax
cmp eax, ebx
jne 0x40a19c
cmp esi, ebx
je 0x40a1c4
call fcn.00409410
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x40a18a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, edi
call fcn.0040a7a0
push esi
call fcn.0042bc90
add esp, 4
jmp 0x40a1c4
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.0040a690
mov ecx, ebx
mov edi, eax
call fcn.0040ac40
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 0x40a107
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 0x40a200
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 0x40a220
mov esi, dword [ebx + 0x6c]
mov eax, dword [ebx + 0x58]
test edi, edi
je 0x40a22e
cmp edi, eax
je 0x40a233
call fcn.0042c2a6
cmp dword [esp + 0xc], esi
je 0x40a35f
test edi, edi
jne 0x40a354
call fcn.0042c2a6
xor eax, eax
mov edx, dword [esp + 0xc]
cmp edx, dword [eax + 0x14]
jne 0x40a25a
call fcn.0042c2a6
mov eax, dword [esp + 0xc]
mov edi, dword [eax + 8]
mov eax, dword [edi + 0x24]
mov dword [edi + 0xc], 1
test eax, eax
je 0x40a276
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 0x40a2b7
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40a2a6
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 0x40a2cc
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 4]
mov dword [esi + 8], 1
test eax, eax
je 0x40a30a
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40a2f9
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 0x40a318
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call fcn.0040a7a0
push edi
call fcn.0042bc90
mov eax, dword [esp + 0xc]
add esp, 4
test eax, eax
jne 0x40a35b
call fcn.0042c2a6
xor eax, eax
mov esi, dword [esp + 0xc]
cmp esi, dword [eax + 0x14]
jne 0x40a345
call fcn.0042c2a6
mov edx, dword [esi]
mov edi, dword [esp + 8]
mov dword [esp + 0xc], edx
jmp 0x40a220
mov eax, dword [edi]
jmp 0x40a24c
mov eax, dword [eax]
jmp 0x40a337
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 0x40a395
mov esi, dword [eax]
push eax
call fcn.0042bc90
add esp, 4
mov eax, esi
cmp esi, dword [ebx + 0x6c]
jne 0x40a376
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 0x40a7a0
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x44623b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4561c4]
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 0x40a811
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40a800
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 0x40a822
push esi
call fcn.0040a920
call fcn.0040aa70
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 0x40a849
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 0x40c980
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4448eb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4561c4]
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.0042af13
push 4
mov dword [esp + 0x20], 0
call fcn.0042bd42
mov edi, eax
add esp, 4
test edi, edi
je 0x40c9fe
call fcn.0042ab9e
mov dword [edi], eax
call fcn.0042a9cc
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.0042a8f0
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x40c9f3
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.0042a918
jmp 0x40ca00
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 0x40cb20
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4448eb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4561c4]
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.0042af13
push 4
mov dword [esp + 0x20], 0
call fcn.0042bd42
mov edi, eax
add esp, 4
test edi, edi
je 0x40cb9e
call fcn.0042ab9e
mov dword [edi], eax
call fcn.0042a9cc
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.0042a8f0
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x40cb93
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.0042a918
jmp 0x40cba0
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 0x40ee00
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 0x40ee29
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.004308c0
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 0x40ef97
cmp dword [esp + 0x14], eax
je 0x40ef97
lea esi, [esp + 0x20]
call fcn.00403840
mov ecx, dword [esp + 0x14]
push ecx
mov edx, esi
push edx
call fcn.00402ab0
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 0x40ef6f
xor ebp, ebp
cmp dword [esp + 0x18], ebp
jle 0x40ef5c
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 0x40eed0
inc ebx
cmp ebx, dword [esp + 0x1c]
jl 0x40eec0
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.0040ec10
mov ecx, esi
call fcn.004038b0
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 0x410940
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.00406190
test eax, eax
je 0x410b28
cmp ebx, 0x203
ja 0x410a38
je 0x410a03
mov eax, ebx
sub eax, 2
je 0x4109ec
sub eax, 0xe
je 0x4109a5
sub eax, 0x3a
jne 0x410a4a
push edi
mov ecx, esi
call fcn.00411d10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [esi]
mov eax, dword [edx + 0x8c]
push 0x104
push 0x44b6a8
push 0x44b6b0
mov ecx, esi
call eax
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
je 0x410b28
call fcn.00411ca0
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
call fcn.00411ca0
mov eax, esi
call fcn.004116e0
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 0x410b1f
sub eax, 4
je 0x410a63
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 + 0x2440]
push 0x1388
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x410aba
mov eax, dword [esi + 0x2440]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esi]
mov eax, dword [edx + 0x8c]
push 0
push 0x44b6a8
push 0x44b6d0
mov ecx, esi
mov dword [esi + 0x2440], 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 + 0x2440]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x2440]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [esi + 0x2440]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push 0
push 0x44b6a8
push 0x44b6d0
mov ecx, esi
mov dword [esi + 0x2440], 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.00411710
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x410e10
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 0x410e31
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.00410f60
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 0x410ed0
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 0x410eed
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.00410f60
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 0x4115b0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov esi, eax
mov eax, dword [0x45a04c]
push 0x9c
push eax
call dword [sym.imp.USER32.dll_LoadMenuW]
mov ebx, eax
test ebx, ebx
je 0x4116d6
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 0x4116d6
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 0x411695
sub eax, 1
jne 0x4116d6
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push 0x104
push 0x44b6a8
push 0x44b6b0
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
je 0x4116d6
mov eax, esi
call fcn.004116e0
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 0x4116cc
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 0x411710
Capabilities:
Hide graphical window

Disassembly:
sub eax, 0x202
push esi
mov esi, ecx
je 0x41172f
sub eax, 1
je 0x41172f
sub eax, 2
jne 0x411764
mov eax, esi
call fcn.004115b0
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 0x411764
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 0x411770
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, eax
mov eax, dword [0x45a04c]
push 0x97
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
call fcn.00411530
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 0x4117f0
Capabilities:
Create thread
Resume thread

Disassembly:
cmp dword [esi + 0x2440], 0
je 0x4117fc
xor eax, eax
ret
push 0
push 0
push esi
push 0x411830
push 0
push 0
call fcn.0042c64c
add esp, 0x18
mov dword [esi + 0x2440], eax
test eax, eax
je 0x4117f9
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
ret