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

Disassembly:
sub esp, 0x50
push ebx
mov ebx, dword [esp + 0x5c]
xorps xmm0, xmm0
movlpd qword [esp + 0x18], xmm0
movlpd qword [esp + 0xc], xmm0
mov dword [esp + 0x20], 0
push ebp
mov ebp, edx
mov dword [esp + 0x2c], ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], esi
test ebx, ebx
je 0x48dad1
mov eax, dword [esp + 0x68]
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
mov dword [eax], 0
cmp dword [ebp], 0
jne 0x48daea
mov byte [ebp + 4], 0
mov ecx, dword [esi + 0x74]
call fcn.00493a20
mov dword [ebp], eax
test eax, eax
je 0x48db22
mov ecx, dword [esp + 0x6c]
mov edx, 0x48d250
mov eax, dword [esp + 0x3c]
test ecx, ecx
mov dword [esp + 0x40], ecx
cmovne eax, edx
mov dword [esp + 0x3c], eax
test ebx, ebx
jne 0x48db30
cmp dword [esi + 0x70], ebx
jne 0x48db30
mov eax, dword [esi + 0x74]
mov edx, 0x10010
mov ecx, eax
mov eax, dword [eax]
call eax
mov dword [esi + 0x70], eax
test eax, eax
jne 0x48db30
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x50
ret 0x20
cmp byte [ebp + 4], 0
jne 0x48db75
mov ecx, dword [ebp]
lea edx, [esi + 8]
mov dword [esp + 0x2c], 5
call fcn.004942a0
test eax, eax
jne 0x48de00
mov ecx, dword [ebp]
lea eax, [esp + 0x2c]
push eax
lea edx, [esp + 0x38]
call fcn.00494410
test eax, eax
jne 0x48de00
mov al, byte [esp + 0x34]
mov byte [ebp + 5], al
mov byte [ebp + 4], 1
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x78]
nop word [eax + eax]
cmp dword [esp + 0x70], 0
xorps xmm0, xmm0
mov dword [ebp + 8], 0
mov dword [ebp + 0xc], 0
mov word [ebp + 6], 0x101
mov ecx, dword [esi + 0x50]
mov edx, dword [esi + 0x54]
mov dword [esp + 0x18], 0
movlpd qword [esp + 0x50], xmm0
mov dword [esp + 0x58], 0
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
je 0x48dc85
mov eax, dword [esp + 0x10]
or esi, 0xffffffff
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [eax + 0x68]
and eax, dword [ebx + 0x6c]
mov ebx, dword [esp + 0x68]
cmp eax, 0xffffffff
je 0x48dc43
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 0x6c]
mov ebx, dword [esp + 0x68]
cmp eax, dword [esp + 0x20]
jb 0x48dc43
ja 0x48dc30
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
cmp dword [ebx + 0x68], ebp
mov ebp, dword [esp + 0x34]
mov ebx, dword [esp + 0x68]
jb 0x48dc43
mov esi, dword [esp + 0x10]
mov esi, dword [esi + 0x68]
sub esi, dword [esp + 0x14]
sbb eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
mov eax, ecx
and eax, edx
cmp eax, 0xffffffff
mov eax, dword [esp + 0x24]
je 0x48dc5e
cmp eax, edx
jb 0x48dc5e
ja 0x48dc5a
cmp esi, ecx
jbe 0x48dc5e
mov esi, ecx
xor eax, eax
mov ecx, dword [ebp]
push eax
push esi
call fcn.00494280
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x40]
mov ecx, dword [ebp]
push dword [eax + 0x78]
push dword [eax + 0x74]
push 0x200000
call fcn.00493fb0
jmp 0x48dcd1
sub eax, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov eax, ecx
and eax, edx
cmp eax, 0xffffffff
je 0x48dcae
xor eax, eax
cmp eax, edx
jb 0x48dcae
ja 0x48dca6
mov eax, dword [esp + 0x18]
cmp eax, ecx
jbe 0x48dcb2
mov eax, ecx
mov dword [esp + 0x18], eax
jmp 0x48dcb2
mov eax, dword [esp + 0x18]
push dword [esi + 0x78]
mov ecx, dword [esp + 0x78]
push dword [esi + 0x74]
mov edx, dword [esp + 0x1c]
push 0x200000
push eax
lea edx, [edx + ecx]
mov ecx, dword [ebp]
call fcn.00493f60
test eax, eax
jne 0x48ddff
mov ecx, dword [esp + 0x64]
test ebx, ebx
cmovne ecx, eax
mov dword [esp + 0x38], ecx
nop word [eax + eax]
mov dword [esp + 0x24], 0x10010
test ebx, ebx
je 0x48dd0b
mov eax, dword [esp + 0x2c]
lea edx, [edi + ebx]
sub eax, edi
mov dword [esp + 0x24], eax
jmp 0x48dd12
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x70]
push ecx
lea eax, [esp + 0x28]
mov ecx, ebp
push eax
call fcn.0048d2e0
mov esi, eax
test esi, esi
jne 0x48dd7e
mov ebx, dword [esp + 0x24]
add edi, ebx
mov edx, dword [esp + 0x30]
adc edx, eax
mov dword [esp + 0x30], edx
cmp dword [esp + 0x68], eax
je 0x48dd41
mov eax, dword [esp + 0x6c]
mov dword [eax], edi
mov esi, dword [esp + 0x80]
test esi, esi
je 0x48dd6c
mov ecx, dword [esp + 0x14]
add ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
adc eax, dword [esp + 0x20]
push edx
push edi
push eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call eax
test eax, eax
jne 0x48ddf0
mov ecx, dword [esp + 0x38]
xor esi, esi
test ebx, ebx
mov ebx, dword [esp + 0x68]
jne 0x48dcf0
mov ecx, dword [ebp]
call fcn.00493cd0
mov ecx, dword [ebp + 8]
add dword [esp + 0x14], ecx
mov edx, dword [ebp + 0xc]
adc dword [esp + 0x20], edx
test esi, esi
jne 0x48ddfd
mov esi, dword [esp + 0x70]
test esi, esi
je 0x48ddae
mov eax, dword [esp + 0x50]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x54]
jmp 0x48ddb0
xor eax, eax
cmp ecx, dword [esp + 0x18]
jne 0x48de6b
cmp edx, eax
jne 0x48de6b
test esi, esi
je 0x48ddd6
cmp dword [esp + 0x58], 0
jne 0x48de09
mov esi, dword [esp + 0x10]
jmp 0x48db92
mov eax, dword [esp + 0x78]
cmp dword [esp + 0x14], eax
jne 0x48dde7
cmp dword [esp + 0x20], 0
je 0x48de09
mov esi, dword [esp + 0x10]
jmp 0x48dba0
mov ecx, dword [ebp]
mov esi, 0xa
call fcn.00493cd0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 0x20
cmp dword [esp + 0x7c], 0
je 0x48de36
test ebx, ebx
je 0x48de42
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx]
cmp eax, dword [esp + 0x2c]
jb 0x48de2f
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
add esp, 0x50
ret 0x20
mov byte [eax + ebx], 0
inc eax
mov dword [ecx], eax
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x50
ret 0x20
mov eax, dword [esp + 0x64]
lea edx, [esp + 0x68]
mov ecx, eax
mov byte [esp + 0x68], 0
push 1
mov eax, dword [eax]
call eax
cmp eax, 1
je 0x48de36
pop edi
pop esi
pop ebp
mov eax, 9
pop ebx
add esp, 0x50
ret 0x20
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
add esp, 0x50
ret 0x20