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

Disassembly:
push 0xffffffffffffffff
push 0x4d933b
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x51d260]
xor eax, esp
push eax
lea eax, [esp + 0xbc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x30]
call fcn.0043abe0
mov ecx, dword [esi + 0x87284]
sub ecx, dword [esi + 0x87280]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
xor ebx, ebx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0xc4], ebx
jne 0x4405ee
mov dword [esi + 0x88054], ebx
mov dword [esi + 0x143c], ebx
mov edx, dword [esi + 0x88050]
mov eax, dword [esi + 0x5824]
lea ecx, [esi + 0x593c]
push ecx
lea edi, [esi + 0x1444]
push edi
push edx
push eax
lea ecx, [esi + 0x86e80]
call fcn.004714b0
mov ecx, dword [esi + 0x8731c]
mov edx, dword [esi + 0x87320]
mov eax, dword [esi + 0x87324]
mov ebp, dword [esi + 0x87300]
mov dword [esi + 0x884c0], ecx
mov dword [esi + 0x884c4], edx
mov dword [esi + 0x884c8], eax
mov ecx, dword [esi + 0x87284]
sub ecx, dword [esi + 0x87280]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esi + 0x87308], ecx
cmp ebp, ebx
je 0x440678
mov ecx, ebp
call fcn.0040bd90
push ebp
call fcn.0048f8b2
add esp, 4
mov edx, dword [esi + 0x872d0]
push ebx
push ebx
push edx
mov ecx, edi
call fcn.0040eae0
mov eax, dword [esi + 0x872d0]
push 1
push eax
mov ecx, edi
call fcn.0040fac0
mov ecx, dword [esi + 0x872d4]
push ebx
push ebx
push ecx
mov ecx, edi
mov dword [esi + 0x872d8], eax
call fcn.0040eae0
mov edx, dword [esi + 0x872d4]
push 1
push edx
mov ecx, edi
call fcn.0040fac0
mov ebp, dword [esi + 0x87308]
mov ecx, eax
mov dword [esi + 0x872dc], ecx
mov edx, dword [ecx + 0xc]
add edx, 0xa
imul edx, ebp
mov eax, 0x258
sub eax, edx
cdq
sub eax, edx
mov edi, eax
mov eax, 0x320
sub eax, dword [ecx + 0x10]
sar edi, 1
cdq
sub eax, edx
add edi, 0xffffffb0
sar eax, 1
mov dword [esi + 0x872fc], edi
mov dword [esi + 0x872f8], eax
mov edi, dword [ecx + 0xc]
mov eax, dword [ecx + 0x10]
add edi, 0xa
imul edi, ebp
lea ebp, [esi + 0x87000]
mov ecx, ebp
mov dword [esp + 0x14], eax
call fcn.004594e0
mov eax, dword [esi + 0x872dc]
lea edx, [esp + 0x30]
push edx
mov edx, dword [esi + 0x872d8]
push eax
mov eax, dword [esi + 0x87308]
push edx
mov edx, dword [esp + 0x20]
push 0xffffffffffffffff
push eax
push edi
lea ecx, [esi + 0x5820]
push edx
call fcn.00428d50
lea ecx, [esi + 0x87258]
mov dword [esi + 0x87300], eax
call fcn.00468a00
mov ecx, dword [esi + 0x872fc]
mov eax, dword [esi + 0x87300]
mov dword [esi + 0x872ec], ecx
mov edx, dword [eax + 0xc]
add edx, ecx
mov ecx, dword [esi + 0x872f8]
mov dword [esi + 0x872f4], edx
mov dword [esi + 0x872e8], ecx
mov edx, dword [eax + 0x10]
add edx, ecx
mov ecx, dword [esi + 0x872dc]
mov dword [esi + 0x872f0], edx
mov edx, dword [ecx + 0xc]
mov dword [esi + 0x88224], eax
add edx, 0xa
mov dword [esi + 0x872cc], edx
mov eax, dword [esi + 0x872f8]
mov dword [esi + 0x8821c], eax
mov ecx, dword [esi + 0x872fc]
mov dword [esi + 0x88220], ecx
mov eax, dword [esi + 0x5924]
mov edx, dword [esi + 0x87300]
mov dword [esi + 0x8822c], 1
dec eax
mov dword [esi + 0x88228], eax
mov ecx, dword [edx + 0xc8]
mov dword [esi + 0x88218], ecx
mov edx, dword [esi + 0x88220]
mov ecx, dword [esi + 0x8821c]
mov dword [esp + 0x58], edx
mov edx, dword [esi + 0x88224]
mov dword [esp + 0x5c], edx
mov edx, dword [esi + 0x88218]
mov dword [esp + 0x50], edx
mov edx, dword [esi + 0x88214]
mov dword [esp + 0x4c], edx
mov edx, eax
mov dword [esp + 0x60], edx
mov edx, dword [esi + 0x8822c]
mov dword [esp + 0x64], edx
mov edx, dword [esi + 0x88230]
mov dword [esp + 0x68], edx
mov edx, dword [esi + 0x88234]
mov dword [esp + 0x48], eax
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], edx
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0xb4]
push edx
lea ecx, [esi + 0x58dc]
mov byte [esp + 0xcc], 2
call fcn.00421fa0
mov eax, dword [esp + 0xa4]
cmp eax, ebx
je 0x4408f5
push eax
call fcn.004a2159
add esp, 4
mov eax, dword [esi + 0x88224]
push eax
lea ecx, [esi + 0x5820]
mov byte [esp + 0xc8], bl
call fcn.0041f550
mov ecx, esi
call fcn.0043bce0
mov eax, edi
cdq
idiv dword [esi + 0x87308]
mov ecx, dword [esi + 0x872dc]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x14], ebx
sub eax, dword [ecx + 0xc]
mov ecx, edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x3c]
sub ecx, eax
sar ecx, 4
cmp ecx, ebx
mov dword [esp + 0x2c], ecx
jle 0x4409e5
xor edi, edi
jmp 0x440958
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
sub edx, eax
sar edx, 4
cmp dword [esp + 0x14], edx
jb 0x44096c
call fcn.004a067d
mov eax, dword [esp + 0x3c]
mov edx, dword [edi + eax]
mov dword [esp + 0x18], edx
mov ecx, dword [edi + eax + 4]
mov dword [esp + 0x1c], ecx
mov edx, dword [edi + eax + 8]
mov ecx, dword [esi + 0x872ec]
sub ecx, dword [esp + 0x28]
mov dword [esp + 0x20], edx
mov eax, dword [edi + eax + 0xc]
mov edx, dword [esi + 0x872e8]
push ecx
mov dword [esp + 0x28], eax
push edx
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.user32.dll_OffsetRect]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 8], ecx
mov ecx, ebp
mov dword [eax + 0xc], edx
call fcn.0045aad0
mov eax, dword [esp + 0x14]
inc eax
add edi, 0x10
cmp eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
jl 0x440950
mov eax, dword [esi + 0x87300]
add eax, 0x4c
push eax
mov ecx, esi
call fcn.0043b7b0
mov ecx, esi
mov dword [esi + 0x87084], 1
call fcn.00434270
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x440a18
push eax
call fcn.0048f8b2
add esp, 4
mov ecx, dword [esp + 0x30]
push ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call fcn.0048f8b2
add esp, 4
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb4
ret