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

Disassembly:
sub esp, 0x9c
mov eax, dword [ebx + 0x14]
push ebp
mov ebp, dword [ebx]
push esi
mov esi, dword [eax]
push edi
mov dword [esp + 0xc], 0
mov edi, dword [ebx + 0x14]
mov eax, dword [ebx]
test ebp, ebp
je 0x4473d5
cmp ebp, eax
je 0x4473da
call fcn.0050dcae
cmp esi, edi
je 0x4475c2
test ebp, ebp
jne 0x4474a9
call fcn.0050dcae
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x4473fb
call fcn.0050dcae
cmp dword [esi + 0xc], 3
mov eax, dword [esi + 8]
jne 0x447519
test eax, eax
je 0x4475b2
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
push eax
mov eax, dword [ecx + 0xa8]
call eax
cmp dword [esp + 0x24], 0xb
jne 0x4474b1
push 0x38
lea ecx, [esp + 0x74]
push 0
push ecx
mov dword [esp + 0x78], 0
call fcn.0050c770
add esp, 0xc
push 0
push 0
lea edx, [esp + 0x74]
push edx
push 0
push ecx
mov edi, esp
mov dword [esp + 0x24], esp
mov dword [edi], 0
mov eax, dword [esi + 8]
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
mov dword [ecx], eax
test eax, eax
je 0x447474
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov ecx, edi
call fcn.004220f0
test eax, eax
jge 0x44748a
cmp eax, 0x80004002
jne 0x4475bc
mov eax, dword [ebx + 0x30]
push eax
call fcn.004411d0
add esp, 0x18
push edx
push eax
push 0
push 0
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.USER32.dll_SetRect]
jmp 0x447501
mov eax, dword [ebp]
jmp 0x4473f1
mov eax, dword [esi + 8]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
mov dword [ecx], eax
test eax, eax
je 0x4474c9
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x4c]
push ecx
call fcn.00441fe0
mov edx, dword [eax]
mov dword [esp + 0x30], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 8]
add esp, 8
mov dword [esp + 0x30], edx
mov eax, dword [eax + 0xc]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x3c], eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
mov dword [esi + 0x14], eax
mov ecx, dword [esp + 0x20]
sub ecx, dword [esp + 0x18]
mov dword [esi + 0x18], ecx
jmp 0x447566
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
mov dword [ecx], eax
test eax, eax
je 0x44752e
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x5c]
push ecx
call fcn.00441fe0
mov edx, dword [eax]
mov dword [esp + 0x40], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x44], ecx
mov edx, dword [eax + 8]
add esp, 8
mov dword [esp + 0x40], edx
mov eax, dword [eax + 0xc]
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x4c], eax
call dword [sym.imp.USER32.dll_CopyRect]
cmp byte [esp + 0xac], 0
je 0x44757e
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
add dword [esp + 0xc], eax
jmp 0x44758a
mov ecx, dword [esp + 0x20]
sub ecx, dword [esp + 0x18]
add dword [esp + 0xc], ecx
mov edx, dword [esi + 0x10]
add dword [esp + 0xc], edx
test ebp, ebp
jne 0x4475ad
call fcn.0050dcae
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x4475a6
call fcn.0050dcae
mov esi, dword [esi]
jmp 0x4473c8
mov eax, dword [ebp]
jmp 0x44759c
push 0x80004003
call fcn.0050a1f0
push eax
call fcn.0050a1f0
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebp
add esp, 0x9c
ret 4