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

Disassembly:
sub esp, 0x34
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x3104]
push edi
xor edi, edi
sub eax, edi
je 0x43708c
sub eax, 1
jne 0x43723c
mov ecx, dword [esi + 0x3100]
cmp ecx, 0x2bc
jl 0x43723c
cmp ecx, 0x3e8
jge 0x436e66
mov dword [esp + 0x10], 0x100
jmp 0x436e96
cmp ecx, 0x5dc
jge 0x436e78
mov dword [esp + 0x10], 0x200
jmp 0x436e96
xor edx, edx
cmp ecx, 0x7d0
setge dl
sub edx, 1
and edx, 0xfffffc00
add edx, 0x800
mov dword [esp + 0x10], edx
cmp dword [esi + 0x310c], edi
jne 0x43723c
mov ecx, dword [esp + 0x10]
add ecx, 1
mov dword [esp + 0x14], ecx
jmp 0x436eb6
mov eax, dword [esp + 0x20]
xor edi, edi
mov ebx, 1
sub dword [esp + 0x14], ebx
mov edx, eax
add eax, ebx
cmp edx, dword [esp + 0x10]
mov dword [esp + 0x20], eax
jge 0x43723c
mov eax, dword [esi + 0x30f8]
push eax
lea ecx, [esi + 0x78]
call fcn.0049dd40
cmp eax, edi
je 0x437066
mov ecx, dword [esi + 0x30f8]
cmp byte [ecx + esi + 0x275c], 0
je 0x437074
lea edx, [esp + 0x34]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ebp, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
sub ebp, dword [esp + 0x34]
sub ebx, dword [esp + 0x38]
xor edi, edi
push edi
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esi + 0x30f8]
lea edx, [esp + 0x24]
push edx
lea ecx, [esi + 0xd0]
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
call fcn.004f1770
test eax, eax
je 0x437040
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x30f0]
cmp eax, edi
mov dword [esp + 0x24], edi
je 0x43723c
mov ecx, dword [esi + 0x30f4]
cmp ecx, edi
je 0x43723c
mov edx, dword [esp + 0x18]
mov edi, dword [esi + 0x30f8]
push 2
push ecx
mov ecx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
push ebx
mov ecx, edi
shl ecx, 4
mov edx, dword [ecx + esi + 0x27ec]
lea eax, [ecx + esi + 0x27ec]
push ebp
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x54]
push ecx
call fcn.00435f10
add esp, 0x34
push 0
push 1
push 0
lea edx, [esp + 0x30]
push edx
push 0
push edi
lea ecx, [esi + 0xd0]
mov ebx, eax
call fcn.004f17a0
mov eax, dword [esi + 0x30f8]
mov ecx, dword [esp + 0x24]
shl eax, 4
mov dword [eax + esi + 0x27ec], ecx
mov edx, dword [esi + 0x30f8]
mov eax, dword [esp + 0x2c]
shl edx, 4
mov dword [edx + esi + 0x27f4], eax
mov ecx, dword [esi + 0x30f8]
mov edx, dword [esp + 0x28]
add ecx, 0x27f
shl ecx, 4
mov dword [ecx + esi], edx
mov eax, dword [esi + 0x30f8]
mov ecx, dword [esp + 0x30]
shl eax, 4
test ebx, ebx
mov dword [eax + esi + 0x27f8], ecx
je 0x437232
xor edi, edi
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esi + 0x310c], edi
je 0x436eb0
mov dword [esi + 0x310c], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov dword [esi + 0x310c], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov dword [esi + 0x310c], ebx
mov dword [esi + 0x310c], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
xor eax, eax
cmp dword [esi + 0x310c], edi
jne 0x43723c
jmp 0x4370a4
mov eax, dword [esp + 0x20]
mov edx, eax
add eax, 1
cmp edx, 0x80
mov dword [esp + 0x20], eax
jge 0x43723c
mov eax, dword [esi + 0x30f8]
push eax
lea ecx, [esi + 0x78]
call fcn.0049dd40
cmp eax, edi
je 0x43723c
mov ecx, dword [esi + 0x30f8]
cmp byte [ecx + esi + 0x275c], 0
je 0x437232
lea edx, [esp + 0x34]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
sub ebx, dword [esp + 0x34]
sub ebp, dword [esp + 0x38]
push edi
lea eax, [esp + 0x20]
push eax
mov eax, dword [esi + 0x30f8]
lea edx, [esp + 0x20]
push edx
lea ecx, [esi + 0xd0]
push eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call fcn.004f1770
test eax, eax
je 0x43720c
xor eax, eax
cmp word [esi + 0x30fc], di
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], edi
mov eax, 1
jge 0x437150
or eax, 0xffffffff
movsx ecx, word [esi + 0x30fe]
mov edi, dword [esi + 0x30f8]
push eax
mov eax, dword [esp + 0x20]
push 0
push 0
push ecx
push eax
push eax
push ebp
mov edx, edi
shl edx, 4
lea eax, [edx + esi + 0x27ec]
mov edx, dword [eax]
push ebx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x54]
push ecx
call fcn.00435f10
add esp, 0x34
push 0
push 1
push 0
lea edx, [esp + 0x30]
push edx
push 0
push edi
lea ecx, [esi + 0xd0]
call fcn.004f17a0
mov eax, dword [esi + 0x30f8]
mov ecx, dword [esp + 0x24]
shl eax, 4
mov dword [eax + esi + 0x27ec], ecx
mov edx, dword [esi + 0x30f8]
mov eax, dword [esp + 0x2c]
shl edx, 4
mov dword [edx + esi + 0x27f4], eax
mov ecx, dword [esi + 0x30f8]
mov edx, dword [esp + 0x28]
add ecx, 0x27f
shl ecx, 4
mov dword [ecx + esi], edx
mov eax, dword [esi + 0x30f8]
mov ecx, dword [esp + 0x30]
shl eax, 4
mov dword [eax + esi + 0x27f8], ecx
xor edi, edi
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esi + 0x310c], edi
je 0x4370a0
mov dword [esi + 0x310c], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov dword [esi + 0x310c], 1
pop edi
mov dword [esi + 0x310c], 1
pop esi
pop ebp
pop ebx
add esp, 0x34
ret