joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45e20f
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov dword [ebp - 8], edx
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x52f3c0], eax
je 0x45e232
mov eax, 0x10dd
jmp 0x45e30f
mov eax, dword [0x52f3c4]
test eax, eax
jne 0x45e30f
test ebx, ebx
jne 0x45e24b
push 6
pop eax
jmp 0x45e30f
cmp dword [ebx], 0
jne 0x45e263
push 6
pop eax
mov dword [0x52f3c4], eax
mov dword [0x52f3ac], ebx
jmp 0x45e30f
push esi
push edi
push 0x18
call fcn.004387c2
mov esi, eax
pop ecx
test esi, esi
jne 0x45e278
push 8
pop edi
jmp 0x45e2f4
mov ecx, dword [ebp - 8]
mov edi, dword [ebx]
call fcn.0045e90c
movzx ecx, byte [edi + 0x17]
mov edx, eax
mov eax, dword [edi + 0x18]
sub eax, ecx
mov dword [ebp - 8], eax
test ecx, ecx
je 0x45e2e8
cmp ecx, 0x17
ja 0x45e2e8
cmp dword [edi + 0x1c], edx
jne 0x45e2e8
and dword [ebp - 4], 0
lea edx, [ebp - 4]
push edx
push 0x40
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x45e2be
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x45e2f4
mov eax, dword [ebp - 8]
mov dword [esi + 0xc], eax
mov dword [esi + 4], 1
mov dword [esi + 8], ebx
mov dword [esi + 0x10], edi
mov eax, dword [ebp - 4]
mov dword [esi + 0x14], eax
mov eax, dword [0x52f3b8]
mov dword [esi], eax
xor eax, eax
mov dword [0x52f3b8], esi
jmp 0x45e30d
cmp dword [0x52f3c8], 0
push 9
pop edi
jne 0x45e2fa
mov dword [0x52f3c4], edi
test esi, esi
je 0x45e305
push esi
call fcn.00435bbf
pop ecx
mov dword [0x52f3ac], ebx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45e538
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [0x52f3c4]
push ebx
mov ebx, ecx
test eax, eax
jne 0x45e5a4
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp ebx, eax
jne 0x45e552
xor eax, eax
pop ebx
ret
push esi
push edi
push 8
pop esi
push esi
call fcn.004387c2
mov edi, eax
pop ecx
test edi, edi
je 0x45e57f
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x45e590
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov esi, eax
call fcn.00435bbf
pop ecx
and dword [0x52f3ac], 0
mov eax, esi
mov dword [0x52f3c4], esi
jmp 0x45e5a2
mov eax, dword [0x52f3b0]
mov dword [edi], eax
xor eax, eax
mov dword [edi + 4], ebx
mov dword [0x52f3b0], edi
pop edi
pop esi
pop ebx
ret
Function at 0x45e805
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x52f3c0], eax
je 0x45e821
mov eax, 0x10dd
jmp 0x45e8a9
push ebx
push esi
push edi
mov edi, dword [0x52f3b8]
xor ebx, ebx
test edi, edi
je 0x45e86b
lea eax, [ebp - 4]
push eax
mov eax, dword [edi + 0x10]
push dword [edi + 0x14]
movzx eax, byte [eax + 0x17]
push eax
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [edi + 4], ebx
jne 0x45e85c
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x45e85c
call fcn.0045e9a7
mov dword [edi + 0x10], ebx
mov esi, dword [edi]
push edi
call fcn.00435bbf
mov edi, esi
pop ecx
test esi, esi
jne 0x45e830
mov dword [0x52f3b8], ebx
call fcn.0045ebb6
mov edi, dword [0x52f3b0]
test edi, edi
je 0x45e898
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esi, dword [edi]
push edi
call fcn.00435bbf
mov edi, esi
pop ecx
test esi, esi
jne 0x45e880
pop edi
pop esi
mov dword [0x52f3b0], ebx
xor eax, eax
mov dword [0x52f3c0], ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45e9cc
Capabilities:
Allocate or change rwx memory
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [0x52f3b4]
sub esp, 0x3c
push ebx
push esi
mov esi, ecx
mov ebx, 0x10000
cmp esi, 0x7ff80000
push edi
mov edi, 0xfff80000
lea eax, [esi - 0x7ff80000]
cmova ebx, eax
cmp esi, 0x80000000
lea eax, [esi + 0x7ff80000]
cmovb edi, eax
mov eax, dword [0x52f3bc]
test edx, edx
jne 0x45ea1a
test eax, eax
je 0x45ea2d
mov edx, eax
mov dword [0x52f3b4], edx
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x45ea2d
cmp ecx, ebx
jb 0x45ea2d
cmp ecx, edi
jbe 0x45eb05
mov edx, eax
test eax, eax
jmp 0x45ea4f
test edx, edx
je 0x45ea4a
mov eax, dword [edx + 8]
test eax, eax
je 0x45ea4a
cmp eax, ebx
jb 0x45ea4a
cmp eax, edi
jbe 0x45eb05
mov edx, dword [edx + 4]
test edx, edx
mov dword [0x52f3b4], edx
jne 0x45ea33
movzx eax, si
sub esi, eax
mov ecx, esi
cmp esi, ebx
jbe 0x45eba9
lea eax, [ecx - 0x70000000]
mov edx, 0x6fff0000
cmp eax, 0x10000000
lea eax, [ebp - 0x3c]
push 0x1c
cmovbe ecx, edx
push eax
push ecx
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x45eba9
mov eax, 0x10000
cmp dword [ebp - 0x2c], eax
jne 0x45eaa0
cmp dword [ebp - 0x30], eax
jae 0x45eab2
mov ecx, dword [ebp - 0x38]
add ecx, 0xffff0000
cmp ecx, ebx
ja 0x45ea66
jmp 0x45eba9
push 0x40
push 0x3000
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
mov dword [0x52f3b4], edx
test edx, edx
je 0x45eba9
mov eax, dword [0x52f3bc]
xor ecx, ecx
mov dword [edx + 4], eax
mov esi, 0x7fd
mov dword [edx], 0x52727464
lea eax, [edx + 0xffe0]
mov dword [edx + 8], ecx
mov dword [0x52f3bc], edx
mov dword [eax + 0x18], ecx
mov ecx, eax
sub eax, 0x20
dec esi
jne 0x45eaf7
mov dword [edx + 8], ecx
mov esi, dword [edx + 8]
cmp esi, ebx
jb 0x45ebad
cmp esi, edi
ja 0x45ebad
mov ecx, dword [esi + 0x18]
push 0x20
push 0xcc
push esi
mov dword [edx + 8], ecx
call fcn.00438560
add esp, 0xc
mov eax, esi
jmp 0x45ebaf
lea eax, [esi - 0x70000000]
mov ecx, 0x80010000
cmp eax, 0x10000000
lea eax, [ebp - 0x20]
push 0x1c
cmovbe esi, ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x45ebad
mov eax, 0x10000
cmp dword [ebp - 0x10], eax
jne 0x45eba1
mov ecx, dword [ebp - 0x14]
cmp ecx, eax
jb 0x45eba4
movzx edx, si
test edx, edx
je 0x45eb82
mov esi, dword [ebp - 0x20]
sub eax, edx
sub ecx, eax
add esi, eax
mov dword [ebp - 0x14], ecx
mov eax, 0x10000
mov dword [ebp - 0x20], esi
push 0x40
push 0x3000
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
mov dword [0x52f3b4], edx
test edx, edx
jne 0x45ead3
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x20]
add esi, ecx
cmp esi, edi
jb 0x45eb32
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45ebe1
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [0x52f3bc]
jmp 0x45ec03
lea eax, [ebp - 4]
push eax
push 0x40
push 0x10000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, dword [esi + 4]
test esi, esi
jne 0x45ebee
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x45ec0c
Capabilities:
Parse pe header

