Function at 0x47db40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5529ed
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x59c044]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x44], esi
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x20]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x10]
push ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x18]
push eax
push ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x40], edx
call fcn.0040d1a0
add esp, 0xc
mov dword [esi + 0xd0], 0
mov dword [esi + 0xd4], 0
mov dword [esi + 0xd8], 0
test ebx, ebx
je 0x47de18
push 0x7f00
push 0
mov dword [ebp - 0x60], 4
mov dword [ebp - 0x64], 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov ebx, dword [ebp - 0x38]
push 0xf
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], ebx
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push 0xfffffffffffffffa
push 0
mov dword [ebp - 0x50], eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x6c], 3
call dword [sym.imp.USER32.dll_RegisterClassA]
push esi
push 0xfffffffffffffffa
push 0
call dword [sym.imp.USER32.dll_GetWindowLongA]
push eax
push 0
push 0
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 0
push 0
push 0x90000000
push ebx
push ebx
push 8
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov ecx, dword [esi + 0x1dc]
mov ebx, eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 0xd0], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 0xd4], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0xd8], eax
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x47dc91
push eax
push edi
call fcn.0040e040
jmp 0x47dc97
push edi
call fcn.0040e000
cmp dword [edi], 0
jne 0x47dd83
mov ecx, dword [esi + 0x1dc]
push 1
push edi
push ebx
call fcn.0040ece0
mov edi, eax
cmp dword [edi], 0
jne 0x47dd83
call fcn.0040ac10
test al, al
je 0x47dce6
mov ecx, dword [edi + 4]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
mov esi, dword [ecx]
push dword [ebp - 0x34]
push ecx
mov esi, dword [esi + 0x54]
mov ecx, esi
call dword [0x55f634]
call esi
mov esi, dword [ebp - 0x44]
mov dword [edi], eax
jmp 0x47dcff
mov ecx, dword [esi + 0x1dc]
push 0
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push edi
call fcn.0040ed40
mov edi, eax
cmp dword [edi], 0
jne 0x47dd83
mov ecx, dword [esi + 0x1dc]
push edi
call fcn.0040e080
mov edi, eax
cmp dword [edi], 0
jne 0x47dd83
push 3
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
call dword [sym.imp.USER32.dll_ShowCursor]
push ebx
call dword [sym.imp.USER32.dll_SetFocus]
push 0
push 0
push 0
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x47dd8a
nop word [eax + eax]
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 0
push 0
push 0
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x47dd50
jmp 0x47dd8a
push ebx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [esi + 0x1dc]
push edi
call fcn.0040e130
mov ecx, dword [esi + 0x1dc]
push edi
call fcn.0040e0f0
push 1
call dword [sym.imp.USER32.dll_ShowCursor]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
push 0xcc
push 0xe
call fcn.004204a0
mov edx, dword [ebp - 0x14]
add esp, 0xc
cmp edx, 0x10
jb 0x47de0d
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x47de03
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47de38
push edx
push ecx
call fcn.004c824c
add esp, 8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c8e34
mov esp, ebp
pop ebp
ret 0x1c
call fcn.004f1161
int3