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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb0
mov eax, dword [0x5b3720]
xor eax, esp
mov dword [esp + 0xac], eax
mov ecx, dword [edi + 0x84]
push ebx
xor ebx, ebx
xor eax, eax
cmp ecx, ebx
push esi
je 0x43bc59
push ecx
lea ecx, [esp + 0x90]
mov dword [esp + 0x92], eax
mov dword [esp + 0x96], eax
mov dword [esp + 0x9a], eax
mov dword [esp + 0x9e], eax
mov dword [esp + 0xa2], eax
mov dword [esp + 0xa6], eax
mov dword [esp + 0xaa], eax
mov dword [esp + 0xae], eax
mov dword [esp + 0xb2], eax
mov word [esp + 0xb6], ax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
call fcn.0040f6c0
test eax, eax
jne 0x43b8bc
xor eax, eax
pop esi
pop ebx
mov ecx, dword [esp + 0xac]
xor ecx, esp
call fcn.00524c67
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x228]
mov esi, 1
push esi
push 0x568c40
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
call fcn.004b9890
test eax, eax
jne 0x43b8e4
mov dword [esp + 0xc], ebx
jmp 0x43b8f1
xor eax, eax
cmp dword [esp + 0xc], esi
sete al
mov dword [esp + 0xc], eax
lea ecx, [edi + 0x1c0]
push esi
call fcn.00506d56
mov ebx, eax
test ebx, ebx
je 0x43b949
test ebx, ebx
mov eax, ebx
je 0x43b97b
mov esi, dword [eax + 8]
test esi, esi
mov ebx, dword [ebx]
je 0x43b940
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x43b920
mov edx, dword [ecx]
mov eax, dword [edx + 0x60]
call eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x43b937
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [esi + 4], 0
push esi
call fcn.004fe90e
add esp, 4
test ebx, ebx
jne 0x43b903
mov esi, 1
cmp dword [edi + 0x1cc], esi
jle 0x43b964
lea ecx, [edi + 0x1c0]
call fcn.00506cf2
cmp dword [edi + 0x1cc], esi
jg 0x43b951
movzx eax, word [esp + 0x8e]
add eax, 0xfffffffe
cmp eax, 6
ja case.0x43b974.3
jmp dword [eax*4 + 0x43bc70]
jmp fcn.00507caf
mov dword [esp + 0x10], esi
jmp case.0x43b974.3
mov ecx, dword [edi + 0x84]
test byte [ecx + 0x144], 0x20
je 0x43b99b
mov dword [esp + 0x10], esi
jmp case.0x43b974.3
mov dword [esp + 0x14], esi
jmp case.0x43b974.3
mov edx, dword [edi + 0x84]
cmp dword [edx + 0x80], 3
je 0x43b9bd
cmp dword [esp + 0xc], 0
jne 0x43b9bd
mov dword [esp + 0x1c], esi
jmp case.0x43b974.3
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x50], eax
lea eax, [edi + 0x2d4]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [edi + 0x328]
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], ecx
mov eax, 0x570108
lea ecx, [edi + 0x280]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x30], ecx
lea eax, [edi + 0x4f8]
lea edx, [edi + 0x37c]
lea ecx, [edi + 0x45c]
mov dword [esp + 0x94], eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x8c], ecx
lea eax, [edi + 0x22c]
test eax, eax
lea edx, [edi + 0x4c4]
lea ecx, [edi + 0x490]
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], 0x56f9dc
mov dword [esp + 0x64], 0x5708a0
mov dword [esp + 0x68], 0x56edc4
mov dword [esp + 0x90], edx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], 0
je 0x43ba9a
mov eax, dword [eax + 0x20]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
call fcn.0050743c
lea eax, [edi + 0x3d0]
test eax, eax
je 0x43babf
mov eax, dword [eax + 0x20]
lea edx, [esp + 0x6c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x6c]
push ecx
mov ecx, edi
call fcn.0050743c
fld qword [0x5b65b8]
fld qword [0x58bd68]
fmul st(1)
call fcn.005296d0
fmul qword [0x58bc38]
mov ecx, dword [esp + 0x2c]
sub ecx, eax
push 0
push 0
mov dword [esp + 0x14], ecx
call fcn.005296d0
fld qword [0x5b65b0]
fmul qword [0x58bbe0]
push eax
call fcn.005296d0
mov edx, dword [esp + 0x78]
sub edx, eax
push edx
lea eax, [esp + 0x8c]
push eax
call dword [sym.imp.USER32.dll_SetRect]
xor ebx, ebx
mov dword [esp + 0x10], ebx
cmp dword [esp + ebx + 0x44], 0
jne 0x43bb2f
mov ecx, dword [esp + ebx + 0x30]
push 0
call fcn.00505414
jmp 0x43bc1a
push 0xc
call fcn.004fe8de
mov esi, eax
add esp, 4
xor eax, eax
test esi, esi
je 0x43bc59
mov dword [esi], eax
mov dword [esi + 4], eax
push esi
lea ecx, [edi + 0x1c0]
mov dword [esi + 8], eax
call fcn.00506e4a
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + ebx + 0x30]
mov ecx, dword [esp + ecx + 0x58]
mov dword [esi], ebx
call fcn.00508603
test eax, eax
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + edx + 0x8c]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
je 0x43b8a6
test ebx, ebx
je 0x43bba4
mov eax, dword [ebx + 0x20]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
call fcn.0050743c
push 5
mov ecx, ebx
call fcn.00505414
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x20]
push 5
push 0
push 0
push edx
push eax
push 0
mov ecx, ebx
call fcn.00505623
fld qword [0x5b65b8]
fmul qword [0x58bd68]
call fcn.005296d0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 4]
sub ecx, eax
sub ecx, dword [esp + 0x24]
mov eax, dword [edi + 0x84]
add dword [esp + 0xc], ecx
mov dword [edx + 0x84], eax
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov eax, dword [edi + 0x228]
mov edx, dword [edx + 0x160]
push eax
call edx
mov esi, dword [esi + 4]
lea ebx, [esp + 0x7c]
mov eax, edi
call fcn.00421d50
mov ebx, dword [esp + 0x10]
add ebx, 4
cmp ebx, 0x14
mov dword [esp + 0x10], ebx
jb 0x43bb18
cmp dword [esp + 0x14], 0
je 0x43bc3e
push 5
lea ecx, [edi + 0x2d4]
call fcn.00505414
mov eax, dword [edi]
mov edx, dword [eax + 0x170]
mov ecx, edi
mov dword [edi + 0x1dc], 0
call edx
mov eax, 1
mov ecx, dword [esp + 0xb4]
pop esi
pop ebx
xor ecx, esp
call fcn.00524c67
mov esp, ebp
pop ebp
ret