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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffc4
mov esi, eax
mov ax, word [esi + 0x20]
and ax, word [0x45c584]
mov dx, word [0x45c588]
cmp dx, ax
jne 0x45c579
mov eax, dword [esi + 0x3c]
push eax
lea eax, [esp + 0x10]
push eax
mov ecx, dword [esi + 0x38]
xor edx, edx
xor eax, eax
call fcn.0040ec9c
push 0xfffffffffffffffb
push 0xfffffffffffffffb
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_InflateRect
push 2
call sub.user32.dll_GetSystemMetrics
mov ebx, eax
push 0x14
call sub.user32.dll_GetSystemMetrics
push esi
lea edi, [esi + 0x20c]
lea esi, [esp + 0x10]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop esi
lea edx, [esi + 0x20c]
mov ecx, dword [edx + 8]
sub ecx, ebx
mov dword [edx], ecx
mov ecx, dword [edx + 4]
add ecx, eax
mov dword [edx + 0xc], ecx
push esi
lea edi, [esi + 0x220]
lea esi, [esp + 0x10]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop esi
lea edx, [esi + 0x220]
mov ecx, dword [edx + 8]
sub ecx, ebx
mov dword [edx], ecx
mov ecx, dword [edx + 0xc]
sub ecx, eax
mov dword [edx + 4], ecx
cmp byte [esi + 0x265], 1
jne 0x45c2eb
cmp dword [esi + 0x278], 0
je 0x45c2eb
mov eax, dword [esi + 0x278]
mov dword [esi + 0x200], eax
jmp 0x45c2f7
mov eax, dword [esi + 0x27c]
mov dword [esi + 0x200], eax
mov eax, dword [esi + 0x200]
test eax, eax
je 0x45c313
mov ebx, dword [eax + 0x28]
add ebx, 4
mov eax, dword [eax + 0x24]
add eax, 4
mov dword [esp + 4], eax
jmp 0x45c329
xor eax, eax
mov al, byte [esi + 0x265]
mov ebx, dword [eax*4 + 0x473b8c]
add ebx, 4
mov dword [esp + 4], ebx
mov al, byte [esi + 0x265]
test al, al
jne 0x45c34b
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub edi, edx
sub edi, ebx
sar edi, 1
jns 0x45c346
adc edi, 0
mov dword [esp], edx
jmp 0x45c357
mov edi, 6
lea edx, [ebx + edi + 5]
mov dword [esp], edx
test byte [esi + 0x264], 0x20
setne dl
and edx, 0x7f
mov ebp, dword [edx*4 + 0x473b9c]
and eax, 0x7f
mov eax, dword [eax*4 + 0x473b94]
or eax, 0x40
or ebp, eax
test byte [esi + 0x264], 1
setne al
and eax, 0x7f
or ebp, dword [eax*4 + 0x473ba4]
mov dword [esi + 0x204], ebp
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [ebx + edi]
xor edx, edx
mov eax, edi
call fcn.0040ec9c
push 0
lea eax, [esp + 0x30]
push eax
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esp + 0x14]
xor edx, edx
mov eax, dword [esp + 8]
call fcn.0040ec9c
mov eax, dword [esi + 0x240]
call fcn.0041028c
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x45c4e3
inc ebp
xor edi, edi
cmp byte [esi + 0x265], 0
jne 0x45c419
mov eax, dword [esp + 0x38]
add eax, 0xa
mov dword [esp + 0x20], eax
mov edx, eax
add edx, dword [esp + 4]
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], edx
mov eax, dword [esp]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0xc]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x38], eax
jmp 0x45c45a
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
call fcn.0045a224
mov ebx, eax
add ebx, 0xa
mov dword [esp + 0x20], ebx
add ebx, dword [esp + 4]
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], eax
mov eax, dword [esp]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0xc]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x204]
or eax, 0x400
push eax
push 0
push 0
lea ecx, [esp + 0x38]
mov edx, edi
mov eax, esi
mov bx, 0xffb5
call fcn.00402fe8
cmp byte [esi + 0x265], 0
jne 0x45c4aa
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x34]
cmp eax, edx
jle 0x45c4aa
push 0
sub eax, dword [esp + 0x10]
sub eax, edx
sar eax, 1
jns 0x45c49f
adc eax, 0
push eax
lea eax, [esp + 0x34]
push eax
call sub.user32.dll_OffsetRect
mov edx, edi
mov eax, dword [esi + 0x240]
call fcn.0045c778
push esi
push edi
lea edi, [eax + 0xc]
lea esi, [esp + 0x24]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
push esi
push edi
lea edi, [eax + 0x1c]
lea esi, [esp + 0x34]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
inc edi
dec ebp
jne 0x45c3da
mov ebx, dword [esi + 0x234]
test ebx, ebx
jle 0x45c56b
mov eax, dword [esi + 0x240]
call fcn.0041028c
cmp ebx, eax
jge 0x45c563
mov edx, dword [esi + 0x234]
mov eax, dword [esi + 0x240]
call fcn.0045c778
mov edx, 0xa
sub edx, dword [eax + 0x10]
mov dword [esp + 8], edx
mov eax, dword [esi + 0x240]
call fcn.0041028c
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x45c56b
inc ebp
xor edi, edi
mov edx, edi
mov eax, dword [esi + 0x240]
call fcn.0045c778
mov ebx, eax
mov eax, dword [esp + 8]
push eax
push 0
lea eax, [ebx + 0xc]
push eax
call sub.user32.dll_OffsetRect
mov eax, dword [esp + 8]
push eax
push 0
lea eax, [ebx + 0x1c]
push eax
call sub.user32.dll_OffsetRect
inc edi
dec ebp
jne 0x45c52e
jmp 0x45c56b
xor eax, eax
mov dword [esi + 0x234], eax
mov eax, esi
call fcn.0045c088
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x78]
add esp, 0x3c
pop ebp
pop edi
pop esi
pop ebx
ret