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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2cac
call 0x4e92e0
inc dword [0x492408]
cmp dword [0x492408], 0x30
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x18], edi
jl 0x48b62e
push dword [ebp + 0x14]
push 0x46e670
push dword [ebp + 0x18]
push dword [ebp + 0x10]
call fcn.0048ae14
dec dword [0x492408]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
and dword [esp + 0x14], 0
lea eax, [esp + 0x38]
mov byte [esp + 0x11], 1
mov byte [esp + 0x12], 1
mov byte [esp + 0x13], 0
call fcn.0048fe91
push dword [ebp + 8]
lea esi, [esp + 0x2c]
call fcn.00484583
mov eax, esi
push eax
mov eax, 0x2000
lea ecx, [esp + 0x3c]
call fcn.0048fedd
mov bl, al
neg bl
mov ecx, esi
sbb bl, bl
call fcn.00484604
inc bl
je 0x48b6a1
push dword [ebp + 0x14]
push 0x46e6f8
push dword [ebp + 0x18]
push dword [ebp + 0x10]
call fcn.0048ae14
xor bl, bl
lea eax, [esp + 0x38]
call fcn.0048febd
dec dword [0x492408]
mov al, bl
jmp 0x48b625
lea eax, [esp + 0x490]
push eax
mov esi, 0x104
push esi
call dword [fcn.0046b328]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x74]
push eax
push esi
push dword [ebp + 8]
call dword [fcn.0046b31c]
lea eax, [esp + 0xab0]
push eax
lea eax, [esp + 0x8ac]
push eax
lea eax, [esp + 0x6a8]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x80]
push eax
call 0x4da69e
add esp, 0x14
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x284]
push eax
call 0x4d81f7
lea eax, [esp + 0x6a8]
push eax
lea eax, [esp + 0x28c]
push eax
call 0x4d81c6
add esp, 0x10
lea eax, [esp + 0x280]
push eax
call dword [fcn.0046b320]
cmp byte [esp + 0x12], 1
jne 0x48b8b2
lea ebx, [esp + 0xcb8]
lea eax, [esp + 0x38]
call fcn.00490424
test al, al
je 0x48b8b2
inc dword [esp + 0x14]
mov esi, ebx
call fcn.0048b433
mov eax, ebx
call fcn.0048b468
test al, al
je 0x48b890
mov edi, ebx
call fcn.0048b405
mov eax, edi
push eax
xor bl, bl
call 0x4d7e51
mov esi, eax
pop ecx
cmp esi, 2
jle 0x48b7b2
mov ax, word [esp + esi*2 + 0xcb4]
and ax, 0x7f
movzx eax, ax
push eax
call 0x4d9eb5
pop ecx
test eax, eax
je 0x48b7b2
lea eax, [esp + esi*2 + 0xcb6]
cmp word [eax], 0x5f
jne 0x48b7b2
xor ecx, ecx
mov word [eax], cx
inc bl
cmp byte [esp + 0x13], 1
mov esi, dword [esp + 0x18]
jne 0x48b82a
cmp dword [esi + 0x10], 0
je 0x48b87b
mov eax, dword [esi + 0xc]
push dword [eax]
call 0x4d7e51
mov edi, eax
pop ecx
lea eax, [esp + 0xcb8]
push eax
call 0x4d7e51
pop ecx
xor ecx, ecx
push 2
lea eax, [eax + edi + 1]
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call 0x4d8267
mov edi, eax
mov eax, dword [esi + 0xc]
pop ecx
push dword [eax]
push edi
call 0x4d81f7
lea eax, [esp + 0xcc0]
push eax
push edi
call 0x4d81c6
mov eax, dword [esi + 0xc]
push dword [eax]
call 0x4d7e6c
mov eax, dword [esi + 0xc]
add esp, 0x14
mov dword [eax], edi
jmp 0x48b87b
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x78]
push eax
push esi
lea ecx, [esp + 0xcc8]
call fcn.0048b8dc
test eax, eax
je 0x48b876
cmp eax, 1
jle 0x48b87b
cmp eax, 3
jle 0x48b860
cmp eax, 4
jne 0x48b87b
mov byte [esp + 0x12], 0
jmp 0x48b87b
push dword [ebp + 0xc]
lea eax, [esp + 0xcbc]
push eax
push dword [esp + 0x1c]
call fcn.0048b0b1
jmp 0x48b87b
mov byte [esp + 0x11], 0
cmp bl, 1
sete byte [esp + 0x13]
cmp byte [esp + 0x11], 1
je 0x48b72e
jmp 0x48b8b2
mov edi, dword [esp + 0x18]
lea eax, [esp + 0xcb8]
push eax
push 0x46e728
push dword [esp + 0x1c]
push dword [ebp + 0x10]
call fcn.0048ae14
mov byte [esp + 0x11], 0
lea esi, [esp + 0x38]
call fcn.00490748
and dword [esp + 0x64], 0
and dword [esp + 0x68], 0
lea eax, [esp + 0x490]
push eax
call dword [fcn.0046b320]
mov bl, byte [esp + 0x11]
jmp 0x48b68e