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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a05c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
push esi
mov esi, ecx
push edi
mov al, byte [esi + 0xc]
test al, al
je 0x49d826
mov al, byte [esi + 0xd]
mov byte [esp + 0x13], 1
test al, al
jne 0x49d82b
mov byte [esp + 0x13], 0
mov ebx, dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.0049d0e0
test al, al
je 0x49db31
mov al, byte [esp + 0x13]
test al, al
je 0x49db31
mov ecx, dword [esi + 4]
lea edx, [esp + 0x58]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov esi, eax
sub esp, 8
fld qword [esi + 0x18]
fadd qword [0x5af430]
fstp qword [esp]
call fcn.0053e2af
add esp, 8
call fcn.0053e380
fld qword [esi + 0x10]
fadd qword [0x5af430]
push eax
sub esp, 8
fstp qword [esp]
call fcn.0053e2af
add esp, 8
call fcn.0053e380
fld qword [esi + 8]
fadd qword [0x5af430]
push eax
sub esp, 8
fstp qword [esp]
call fcn.0053e2af
add esp, 8
call fcn.0053e380
fld qword [esi]
fadd qword [0x5af430]
push eax
sub esp, 8
fstp qword [esp]
call fcn.0053e2af
add esp, 8
call fcn.0053e380
push eax
lea ecx, [esp + 0x58]
call fcn.0043ea10
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x38]
mov dword [esp + 0x40], edx
push ecx
mov dword [esp + 0x48], eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x49db1b
xor edi, edi
lea ecx, [esp + 0x38]
mov dword [esp + 0x14], edi
call fcn.00589d98
mov ecx, dword [ebx]
add ecx, 0x60
mov edx, dword [ecx]
call dword [edx + 0x58]
mov ecx, dword [ebx]
call fcn.00489150
mov esi, eax
lea eax, [esp + 0x13]
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], esi
call fcn.00473e20
mov eax, dword [esi + 8]
mov dword [esp + 0x80], edi
mov edi, dword [eax]
cmp edi, eax
je 0x49da20
mov ecx, dword [edi + 8]
lea eax, [esp + 0x58]
push eax
mov edx, dword [ecx]
call dword [edx + 0x34]
mov esi, eax
sub esp, 8
fld qword [esi + 0x18]
fadd qword [0x5af430]
fstp qword [esp]
call fcn.0053e2af
call fcn.0053e380
fld qword [esi + 0x10]
fadd qword [0x5af430]
mov dword [esp + 0x28], eax
fstp qword [esp]
call fcn.0053e2af
call fcn.0053e380
fld qword [esi + 8]
fadd qword [0x5af430]
mov dword [esp + 0x20], eax
fstp qword [esp]
call fcn.0053e2af
call fcn.0053e380
fld qword [esi]
fadd qword [0x5af430]
mov dword [esp + 0x24], eax
fstp qword [esp]
call fcn.0053e2af
add esp, 8
call fcn.0053e380
cmp eax, dword [esp + 0x38]
jl 0x49da11
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x40]
cmp ecx, eax
jg 0x49da11
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x3c]
cmp edx, eax
jl 0x49da11
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x44]
cmp eax, ecx
jg 0x49da11
mov ecx, dword [edi + 8]
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x14]
mov dword [esp + 0x14], ecx
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x38]
call fcn.00473ec0
mov edx, dword [esp + 0x24]
mov edi, dword [edi]
cmp edi, dword [edx + 8]
jne 0x49d950
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x49da7a
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x2c]
push eax
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x88], 0xffffffff
call fcn.00473ea0
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.004742c0
mov eax, dword [esp + 0x30]
push eax
call fcn.00570be5
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 1
jne 0x49da90
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
test eax, eax
jne 0x49dab7
xor esi, esi
jmp 0x49dac1
mov ecx, dword [ebx]
push 0
push 0
call fcn.00487e10
mov ecx, dword [ebx]
lea eax, [esp + 0x2c]
add ecx, 0x60
push eax
mov edx, dword [ecx]
call dword [edx + 0x60]
mov eax, dword [ebx]
add eax, 0x60
test eax, eax
jne 0x49dab7
xor esi, esi
jmp 0x49dac1
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
lea esi, [edx + eax + 4]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
lea ecx, [edx + eax + 4]
mov eax, dword [edx + eax + 4]
call dword [eax + 0x28]
mov ecx, dword [ebx]
push eax
push esi
call fcn.00487e10
mov edi, dword [esp + 0x30]
mov esi, dword [edi]
cmp esi, edi
je 0x49db0e
mov eax, esi
mov esi, dword [esi]
push eax
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
call fcn.00570be5
mov ecx, dword [esp + 0x38]
add esp, 4
dec ecx
cmp esi, edi
mov dword [esp + 0x34], ecx
jne 0x49dae5
mov eax, dword [esp + 0x30]
push eax
call fcn.00570be5
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0x78]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4