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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
push esi
push edi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x80], 0
mov eax, dword [ebp + 8]
add eax, 0x7a
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x5a]
mov ecx, dword [ebp - 0x64]
sub eax, dword [ecx + 0xc]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x56]
mov ecx, dword [ebp - 0x64]
sub eax, dword [ecx + 8]
push eax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1d6], 0
je 0x4544b2
mov eax, dword [ebp + 8]
add eax, 0xd6
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xde]
push eax
push 0x65
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x26]
push eax
call fcn.00476c98
add esp, 0x10
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x453dc5
mov eax, dword [ebp - 0x48]
jmp 0x4544ec
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1d6]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1d6]
push eax
call fcn.0047557c
add esp, 4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x50]
push eax
call fcn.0047557c
add esp, 4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x58]
push eax
call fcn.0047557c
add esp, 4
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x6e]
mov ecx, dword [ebp - 8]
sub eax, dword [ecx + 0x18]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x72]
mov ecx, dword [ebp - 8]
sub eax, dword [ecx + 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x6e]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x72]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x10], 0
je 0x4544a5
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
dec eax
mov dword [ebp - 0x5c], eax
jmp 0x453e6d
dec dword [ebp - 0x5c]
cmp dword [ebp - 0x5c], 0
jl 0x4544a5
mov eax, dword [ebp - 0x5c]
mov ecx, eax
lea eax, [eax + eax*2]
lea eax, [ecx + eax*4]
shl eax, 4
add eax, dword [ebp - 0x14]
add eax, 0x14
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x28]
cmp dword [eax + 4], 7
jne 0x454478
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x6c]
push eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x68]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x48]
push eax
call fcn.00476b89
add esp, 0x10
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x454448
mov eax, dword [ebp - 0x54]
push eax
call fcn.0047557c
add esp, 4
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx + 0x78]
cmp dword [eax + 0x10], ecx
jne 0x453efb
mov dword [ebp - 0x60], 0
jmp 0x453f0a
inc dword [ebp - 0x60]
cmp dword [ebp - 0x60], 1
jg 0x454213
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x60]
lea eax, [eax + eax*4]
shl eax, 4
mov ecx, dword [ebp - 0x24]
mov eax, dword [eax + ecx + 0x48]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x60]
lea eax, [eax + eax*4]
shl eax, 4
mov ecx, dword [ebp - 0x24]
mov eax, dword [eax + ecx + 0x4c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x60]
lea eax, [eax + eax*4]
shl eax, 4
mov ecx, dword [ebp - 0x24]
mov eax, dword [eax + ecx + 0x50]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
push ecx
push eax
mov eax, dword [ebp + 8]
add eax, 0x6e
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push eax
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xd6]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x26]
push eax
call fcn.00437edf
add esp, 0x20
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0xffffffff
jne 0x453fa5
mov dword [ebp - 0x48], 0
cmp dword [ebp - 0x48], 0
je 0x453fbb
mov dword [ebp - 0x6c], 1
jmp 0x4541d8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x68]
cmp dword [eax + 0xde], ecx
je 0x453fee
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x68]
push eax
push 0x65
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x26]
push eax
call fcn.00476b89
add esp, 0x10
mov dword [ebp - 0x48], eax
jmp 0x453ffa
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xd6]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x48], 0
je 0x454010
mov dword [ebp - 0x6c], 1
jmp 0x4541d8
mov eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x2c]
cmp dword [eax + 0x8c], ecx
jle 0x454047
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.004379c0
add esp, 8
mov dword [ebp - 0x10], eax
jmp 0x45404e
mov dword [ebp - 0x6c], 1
cmp dword [ebp - 0x6c], 0
jne 0x45409a
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x28]
mov edx, dword [edx + 0x6c]
cmp dword [ecx + eax*4 + 0xc4], edx
jne 0x454087
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x60]
cmp dword [ecx + eax*4 + 0xd4], edx
je 0x454093
mov dword [ebp - 0x6c], 1
jmp 0x45409a
mov dword [ebp - 0x6c], 0
cmp dword [ebp - 0x6c], 0
jne 0x454192
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x34]
mov ecx, dword [ebp - 0x10]
add eax, dword [ecx + 0xe8]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x30]
push eax
mov eax, dword [ebp - 0x60]
lea eax, [eax + eax*4]
shl eax, 4
add eax, dword [ebp - 0x24]
add eax, 0x14
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xf0], 0
je 0x45410e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xf0]
mov ecx, dword [ebp - 0x10]
add eax, dword [ecx + 0x34]
mov ecx, dword [ebp - 0x60]
lea ecx, [ecx + ecx*4]
shl ecx, 4
mov edx, dword [ebp - 0x24]
mov dword [ecx + edx + 0x20], eax
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x10]
push eax
call fcn.00421db4
add esp, 8
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x60]
lea ecx, [ecx + ecx*4]
shl ecx, 4
mov edx, dword [ebp - 0x24]
add dword [ecx + edx + 0x14], eax
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x60]
lea ecx, [ecx + ecx*4]
shl ecx, 4
mov edx, dword [ebp - 0x24]
add dword [ecx + edx + 0x18], eax
xor eax, eax
sub eax, dword [ebp - 0x74]
neg eax
mov ecx, dword [ebp - 0x60]
lea ecx, [ecx + ecx*4]
shl ecx, 4
mov edx, dword [ebp - 0x24]
sub dword [ecx + edx + 0x1c], eax
xor eax, eax
sub eax, dword [ebp - 0x70]
neg eax
mov ecx, dword [ebp - 0x60]
lea ecx, [ecx + ecx*4]
shl ecx, 4
mov edx, dword [ebp - 0x24]
sub dword [ecx + edx + 0x20], eax
mov eax, dword [ebp - 0x60]
lea eax, [eax + eax*4]
shl eax, 4
add eax, dword [ebp - 0x24]
add eax, 0x28
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.0044eff8
add esp, 0xc
mov eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x68]
cmp dword [eax + 0xde], ecx
je 0x4541ba
mov eax, dword [ebp - 0x44]
push eax
call fcn.0047947b
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x60]
lea eax, [eax + eax*4]
shl eax, 4
add eax, dword [ebp - 0x24]
add eax, 0x14
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
cmp dword [ebp - 0x6c], 0
jne 0x454202
mov eax, dword [ebp - 0x24]
push eax
call fcn.0044ffa1
add esp, 4
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.00446eff
add esp, 0xc
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x78], eax
jmp 0x453f07
jmp 0x4542d8
cmp dword [ebp - 0x6c], 0
jne 0x45442d
mov dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0xb4]
mov dword [ebp - 0x84], eax
jmp 0x4543d7
lea eax, [ebp - 0x40]
push eax
push 0
mov eax, dword [ebp - 0x24]
push eax
call fcn.004534e0
add esp, 0xc
test eax, eax
je 0x45431e
mov dword [ebp - 0x80], 1
jmp 0x454403
lea eax, [ebp - 0x40]
push eax
push 0
mov eax, dword [ebp - 0x24]
push eax
call fcn.004534e0
add esp, 0xc
test eax, eax
je 0x454344
mov dword [ebp - 0x80], 1
lea eax, [ebp - 0x40]
push eax
push 3
mov eax, dword [ebp - 0x24]
push eax
call fcn.004534e0
add esp, 0xc
test eax, eax
je 0x454365
mov dword [ebp - 0x80], 1
jmp 0x454403
lea eax, [ebp - 0x40]
push eax
push 0
mov eax, dword [ebp - 0x24]
push eax
call fcn.004534e0
add esp, 0xc
test eax, eax
je 0x45438b
mov dword [ebp - 0x80], 1
lea eax, [ebp - 0x40]
push eax
push 2
mov eax, dword [ebp - 0x24]
push eax
call fcn.004534e0
add esp, 0xc
test eax, eax
je 0x4543ac
mov dword [ebp - 0x80], 1
lea eax, [ebp - 0x40]
push eax
push 4
mov eax, dword [ebp - 0x24]
push eax
call fcn.004534e0
add esp, 0xc
test eax, eax
je 0x4543cd
mov dword [ebp - 0x80], 1
jmp 0x454403
cmp dword [ebp - 0x84], 3
je 0x4542fd
cmp dword [ebp - 0x84], 4
je 0x454323
cmp dword [ebp - 0x84], 5
je 0x45436a
jmp 0x454403
cmp dword [ebp - 0x80], 0
je 0x45442d
mov eax, dword [ebp - 0x24]
push eax
call fcn.0044ffa1
add esp, 4
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.00446eff
add esp, 0xc
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x54]
push eax
call fcn.0047947b
add esp, 4
jmp 0x45444f
mov dword [ebp - 0x6c], 1
cmp dword [ebp - 0x6c], 0
je 0x454473
push 1
push 0x40
mov eax, dword [ebp - 0x28]
add eax, 0x74
push eax
call fcn.004e43fc
add esp, 0xc
mov dword [ebp - 0x20], 1
jmp 0x4544a0
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0xbc], 0
jl 0x4544a0
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00453945
add esp, 0x10
jmp 0x453e6a
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xd6]
push eax
call fcn.0047947b
add esp, 4
cmp dword [ebp - 0x20], 0
je 0x4544dc
push 0x40
mov eax, dword [ebp - 8]
push eax
call fcn.00449deb
add esp, 8
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1d6]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop edi
pop esi
pop ebx
leave
ret