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

Disassembly:
sub esp, 0x48
mov al, byte [esp + 0x54]
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
xor ebp, ebp
push edi
mov byte [esi + 0x40], al
mov dword [esi + 0x6c], ebx
mov eax, dword [esi + 0x8c]
mov dword [esp + 0x14], ebx
cmp eax, ebx
mov dword [esp + 0x10], ebx
jle 0x4731fd
mov ecx, dword [esi + 0x88]
mov eax, dword [esp + 0x60]
push eax
mov edi, dword [ecx + ebp*4]
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
mov edx, dword [edi]
call dword [edx + 0xc]
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edx, dword [esp + 0x14]
cmp edx, eax
jg 0x4731d6
mov dword [esp + 0x14], eax
cmp dword [esp + 0x10], ecx
jg 0x4731e0
mov dword [esp + 0x10], ecx
add edi, 4
xor edx, edx
inc ebp
mov dword [edi], ebx
mov dword [edi + 4], edx
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
mov eax, dword [esi + 0x8c]
cmp ebp, eax
jl 0x4731a9
xor ebx, ebx
mov eax, dword [esi + 0x78]
xor ebp, ebp
cmp eax, ebx
jle 0x473258
mov dword [esp + 0x4c], ebx
mov eax, dword [esi + 0x74]
lea ecx, [esp + 0x20]
mov edi, dword [eax + ebp*4]
mov eax, dword [esp + 0x60]
push eax
push ecx
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0xc]
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edx, dword [esp + 0x14]
cmp edx, eax
jg 0x473234
mov dword [esp + 0x14], eax
cmp dword [esp + 0x10], ecx
jg 0x47323e
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x4c]
add edi, 4
inc ebp
mov dword [edi], ebx
mov dword [edi + 4], edx
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
mov eax, dword [esi + 0x78]
cmp ebp, eax
jl 0x47320a
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.user32.dll_GetClientRect]
mov al, byte [esp + 0x64]
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x28]
lea edi, [esi + 0x4c]
test al, al
lea edx, [esp + 0x18]
push edi
lea eax, [esp + 0x18]
push edx
push eax
je 0x4732b1
sub ecx, ebx
push ecx
mov ecx, esi
call fcn.00473720
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x50]
lea edx, [esp + 0x1c]
push eax
push edx
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x18]
sub ecx, edx
push eax
push ecx
mov ecx, esi
call fcn.004737d0
jmp 0x4732db
sub ecx, ebx
push ecx
mov ecx, esi
call fcn.004737d0
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x50]
lea edx, [esp + 0x1c]
push eax
push edx
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x18]
sub ecx, edx
push eax
push ecx
mov ecx, esi
call fcn.00473720
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], edx
mov ebp, dword [esi + 0x48]
mov edx, ebx
add ebp, ecx
add edx, eax
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x78]
mov dword [esp + 0x34], ebp
xor ebp, ebp
test eax, eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
jle 0x4733ca
mov ecx, dword [esi + 0x74]
lea eax, [esp + 0x28]
push eax
mov edx, dword [ecx + ebp*4]
mov ecx, esi
push edx
call fcn.00473690
mov eax, dword [esi + 0x74]
mov ecx, dword [eax + ebp*4]
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x473392
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov al, byte [esp + 0x64]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x40], ecx
test al, al
mov dword [esp + 0x44], edx
je 0x47336a
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x38]
push eax
push 0
push ecx
jmp 0x473376
mov edx, dword [esp + 0x14]
push 0
lea eax, [esp + 0x3c]
push edx
push eax
call dword [sym.imp.user32.dll_OffsetRect]
mov edx, dword [esi + 0x74]
lea ecx, [esp + 0x38]
push ecx
mov eax, dword [edx + ebp*4]
mov ecx, dword [eax + 0x24]
push ecx
mov ecx, esi
call fcn.00473690
mov al, byte [esp + 0x64]
test al, al
je 0x4733a8
mov edx, dword [esp + 0x14]
push 0
lea eax, [esp + 0x2c]
push edx
push eax
jmp 0x4733b4
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x28]
push ecx
push 0
push edx
call dword [sym.imp.user32.dll_OffsetRect]
mov eax, dword [esi + 0x78]
inc ebp
cmp ebp, eax
jl 0x473314
mov ebx, dword [esp + 0x14]
mov al, byte [esp + 0x64]
test al, al
je 0x4733e4
mov eax, dword [esi + 0x50]
mov ecx, dword [esp + 0x10]
mov edi, dword [edi]
mov dword [esp + 0x28], edi
lea eax, [eax + ecx*2]
jmp 0x4733f0
mov edx, dword [edi]
mov eax, dword [esi + 0x50]
lea edi, [edx + ebx*2]
mov dword [esp + 0x28], edi
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
add eax, ecx
add edi, ebx
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x8c]
mov dword [esp + 0x30], edi
xor edi, edi
test eax, eax
jle 0x473460
mov edx, dword [esi + 0x88]
mov eax, dword [edx + edi*4]
mov ecx, dword [eax + 0x24]
test ecx, ecx
jne 0x473455
lea ecx, [esp + 0x28]
push ecx
push eax
mov ecx, esi
call fcn.00473690
mov al, byte [esp + 0x64]
test al, al
je 0x473443
mov edx, dword [esp + 0x14]
push 0
lea eax, [esp + 0x2c]
push edx
push eax
jmp 0x47344f
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x28]
push ecx
push 0
push edx
call dword [sym.imp.user32.dll_OffsetRect]
mov eax, dword [esi + 0x8c]
inc edi
cmp edi, eax
jl 0x473410
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
pop edi
pop esi
mov dword [eax], ecx
pop ebp
mov dword [eax + 4], edx
pop ebx
add esp, 0x48
ret 0xc