Disassembly:
push 0x24
push 0x50e5e0
call fcn.0049e6e0
mov edi, edx
push 0x1c
lea eax, [ebp - 0x34]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
and dword [ebp - 4], 0
mov eax, 0x5a4d
mov ecx, dword [ebp - 0x30]
cmp word [ecx], ax
jne 0x45ec70
mov edx, dword [ecx + 0x3c]
cmp dword [edx + ecx], 0x4550
jne 0x45ec70
mov esi, dword [edx + ecx + 0xd8]
lea eax, [esi + ecx]
cmp edi, eax
jb 0x45ec70
mov eax, dword [edx + ecx + 0xdc]
add eax, esi
add eax, ecx
cmp edi, eax
jae 0x45ec70
or dword [ebp - 4], 0xffffffff
mov al, 1
jmp 0x45ec76
or dword [ebp - 4], 0xffffffff
xor al, al
call fcn.0049e71b
ret

Function at 0x45f0a7
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push edi
mov edi, ecx
and dword [eax], 0
mov eax, dword [ebp + 0xc]
dec eax
je 0x45f0da
dec eax
jne 0x45f0f5
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
push dword [edi + 4]
call esi
push 0
push dword [edi + 4]
call esi
push 6
push dword [edi + 4]
call esi
pop esi
jmp 0x45f0f5
mov ecx, dword [edi + 0x138]
cmp dword [edi + 0x13c], ecx
jne 0x45f0ef
mov byte [edi + 0x140], 1
mov dword [edi + 0x13c], ecx
xor eax, eax
inc eax
pop edi
pop ebp
ret 0x10

