Function at 0x62bae2
Capabilities:
Hide graphical window
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x816078]
xor eax, esp
mov dword [esp + 0x88], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
push 0
push ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ebx, eax
mov eax, dword [0x8330e0]
mov dword [esp + 0x14], ebx
test eax, eax
jne 0x62bb38
push 0x7c2558
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov dword [0x8330e0], eax
mov edi, dword [ebp + 0xc]
cmp edi, eax
jne 0x62bb4f
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax + 0xc]
xor eax, eax
jmp 0x62be92
mov eax, 0x113
cmp edi, eax
ja 0x62bd9b
je 0x62bd35
lea eax, [edi - 1]
sub eax, 1
je 0x62bd19
sub eax, 0xd
je 0x62bc00
sub eax, 1
je 0x62bb48
sub eax, 0x1b
je 0x62bbd0
sub eax, 0x59
je 0x62bbc8
sub eax, 0x8d
jne 0x62be5f
cmp byte [0x8330b4], al
je 0x62be5f
mov eax, esi
shr eax, 0x10
test ax, ax
jne 0x62be5f
movzx eax, si
cmp eax, dword [ebx + 0x78]
je 0x62bb3f
mov eax, dword [esp + 0xc]
cmp eax, dword [ebx + 0x8c]
jne 0x62be63
jmp 0x62bb3f
push 2
pop eax
jmp 0x62be92
cmp byte [0x8330b4], 0
je 0x62be5f
cmp esi, dword [ebx + 0x78]
jne 0x62be5f
mov edx, dword [ebx + 0x74]
push ecx
mov ecx, dword [esp + 0x10]
push 0x3ceb
call fcn.0062c84e
xor eax, eax
inc eax
jmp 0x62be92
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_BeginPaint]
and dword [esp + 0xc], 0
lea ecx, [esp + 0xc]
push ecx
push eax
call dword [sym.imp.gdiplus.dll_GdipCreateFromHDC]
push 0x3d
pop edi
cmp dword [ebx + 0x68], edi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xc]
cmovl edi, dword [ebx + 0x68]
push 0x60
mov dword [esp + 0x1c], eax
call fcn.0062c197
mov ebx, dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
push 0x23
call ebx
push 0x60
mov esi, eax
call fcn.0062c197
push eax
push 0x6c
call ebx
mov ecx, dword [0x831310]
sub esp, 0x10
mov dword [esp + 0x38], eax
imul eax, edi, 0x23
mov dword [esp + 0x30], ecx
mov ecx, dword [0x83130c]
push 0x23
push 0x6c
push eax
mov dword [esp + 0x48], esi
lea eax, [esp + 0x3c]
mov esi, dword [esp + 0x30]
push ecx
push eax
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x3c]
push dword [esi + 0x6c]
call fcn.0062c149
mov eax, dword [esi + 0x68]
push 0x59
pop ecx
cdq
idiv ecx
push 0x60
mov edi, edx
call fcn.0062c197
push eax
push 7
call ebx
push 0x60
mov esi, eax
call fcn.0062c197
push eax
push 0x10d
call ebx
mov ecx, dword [0x831318]
sub esp, 0x10
mov dword [esp + 0x38], eax
imul eax, edi, 7
mov dword [esp + 0x30], ecx
mov ecx, dword [0x831314]
push 7
push 0x10d
push eax
push ecx
lea eax, [esp + 0x40]
mov dword [esp + 0x44], ecx
push eax
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x50], esi
push dword [eax + 0x70]
call fcn.0062c149
push dword [esp + 0x18]
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x62bb48
push 0
push dword [ebx + 0x48]
mov byte [ebx + 0x64], 0
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x62bb48
cmp esi, 1
jne 0x62be5f
inc dword [ebx + 0x68]
cmp dword [ebx + 0x68], 0x3e
mov eax, dword [0x831318]
push 0
mov dword [esp + 0x24], eax
jge 0x62bd6e
mov eax, dword [0x83130c]
mov dword [esp + 0x28], eax
mov eax, dword [0x831304]
mov dword [esp + 0x2c], eax
mov eax, dword [0x831314]
add eax, 7
jmp 0x62bd84
mov ecx, dword [0x831314]
mov eax, dword [0x831304]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
lea eax, [ecx + 7]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x24]
push eax
push dword [ebx + 0x48]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x62bb48
mov eax, edi
sub eax, 0x138
je 0x62be72
sub eax, 0xf9
je 0x62be5b
sub eax, 1
je 0x62be46
sub eax, 0x1cf
je 0x62bb3f
sub eax, 1
jne 0x62be5f
cmp esi, 1
jne 0x62bdd8
inc dword [ebx + 0x24]
mov edx, dword [esp + 0xc]
test edx, edx
je 0x62be04
mov ecx, dword [ebx + 0x90]
push 0
push edx
lea edx, [esp + 0x40]
mov eax, dword [ecx]
push edx
call dword [eax]
lea ecx, [ebx + 0xc]
push eax
call fcn.0040d3a8
lea ecx, [esp + 0x38]
call fcn.0040d475
lea edx, [ebx + 0xc]
cmp dword [edx + 0x14], 8
jb 0x62be0f
mov edx, dword [edx]
lea eax, [ebx + 0x24]
push eax
lea ecx, [esp + 0x24]
call fcn.004fac5c
cmp dword [esp + 0x34], 8
lea eax, [esp + 0x20]
cmovae eax, dword [esp + 0x20]
push eax
push 0
push 0xc
push dword [ebx + 0x4c]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x20]
call fcn.0040d475
jmp 0x62bb48
cmp byte [ebx + 0x66], 0
mov byte [ebx + 0x65], 0
je 0x62be5f
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax + 0xc]
jmp 0x62be5f
mov byte [ebx + 0x65], 1
mov eax, dword [esp + 0xc]
push eax
push esi
push edi
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_DefWindowProcW]
jmp 0x62be92
push 0x9dbaf5
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0x3ceb
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0064c681
mov esp, ebp
pop ebp
ret 0x10