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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x48bdce
sub esp, 0x64
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov eax, dword [esp + 0x68]
test byte [eax], al
mov dword [esp], eax
mov byte [esp + 4], 1
call fcn.0048a010
movzx eax, byte [esp + 8]
test al, al
je 0x48bd9c
xor eax, eax
xor ecx, ecx
test ecx, ecx
jne 0x48bd7f
mov dword [esp + 0x40], 4
lea eax, [0x4ec0f4]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x5c], eax
lea ecx, [esp + 0x40]
mov dword [esp], ecx
call fcn.00426b60
test eax, eax
jne 0x48bd75
mov ecx, dword [esp + 0x70]
cmp ecx, 0x40000000
jle 0x48bd6e
mov eax, 0x40000000
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x68]
movzx edx, byte [ecx + 0x137]
test dl, dl
jne 0x48bc5b
nop
mov dword [ecx + 0x40], eax
lea edi, [ecx + 0x44]
mov edx, dword [0x5a1420]
test edx, edx
jne 0x48bc4b
mov dword [ecx + 0x44], 0
test eax, eax
je 0x48bbcb
mov edx, dword [0x5a1420]
test edx, edx
jne 0x48bc3c
mov edx, dword [esp + 0x6c]
mov dword [ecx + 0x44], edx
lea eax, [0x590ed8]
mov dword [esp], eax
lea eax, [ecx + 0x14]
mov dword [esp + 4], eax
lea eax, [0x4ec0e8]
mov dword [esp + 8], eax
call fcn.0048aa40
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x48bc06
test eax, eax
jne 0x48bc06
test edx, edx
je 0x48bc1f
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ecx
nop
call fcn.004270b0
add esp, 0x64
ret
mov ebx, dword [esp + 0x68]
movzx ebx, byte [ebx + 0x136]
test bl, bl
je 0x48bc06
mov ecx, dword [0x59143c]
mov edx, dword [0x591438]
jmp 0x48bc06
mov edx, eax
mov eax, dword [esp + 0x6c]
call fcn.0044aa90
mov eax, edx
jmp 0x48bbcb
mov edx, eax
xor eax, eax
call fcn.0044aa90
mov eax, edx
jmp 0x48bbb6
lea eax, [ecx + 0x100]
mov dword [esp + 0x60], eax
mov dword [esp], eax
call fcn.0045f260
mov dword [esp + 0x20], 4
lea eax, [0x4ec310]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x20]
mov dword [esp], eax
call fcn.00426b60
test eax, eax
jne 0x48bd64
mov eax, dword [esp + 0x68]
cmp byte [eax + 0x138], 2
jne 0x48bce3
mov dword [esp], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 0xc], edx
call fcn.0048bde0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
test edx, edx
je 0x48bbf6
xor eax, eax
jmp 0x48bbf6
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 0xc], edx
call fcn.0047afc0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x68]
cmp byte [ebx + 0x138], 4
jne 0x48bd58
test edx, edx
je 0x48bd60
lea ebp, [0x4d43c0]
cmp dword [edx + 4], ebp
jne 0x48bd60
cmp dword [ecx], 0x3e3
xchg ebp, ebx
sete bl
xchg ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x48bd58
mov ecx, dword [0x591400]
mov edx, dword [0x591404]
mov ebp, ecx
mov ecx, edx
mov edx, ebp
jmp 0x48bcd4
mov ebp, edx
mov edx, ecx
mov ecx, ebp
jmp 0x48bd4d
xor ebp, ebp
jmp 0x48bd3b
nop
call fcn.004270b0
add esp, 0x64
ret
mov eax, ecx
jmp 0x48bb83
nop
call fcn.004270b0
add esp, 0x64
ret
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
nop
call fcn.004270b0
add esp, 0x64
ret
mov eax, dword [esp + 0x68]
movzx ecx, byte [eax + 0x137]
test cl, cl
je 0x48bdc0
mov ecx, dword [0x591404]
mov edx, dword [0x591400]
mov eax, ecx
mov ecx, edx
jmp 0x48bb38
mov ecx, dword [0x59140c]
mov edx, dword [0x591408]
jmp 0x48bdb7
call fcn.00449350
jmp fcn.0048bae0