Function at 0x46b9a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xe4
push ebx
push ebp
mov ebp, dword [esp + 0xf4]
mov ebx, ecx
push esi
push edi
mov ecx, ebp
call fcn.004482a0
test eax, eax
je 0x46bf19
mov ecx, ebp
call fcn.004482d0
test eax, eax
je 0x46bf19
mov esi, dword [esp + 0xf8]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_WindowFromDC]
push eax
call fcn.004c7c6e
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x34]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x50]
mov dword [eax + 8], ecx
mov ecx, ebx
mov dword [eax + 0xc], edx
lea eax, [esp + 0x110]
push eax
call fcn.00469240
test ebp, ebp
je 0x46bf19
push 0
lea ecx, [esp + 0x54]
push esi
push ecx
mov ecx, ebx
call fcn.0046a390
push ebp
mov ecx, ebx
call fcn.0046aba0
fimul dword [0x544754]
call fcn.004a7884
lea esi, [ebx + 0xaf90]
push ebp
mov ecx, esi
mov dword [esp + 0x5c], eax
call fcn.0046c710
mov ecx, ebp
call fcn.004481c0
mov ecx, ebp
mov dword [esp + 0x44], eax
call fcn.00448200
mov ecx, ebp
mov edi, eax
call fcn.00448230
test eax, eax
jge 0x46ba8b
test edi, edi
jle 0x46bc7c
sub edi, eax
mov dword [esp + 0x20], edi
mov ecx, esi
mov edi, 1
call fcn.0046cc20
cmp eax, edi
jle 0x46beec
lea ebp, [edi - 1]
lea edx, [esp + 0x24]
push ebp
push edx
mov ecx, esi
call fcn.0046c830
lea eax, [esp + 0x2c]
push edi
push eax
mov ecx, esi
call fcn.0046c830
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [0x544754]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [0x544750]
push eax
push ecx
lea eax, [esp + 0x30]
push edx
push eax
mov ecx, ebx
call fcn.00469280
test eax, eax
je 0x46bf19
mov ecx, dword [esp + 0x20]
mov edx, dword [0x544754]
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [0x544750]
push edx
push eax
lea edx, [esp + 0x38]
push ecx
push edx
mov ecx, ebx
call fcn.00469280
test eax, eax
je 0x46bf19
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x54]
add ecx, eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x28]
add ecx, edx
mov edx, dword [esp + 0x2c]
add edx, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x54]
add eax, edx
mov edx, dword [esp + 0x58]
add eax, edx
add ecx, edx
mov edx, dword [esp + 0x38]
sub esp, 0x10
mov dword [esp + 0x40], eax
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x44]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x50]
mov dword [eax + 8], ecx
mov ecx, ebx
mov dword [eax + 0xc], edx
lea eax, [esp + 0x34]
push eax
call fcn.00469240
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x4c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x50]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, ebx
call fcn.00469240
mov eax, dword [esp + 0x100]
mov ecx, dword [esp + 0x24]
cmp ecx, eax
jg 0x46bed5
cmp eax, dword [esp + 0x2c]
jge 0x46bed5
lea edx, [esp + 0x70]
push ebp
push edx
mov ecx, esi
call fcn.0046ca10
lea eax, [esp + 0xe8]
push ebp
push eax
mov ecx, esi
call fcn.0046c850
lea ecx, [esp + 0xd0]
push edi
push ecx
mov ecx, esi
call fcn.0046ca10
lea edx, [esp + 0x64]
push edi
push edx
mov ecx, esi
call fcn.0046c850
mov al, byte [esp + 0x78]
test al, al
mov al, byte [esp + 0x6c]
jne 0x46bc89
test al, al
push ebp
je 0x46bd0f
lea eax, [esp + 0x90]
mov ecx, esi
push eax
call fcn.0046c830
mov ebp, dword [eax]
lea edx, [esp + 0xac]
push edi
push edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x68], ecx
mov ecx, esi
call fcn.0046c850
mov ecx, dword [eax]
mov dword [esp + 0x48], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x4c], edx
mov ecx, esi
call fcn.0046cc50
sub dword [esp + 0x10], eax
jmp 0x46bd44
add eax, edi
neg eax
mov dword [esp + 0x20], eax
jmp 0x46ba8f
test al, al
push ebp
je 0x46bcd0
lea eax, [esp + 0xc8]
mov ecx, esi
push eax
call fcn.0046ca10
mov ebp, dword [eax]
lea edx, [esp + 0xdc]
push edi
push edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x68], ecx
mov ecx, esi
call fcn.0046c850
mov ecx, dword [eax]
mov dword [esp + 0x48], ecx
mov ecx, esi
mov edx, dword [eax + 4]
mov dword [esp + 0x4c], edx
call fcn.0046cc50
add dword [esp + 0x18], eax
jmp 0x46bc6c
lea eax, [esp + 0xbc]
mov ecx, esi
push eax
call fcn.0046ca10
mov ebp, dword [eax]
lea edx, [esp + 0x7c]
push edi
push edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x68], ecx
mov ecx, esi
call fcn.0046c830
mov ecx, dword [eax]
mov dword [esp + 0x48], ecx
mov ecx, esi
mov edx, dword [eax + 4]
mov dword [esp + 0x4c], edx
call fcn.0046cc50
add dword [esp + 0x18], eax
jmp 0x46bd44
lea eax, [esp + 0x88]
mov ecx, esi
push eax
call fcn.0046c830
mov ebp, dword [eax]
lea edx, [esp + 0xa4]
push edi
push edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x68], ecx
mov ecx, esi
call fcn.0046c830
mov ecx, dword [eax]
mov dword [esp + 0x48], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x4c], edx
mov ecx, esi
call fcn.0046cc20
dec eax
cmp edi, eax
jge 0x46bd54
push 0
jmp 0x46bd56
push 1
push edi
mov ecx, esi
call fcn.0046cbf0
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x104]
push ecx
push edx
push ebp
mov ebp, dword [esp + 0x10c]
push eax
push ebp
mov ecx, ebx
call fcn.0046bf30
mov ecx, dword [esp + 0x20]
mov edx, dword [0x544754]
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [0x544750]
push edx
push eax
lea edx, [esp + 0x24]
push ecx
push edx
mov ecx, ebx
call fcn.00469280
test eax, eax
je 0x46bf19
mov eax, dword [esp + 0x20]
mov ecx, dword [0x544754]
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [0x544750]
push ecx
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, ebx
call fcn.00469280
test eax, eax
je 0x46bf19
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x54]
add ecx, eax
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x1c]
add ecx, edx
mov edx, dword [esp + 0x10]
add edx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x54]
add eax, edx
mov edx, dword [esp + 0x58]
add eax, edx
sub esp, 0x10
add ecx, edx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x44]
mov edx, esp
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x48]
mov dword [edx], eax
mov eax, dword [esp + 0x4c]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea edx, [esp + 0x28]
push edx
mov ecx, ebx
call fcn.00469240
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x50]
mov dword [eax + 8], ecx
mov ecx, ebx
mov dword [eax + 0xc], edx
lea eax, [esp + 0x20]
push eax
call fcn.00469240
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
add ecx, 3
mov dword [esp + 0x14], ecx
push ecx
mov ecx, dword [esp + 0x14]
sub eax, 3
push ecx
mov dword [esp + 0x24], eax
push eax
lea eax, [esp + 0xa0]
push edx
push eax
call dword [sym.imp.USER32.dll_SetRect]
lea ecx, [esp + 0x94]
push ecx
mov ecx, ebp
call fcn.004cf164
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push 3
push 0
push 0xe6fa28
push edx
mov edx, dword [esp + 0x34]
push eax
push ecx
push edx
push ebp
mov ecx, ebx
call fcn.00468b50
mov ecx, esi
inc edi
call fcn.0046cc20
cmp edi, eax
jl 0x46baa3
mov ebp, dword [esp + 0xfc]
mov eax, dword [esp + 0x54]
push 1
sub esp, 0x14
mov edx, dword [esp + 0x110]
mov ecx, 5
mov esi, 0x544750
mov edi, esp
push eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x6c]
push ecx
push ebp
push edx
mov ecx, ebx
call fcn.0046ac00
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe4
ret 0x10