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

Disassembly:
sub esp, 0x30
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov al, byte [esi + 0x40]
mov dword [esp + 0x14], ebx
test al, al
mov dword [esp + 0x10], ebx
je 0x473943
mov eax, dword [esi + 0x48]
mov dword [esp + 0x10], eax
jmp 0x47394a
mov ecx, dword [esi + 0x44]
mov dword [esp + 0x14], ecx
mov edx, dword [esi + 0x44]
mov eax, dword [esi + 0x4c]
mov edi, dword [esi + 0x48]
mov ecx, dword [esi + 0x50]
mov dword [esp + 0x20], eax
add edx, eax
mov eax, dword [esi + 0x78]
add edi, ecx
cmp eax, ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x18], ebx
jle 0x473a69
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x44]
mov edi, dword [sym.imp.user32.dll_OffsetRect]
lea ecx, [eax + eax]
lea ebx, [edx + edx]
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x2c]
push ebx
lea ecx, [esp + 0x34]
push eax
push ecx
mov dword [esp + 0x48], edx
call edi
lea edx, [esp + 0x48]
lea eax, [esp + 0x30]
push edx
push eax
push ebp
mov ecx, esi
call fcn.004738a0
test al, al
jne 0x473a75
mov ecx, dword [esi + 0x74]
mov edx, dword [esp + 0x18]
mov eax, dword [ecx + edx*4]
mov ecx, dword [eax + 0x24]
test ecx, ecx
jne 0x473a34
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3c], ecx
push edx
lea ecx, [esp + 0x34]
push eax
push ecx
call edi
lea edx, [esp + 0x48]
lea eax, [esp + 0x30]
push edx
push eax
push ebp
mov ecx, esi
call fcn.004738a0
test al, al
jne 0x473ab3
mov al, byte [esi + 0x40]
test al, al
je 0x473a48
mov ecx, dword [esi + 0x44]
push 0
lea edx, [esp + 0x24]
push ecx
push edx
jmp 0x473a53
mov eax, dword [esi + 0x48]
lea ecx, [esp + 0x20]
push eax
push 0
push ecx
call edi
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x78]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x473995
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x30
ret 0xc
mov edx, dword [esp + 0x1c]
push ebx
lea eax, [esp + 0x24]
push edx
push eax
call edi
mov edx, dword [esi + 0x6c]
lea ecx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.00473690
mov eax, dword [esi + 0x6c]
xor ecx, ecx
mov eax, dword [eax + 0x24]
cmp eax, ecx
je 0x473aa7
mov dword [eax + 0x24], ecx
mov edx, dword [esi + 0x6c]
mov dword [edx + 0x24], ecx
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x30
ret 0xc
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
call edi
mov ecx, dword [esi + 0x6c]
lea eax, [esp + 0x20]
push eax
push ecx
mov ecx, esi
call fcn.00473690
mov edx, dword [esi + 0x6c]
mov eax, dword [edx + 0x24]
test eax, eax
je 0x473ae5
mov dword [eax + 0x24], 0
mov ecx, dword [esi + 0x74]
mov eax, dword [esp + 0x18]
pop edi
mov edx, dword [ecx + eax*4]
mov ecx, dword [esi + 0x6c]
mov dword [edx + 0x24], ecx
mov edx, dword [esi + 0x74]
mov ecx, dword [esi + 0x6c]
pop esi
mov edx, dword [edx + eax*4]
pop ebp
mov dword [ecx + 0x24], edx
mov al, 1
pop ebx
add esp, 0x30
ret 0xc