Function at 0x45f0fd
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 1
jne 0x45f111
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
xor al, al
pop ebp
ret 4

Function at 0x45f11a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push 0x38
xor esi, esi
lea eax, [ebp - 0x38]
push esi
push eax
call fcn.00438560
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
mov dword [ebp - 0x38], 0x40
cmovae eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], 0x4cdf60
mov dword [ebp - 0x28], str._silence
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], 5
mov dword [ebp - 0x1c], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
push 1
lea ecx, [ebp + 8]
call fcn.0041f6b8
pop esi
mov esp, ebp
pop ebp
ret 0x18
Function at 0x45f1d5
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a1389
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x18]
lea ebx, [edi - 0x128]
mov dword [ebx + 0x15c], 1
mov edx, dword [edi + 0x3c]
call fcn.0045f380
and dword [esp + 0x3c], 0
call fcn.0041e77e
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x4cdf38
call fcn.0041eeaf
sub esp, 0x18
mov byte [esp + 0x6c], 1
mov ecx, esp
push str.dwug
call fcn.0041eeaf
xor cl, cl
mov byte [esp + 0x6c], 0
call fcn.00421d97
mov esi, dword [edi - 0x124]
lea ecx, [edi + 0x10]
mov eax, dword [ecx]
add esp, 0x30
mov dword [edi + 0x14], eax
lea eax, [edi + 0x18]
push eax
push ecx
sub esp, 0x18
lea eax, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.0041ee74
sub esp, 0x18
mov byte [esp + 0x74], 2
mov ecx, esp
push 0x51f7e8
call fcn.0041ee74
mov edx, 0x875
mov byte [esp + 0x74], 0
mov ecx, esi
call fcn.0045873d
add esp, 0x38
test al, al
je 0x45f2fe
cmp byte [edi + 0x18], 0
jne 0x45f2fe
push dword [edi - 0x124]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45f35f
cmp byte [edi + 0x18], 0
jne 0x45f35f
mov ecx, ebx
mov dword [ebx + 0x15c], 2
call fcn.0045f193
call fcn.0041e77e
push dword [edi + 0x3c]
push dword [edi - 0x124]
mov ecx, dword [eax]
push 0x8e7
call fcn.00476edb
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x45f35f
call fcn.0041e77e
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x4cdf80
call fcn.0041eeaf
sub esp, 0x18
mov byte [esp + 0x6c], 3
mov ecx, esp
push str.dwugfalse
call fcn.0041eeaf
xor cl, cl
mov byte [esp + 0x6c], 0
call fcn.00421d97
add esp, 0x30
lea eax, [esp + 0x18]
cmp dword [esp + 0x2c], 8
cmovae eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, ebx
mov dword [ebx + 0x15c], 3
call fcn.0045f193
push 0
push 1
lea ecx, [esp + 0x20]
call fcn.0041f6b8
mov ecx, dword [esp + 0x34]
mov al, 1
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45fa5e
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movdqa xmm0, xmmword [0x503c50]
mov edx, dword [ecx + 4]
push ebx
push esi
push edi
sub esp, 0x10
mov dword [ebp - 4], ecx
movdqu xmmword [ebp - 0x1c], xmm0
mov edi, esp
lea esi, [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
xor ebx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0045722d
mov esi, eax
lea edi, [ebp - 0x1c]
add esp, 0x10
lea eax, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor edi, edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call dword [sym.imp.USER32.dll_GetCursorPos]
mov esi, dword [ebp - 4]
lea eax, [ebp - 0xc]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 8]
lea eax, [ebp - 0x1c]
push dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x45fae4
push 1
inc ebx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 2
test ax, ax
pop ecx
cmovne ebx, ecx
cmp ebx, dword [esi + 0x160]
je 0x45faff
push edi
push edi
push 0xf
push dword [esi + 4]
mov dword [esi + 0x160], ebx
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x45fb0b
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x4a141c
call fcn.0049e6bc
sub esp, 0x38
movdqa xmm0, xmmword [0x503c50]
push ebx
push esi
push edi
sub esp, 0x10
lea esi, [ebp - 0x30]
movdqu xmmword [ebp - 0x30], xmm0
mov edi, esp
mov ebx, ecx
lea ecx, [ebp - 0x40]
mov edx, dword [ebx + 4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0045722d
mov esi, eax
lea edi, [ebp - 0x30]
add esp, 0x10
lea eax, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
and dword [ebp - 0x20], 0
and dword [ebp - 0x1c], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x1c]
lea eax, [ebp - 0x30]
push dword [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x45fc12
cmp dword [ebx + 0x15c], 3
je 0x45fc12
cmp byte [ebx + 0x44], 0
jne 0x45fc0e
mov byte [ebx + 0x44], 1
call fcn.0041e77e
movzx edx, word [ebx + 0x3c]
movzx ecx, word [ebx + 0x40]
shl edx, 0x10
or edx, ecx
mov ecx, dword [eax]
push edx
push dword [ebx + 4]
push 0x838
call fcn.00476edb
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.0041e77e
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x4cdec8
call fcn.0041eeaf
and dword [ebp - 4], 0
sub esp, 0x18
mov ecx, esp
push str.btdwclose
call fcn.0041eeaf
or dword [ebp - 4], 0xffffffff
xor cl, cl
call fcn.00421d97
add esp, 0x30
mov byte [ebx + 0x168], 0
xor eax, eax
jmp 0x45fc15
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x46012a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x18
push esi
mov esi, ecx
push 1
mov dword [esi + 0x138], eax
mov eax, dword [esi]
call dword [eax + 0x64]
cmp dword [esi + 0x138], 2
jne 0x46017c
lea eax, [ebp - 0x18]
push 0x51
push eax
call fcn.0041e77e
mov ecx, dword [eax + 4]
call fcn.00421cab
mov ecx, dword [esi + 0x148]
push eax
add ecx, 0x48
call fcn.0041eed4
push 0
push 1
lea ecx, [ebp - 0x18]
call fcn.0041f6b8
jmp 0x46018d
mov eax, dword [esi + 0x148]
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0
push 0
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x46096d
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a14ea
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push esi
mov esi, ecx
lea eax, [esp + 0x14]
push edi
push eax
xorps xmm0, xmm0
mov dword [esp + 0x14], esi
push dword [esi + 4]
movdqu xmmword [esp + 0x20], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x323232
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push dword [esi + 0x84]
mov ecx, dword [esp + 0x20]
mov ebx, eax
push dword [esi + 0x80]
add ecx, 0x1d
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push ecx
push dword [esp + 0x2c]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_RoundRect]
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
add esi, 0xfffffffe
mov ecx, dword [esp + 0x1c]
dec edx
mov eax, dword [esp + 0x18]
add ecx, 0x1e
mov edi, dword [sym.imp.USER32.dll_FillRect]
inc eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push ebx
push eax
push dword [ebp + 8]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], esi
call edi
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
add eax, 2
mov dword [esp + 0x28], eax
add edx, 0xfffffffe
lea esi, [ecx - 1]
mov dword [esp + 0x30], edx
push ebx
lea eax, [esp + 0x2c]
mov dword [esp + 0x38], esi
mov esi, dword [ebp + 8]
add ecx, 0xfffffffe
push eax
push esi
mov dword [esp + 0x38], ecx
call edi
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 0x138]
test eax, eax
jne 0x460a70
push esi
mov ecx, ebx
call fcn.0046037b
jmp 0x460b2d
cmp eax, 1
jne 0x460b20
push 0x4d0358
push 0x30
xor edi, edi
push edi
push eax
push 2
call fcn.0041e77e
mov ecx, dword [eax + 0x38]
call fcn.00469cc9
push eax
push edi
push edi
push edi
push 0x190
push edi
push edi
push edi
push 0xe
call dword [sym.imp.GDI32.dll_CreateFontW]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x28]
push 0x54
push eax
call fcn.0041e77e
mov ecx, dword [eax + 4]
call fcn.00421cab
mov dword [esp + 0x4c], edi
cmp dword [ebx + 0x13c], edi
jle 0x460aee
push 0x4d0390
call fcn.00438238
pop ecx
push eax
push 0x4d0390
lea ecx, [esp + 0x30]
call fcn.004232bf
inc edi
cmp edi, dword [ebx + 0x13c]
jl 0x460acb
sub esp, 0x18
lea eax, [esp + 0x40]
mov ecx, esp
push eax
call fcn.0041ee74
mov edi, dword [esp + 0x28]
mov ecx, ebx
push edi
push esi
call fcn.004606e8
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.0041f6b8
jmp 0x460b2d
cmp eax, 2
jne 0x460b2d
push esi
mov ecx, ebx
call fcn.00460597
mov ecx, dword [esp + 0x44]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x460db3
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a1524
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
push 0x60
mov dword [edi + 0x13c], ebx
mov dword [edi + 0x138], ebx
call fcn.004387c2
pop ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x4c], ebx
test eax, eax
je 0x460e03
push ecx
push ecx
mov ecx, eax
call fcn.0042684a
jmp 0x460e05
mov eax, ebx
or dword [esp + 0x4c], 0xffffffff
push 0x60
mov dword [edi + 0x144], eax
call fcn.004387c2
pop ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x4c], 1
test eax, eax
je 0x460e33
push ecx
push ecx
mov ecx, eax
call fcn.0042684a
jmp 0x460e35
mov eax, ebx
or dword [esp + 0x4c], 0xffffffff
push 0x60
mov dword [edi + 0x148], eax
call fcn.004387c2
pop ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x4c], 2
test eax, eax
je 0x460e63
push ecx
push ecx
mov ecx, eax
call fcn.0042684a
jmp 0x460e65
mov eax, ebx
or dword [esp + 0x4c], 0xffffffff
sub esp, 0x18
mov dword [edi + 0x140], eax
mov eax, esp
push 9
push eax
call fcn.0041e77e
mov ecx, dword [eax + 4]
call fcn.00421cab
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3e8
push dword [edi + 4]
call esi
mov edx, dword [edi + 0x140]
mov ecx, eax
push 1
push 0xb
push 0x153
call fcn.00457ba5
add esp, 0x24
lea eax, [esp + 0x10]
push 0x58
push eax
call fcn.0041e77e
mov ecx, dword [eax + 4]
call fcn.00421cab
mov ecx, dword [edi + 0x144]
push eax
add ecx, 0x48
call fcn.0041eed4
push ebx
push 1
lea ecx, [esp + 0x18]
call fcn.0041f6b8
lea eax, [esp + 0x28]
push 0x1a
push eax
call fcn.0041e77e
mov ecx, dword [eax + 4]
call fcn.00421cab
mov ecx, dword [edi + 0x148]
push eax
add ecx, 0x48
call fcn.0041eed4
push ebx
push 1
lea ecx, [esp + 0x30]
call fcn.0041f6b8
sub esp, 0x18
mov ecx, esp
push 0x4d0340
call fcn.0041eeaf
push 0x3ea
push dword [edi + 4]
call esi
mov edx, dword [edi + 0x144]
mov ecx, eax
push 1
push 0x7e
push 0x14d
call fcn.00457ba5
add esp, 0xc
mov ecx, esp
push 0x4d0368
call fcn.0041eeaf
push 0x3ef
push dword [edi + 4]
call esi
mov edx, dword [edi + 0x148]
mov ecx, eax
push 1
push 0x7a
push 0x150
call fcn.00457ba5
add esp, 0x24
push 0x3f9
push dword [edi + 4]
call esi
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0x44]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x463744
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
call fcn.0041e77e
cmp dword [esi + 0x134], 0
je 0x463782
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x134]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [esi + 0x134]
test ecx, ecx
je 0x46377b
mov edx, dword [ecx]
push 1
call dword [edx]
and dword [esi + 0x134], 0
mov al, 1
pop esi
ret
Function at 0x467399
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00442250
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
push 1
push ebx
mov dword [eax], ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp byte [edi + 0x50], bl
je 0x467464
push 0xffc
lea eax, [ebp - 0x1014]
mov dword [ebp - 0x1018], ebx
push ebx
push eax
call fcn.00438560
add esp, 0xc
push dword [edi + 0x54]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x800
lea ecx, [ebp - 0x1018]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
xor eax, eax
mov dword [ebp - 4], 7
mov dword [ebp - 8], ebx
mov word [ebp - 0x18], ax
cmp word [ebp - 0x1018], ax
je 0x467427
lea eax, [ebp - 0x1018]
push eax
call fcn.00438238
pop ecx
push eax
lea eax, [ebp - 0x1018]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041fba8
cmp dword [ebp - 4], 8
lea esi, [ebp - 0x18]
push dword [edi + 4]
cmovae esi, dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_GetParent]
push ebx
push esi
push 0x896
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push 1
lea ecx, [ebp - 0x18]
call fcn.0041f6b8
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x46792b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7e8
push ebx
push esi
xor ebx, ebx
lea eax, [ebp - 0x7e4]
push 0x7cc
push ebx
push eax
mov esi, ecx
mov dword [ebp - 0x7e8], ebx
call fcn.00438560
add esp, 0xc
lea eax, [ebp - 0x7e8]
push 0x3e8
push eax
mov eax, dword [esi + 0x34]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x7e8]
push eax
call fcn.00438238
pop ecx
cmp eax, 1
jge 0x4679b5
lea eax, [ebp - 0x18]
mov byte [esi + 0x50], bl
push 0x43
push eax
call fcn.0041e77e
mov ecx, dword [eax + 4]
call fcn.00421cab
cmp dword [eax + 0x14], 8
jb 0x46799d
mov eax, dword [eax]
push eax
mov eax, dword [esi + 0x34]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push ebx
push 1
lea ecx, [ebp - 0x18]
call fcn.0041f6b8
push 1
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4679c9
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
sub esp, 0x7d0
push esi
push edi
mov esi, ecx
xor edi, edi
push 1
push edi
mov dword [eax], edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp byte [esi + 0x50], 0
jne 0x467a00
mov eax, dword [esi + 0x34]
push 0x4d7640
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esi + 0x34]
push 5
mov byte [esi + 0x50], 1
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x7cc
lea eax, [ebp - 0x7cc]
mov dword [ebp - 0x7d0], edi
push edi
push eax
call fcn.00438560
add esp, 0xc
lea eax, [ebp - 0x7d0]
push 0x3e8
push eax
mov eax, dword [esi + 0x34]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push edi
lea ecx, [ebp - 0x7d0]
push ecx
push 0x896
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10