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

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x20]
push ebp
push esi
push edi
mov edx, dword [ebx + 0x28]
mov edi, dword [esp + 0x28]
and edx, 0x1f000000
mov ecx, 0x8000
cmp edx, 0xb000000
je 0x48aa25
xor eax, eax
cmp dword [ebx + 0x30], eax
setne al
push eax
push ebx
push edi
call fcn.0048c640
add esp, 0xc
test eax, eax
je 0x48afdf
jmp 0x48ac85
mov eax, dword [ebx + 0xc]
cmp eax, 0xffffffff
je 0x48aa41
cmp eax, 0xfffffff2
jae 0x48aa78
movsd xmm0, qword [ebx + 8]
ucomisd xmm0, xmm0
lahf
test ah, 0x44
jnp 0x48aa78
cmp dword [ebx + 0x30], 0
jne 0x48afd7
cmp word [ebx + 0x2c], cx
jae 0x48aa78
cmp dword [ebx + 0x3c], 0
je 0x48aa6b
push 0
push ebx
push edi
call fcn.0048c640
add esp, 0xc
test eax, eax
jne 0x48ac85
pop edi
pop esi
pop ebp
mov eax, 0x7fff
pop ebx
add esp, 0x14
ret
lea eax, [esp + 0x13]
push eax
lea eax, [esp + 0x20]
push eax
push ebx
push edi
call fcn.0048e6b0
mov ebp, dword [edi + 0x10]
add esp, 0x10
movzx edx, ax
mov esi, edx
mov dword [esp + 0x14], eax
mov al, byte [ebp + esi*8 + 5]
mov byte [esp + 0x2c], al
cmp al, 0x1a
jne 0x48aaaa
mov ebp, dword [ebp + esi*8]
jmp 0x48aaad
mov ebp, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x30]
test ecx, ecx
jne 0x48ab7d
mov esi, dword [ebp + 4]
cmp esi, 0xfffffff2
jae 0x48aac5
lea esi, [ecx + 0xe]
jmp 0x48aac7
not esi
lea eax, [edi - 0x118]
cmp ebp, eax
jne 0x48ab0c
lea eax, [edi - 0x118]
push eax
push 0x1a
push edi
call fcn.00473d10
mov edx, dword [esp + 0x20]
mov ecx, 0x885
mov word [edi + 0x7c], cx
add esp, 0xc
movzx ecx, dx
movzx eax, ax
mov word [edi + 0x78], cx
mov ecx, edi
mov word [edi + 0x7a], ax
call fcn.0047ba80
mov ebp, 0x7fff
jmp 0x48ab38
cmp byte [esp + 0x2c], 0x38
mov ecx, 0x4180
mov eax, 0x4280
mov word [edi + 0x78], dx
cmove eax, ecx
mov ecx, edi
or ax, si
mov word [edi + 0x7c], ax
xor eax, eax
mov word [edi + 0x7a], ax
call fcn.0047ba80
mov ebp, eax
mov eax, dword [esp + 0x1c]
movzx ecx, bp
cmp ecx, eax
jae 0x48ab54
push eax
push edi
call fcn.00474050
mov al, byte [esp + 0x1b]
add esp, 8
mov byte [edi + 0x76], al
test esi, esi
jne 0x48acb3
cmp dword [ebx + 0x3c], esi
je 0x48acb8
push esi
push ebx
push edi
call fcn.0048c640
add esp, 0xc
test eax, eax
je 0x48acb8
jmp 0x48ac85
mov eax, dword [ebx]
mov edx, dword [eax + 0x10]
movzx eax, byte [ebx + 0x2f]
and eax, 0x1f
mov dword [esp + 0x20], edx
sub eax, 4
cmp eax, 8
ja 0x48aba5
mov dword [esp + 0x18], 1
test ecx, 0x1f000000
jne 0x48abad
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x1c]
cmp esi, eax
jae 0x48abca
push eax
push edi
call fcn.00474050
mov al, byte [esp + 0x1b]
add esp, 8
mov edx, dword [esp + 0x20]
mov byte [edi + 0x76], al
cmp dword [ebp + 4], 0xffffffff
jne 0x48add3
cmp dword [ebx + 0x3c], 0
je 0x48ac1c
test edx, edx
je 0x48ac1c
push dword [edi - 0x94]
push edx
call fcn.00497a40
add esp, 8
test eax, eax
je 0x48ac1c
cmp dword [eax + 4], 0xffffffff
je 0x48ac1c
cmp byte [esp + 0x2c], 0x38
mov ecx, 0x4180
mov eax, 0x4280
cmove eax, ecx
mov word [edi + 0x7c], ax
mov eax, dword [esp + 0x14]
movzx ecx, ax
xor eax, eax
mov word [edi + 0x7a], ax
jmp 0x48ac5c
cmp byte [esp + 0x2c], 0x3a
jne 0x48ac67
lea eax, [edi - 0x118]
push eax
push 0x1a
push edi
call fcn.00473d10
movzx edx, ax
add esp, 0xc
lea eax, [edi - 0x118]
mov word [edi + 0x7a], dx
cmp ebp, eax
mov ecx, 0x985
mov eax, 0x885
cmove ecx, eax
mov eax, dword [esp + 0x14]
mov word [edi + 0x7c], cx
movzx ecx, ax
mov word [edi + 0x78], cx
mov ecx, edi
call fcn.0047ba80
cmp dword [ebx + 0x3c], 0
je 0x48ad77
push 1
push ebx
push edi
call fcn.0048c640
add esp, 0xc
test eax, eax
je 0x48ad77
mov edx, dword [ebx + 0x38]
mov eax, edx
and eax, 0x1f000000
cmp eax, 0x8000000
je 0x48acce
add dword [ebx + 0x3c], 0xffffffff
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x1c]
mov dword [ebx + 0x28], edx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
je 0x48afe7
jmp 0x48a9f2
cmp esi, 2
ja 0x48acc4
imul ebp, esi, 0xffffff
add ebp, 0x7fff
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x14
ret
cmp dword [ebx + 0x30], 0
mov ecx, 0x444d69
mov eax, 0x444c8d
cmovne eax, ecx
push eax
push edi
call fcn.0048f1c0
mov ecx, dword [edi + 0x54]
mov edx, eax
mov ebp, dword [edi + 0x64]
add esp, 8
mov esi, dword [ecx + 0x10]
mov ecx, dword [ebx + 0x38]
mov dword [ebp + edx*4], ecx
mov eax, dword [ebx + 0x28]
mov dword [ebp + edx*4 + 4], eax
mov eax, dword [ebx + 0x2c]
mov dword [ebp + edx*4 + 8], eax
mov eax, dword [ebx + 0x18]
mov dword [esi + edx*8], eax
mov dword [esi + edx*8 + 4], 0xfffffff7
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [esi + edx*8 + 8], eax
mov dword [esi + edx*8 + 0xc], ecx
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
mov dword [esi + edx*8 + 0x10], eax
mov dword [esi + edx*8 + 0x14], ecx
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x48ad61
mov dword [ebp + edx*4 + 0xc], eax
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
push 3
push edx
push edi
mov dword [esi + edx*8 + 0x18], eax
mov dword [esi + edx*8 + 0x1c], ecx
call fcn.0048a910
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
push 2
push edx
push edi
call fcn.0048a910
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
lea eax, [edi - 0x118]
cmp ebp, eax
jne 0x48aeb1
mov edx, dword [ebx + 0x2c]
mov eax, edx
shr eax, 0x18
and eax, 0x1f
sub eax, 0xf
cmp eax, 4
ja 0x48adac
mov ecx, edi
mov dword [edi + 0x7a], 0x5a0e01d3
mov word [edi + 0x78], dx
call fcn.0047ba80
mov edx, eax
movzx ecx, word [ebx + 0x28]
mov eax, 0x3b05
mov word [edi + 0x78], cx
mov ecx, edi
mov word [edi + 0x7c], ax
mov word [edi + 0x7a], dx
call fcn.0047ba80
mov dword [esp + 0x14], eax
xor ebp, ebp
jmp 0x48aeb5
xor eax, eax
cmp byte [esp + 0x2c], 0x38
push esi
setne al
add eax, 0x41
movzx eax, ax
mov esi, eax
mov dword [esp + 0x20], eax
push esi
push edi
call fcn.0047e420
add esp, 0xc
test eax, eax
jne 0x48adcc
cmp byte [esp + 0x2c], 0x3a
jne 0x48ae33
lea eax, [edi - 0x118]
push eax
push 0x1a
push edi
call fcn.00473d10
mov edx, dword [esp + 0x20]
mov ecx, 0x985
mov word [edi + 0x7c], cx
add esp, 0xc
movzx ecx, dx
movzx eax, ax
mov word [edi + 0x78], cx
mov ecx, edi
mov word [edi + 0x7a], ax
call fcn.0047ba80
cmp dword [ebx + 0x3c], 0
je 0x48aeb1
cmp dword [esp + 0x20], 0
jne 0x48ae79
movzx eax, word [ebx + 0x28]
mov ecx, edi
mov dword [edi + 0x7a], 0x440b0005
mov word [edi + 0x78], ax
call fcn.0047ba80
push 0xb
push edi
mov esi, eax
call fcn.00473b70
movzx ecx, ax
add esp, 8
mov eax, 0x88b
mov word [edi + 0x78], si
mov word [edi + 0x7c], ax
mov word [edi + 0x7a], cx
jmp 0x48aeaa
mov eax, dword [ebp + 4]
cmp eax, 0xfffffff2
jae 0x48ae88
mov eax, 0xe
jmp 0x48ae8a
not eax
mov ecx, dword [esp + 0x14]
shl esi, 8
or esi, eax
movzx eax, cx
or esi, 0x80
mov word [edi + 0x78], ax
xor eax, eax
mov word [edi + 0x7c], si
mov word [edi + 0x7a], ax
mov ecx, edi
call fcn.0047ba80
mov ebp, dword [esp + 0x18]
mov ecx, dword [ebx + 0x30]
movzx eax, cx
mov esi, eax
mov edx, eax
mov eax, ecx
shr eax, 0x18
and eax, 0x1f
sub eax, 0xf
cmp eax, 4
ja 0x48aee9
mov ecx, edi
mov dword [edi + 0x7a], 0x5a0e01d3
mov word [edi + 0x78], si
call fcn.0047ba80
mov ecx, eax
mov dword [ebx + 0x30], ecx
movzx edx, cx
shr ecx, 0x18
mov eax, 0x4a00
and ecx, 0x1f
mov word [edi + 0x7a], dx
cmp byte [esp + 0x2c], 0x38
mov esi, 0x4900
cmove eax, esi
or cx, ax
mov eax, dword [esp + 0x14]
mov word [edi + 0x7c], cx
mov ecx, edi
mov word [edi + 0x78], ax
call fcn.0047ba80
test ebp, ebp
jne 0x48af2e
movzx eax, byte [ebx + 0x33]
and eax, 0x1f
sub eax, 4
cmp eax, 8
ja 0x48af44
movzx eax, word [ebx + 0x28]
mov ecx, edi
mov dword [edi + 0x7a], 0x57000000
mov word [edi + 0x78], ax
call fcn.0047ba80
mov ecx, dword [ebx + 0x2c]
mov eax, ecx
and eax, 0x1f000000
cmp eax, 0x4000000
jne 0x48afc9
movzx eax, cx
mov ecx, 0x8000
cmp ax, cx
jae 0x48af8d
mov ecx, eax
mov eax, dword [edi + 0x10]
mov edx, dword [eax + ecx*8]
xor ecx, ecx
lea eax, [edi - 0x98]
cmp dword [eax], edx
je 0x48af8d
inc ecx
add eax, 4
cmp ecx, 5
jbe 0x48af72
mov byte [edi + 0x75], 1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
movzx eax, word [ebx + 0x28]
mov ecx, edi
mov dword [edi + 0x7a], 0x3e05000a
mov word [edi + 0x78], ax
call fcn.0047ba80
xor edx, edx
mov ecx, edi
mov esi, eax
call fcn.00471b90
movzx ecx, ax
mov eax, 0x4c10
mov word [edi + 0x7a], cx
mov ecx, edi
mov word [edi + 0x7c], ax
mov word [edi + 0x78], si
call fcn.0047ba80
mov byte [edi + 0x75], 1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
push 0x11
push edi
call fcn.00498e20
push 0x12
push edi
call fcn.00498e20
push 0x13
push edi
call fcn.00498e20
int3