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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb8
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], 0x5ad970
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 0x5ac720
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov ebx, dword [eax + 0x14]
mov edi, dword [eax + 0x18]
lea eax, [esp + 0x10]
push eax
push edi
push ebx
call fcn.00426b50
add esp, 0xc
mov cl, 1
test al, al
jne 0x48bbd6
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x130]
mov edx, dword [esi + 0x18]
and ecx, 0x1f
mov eax, edx
mov dword [esp + 0xb0], ecx
shr eax, cl
test eax, eax
mov dword [esp + 0x9c], eax
je 0x48ba2b
mov ecx, dword [esi + 0x134]
xor eax, eax
mov dword [esp + 8], ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x80], edx
mov dword [esp + 0xac], ecx
mov ecx, dword [esi + 0x10]
mov esi, dword [esi + 0x12c]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa0], esi
cmp eax, 0x7fffffff
je 0x48bc84
mov ebx, eax
mov edi, eax
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xb0]
mov esi, edx
shl ebx, cl
mov dword [esp + 0xc], ebx
add eax, ebx
cmp eax, esi
jae 0x48bc73
mov ebx, dword [esp + 0xa4]
test edi, edi
mov dword [esp + 0x84], edi
mov ecx, dword [ebx + eax*8]
mov eax, dword [ebx + eax*8 + 4]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
je 0x48b28f
mov edx, 0xffffffff
mov esi, dword [esp + 0x38]
cmp edx, ecx
mov ecx, 0xfffffbff
sbb ecx, eax
mov ecx, dword [esp + 8]
jae 0x48b2c6
mov dword [esp + 0x10], 0x5ada28
jmp 0x48b2ce
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x5ada34
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 0x5ac720
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
push eax
push dword [esp + 0x3c]
push dword [esp + 0x10]
jmp 0x48b2f5
mov dword [esp + 0x10], 0x5ada1c
lea eax, [esp + 0x10]
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 0x5ac720
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
push eax
push esi
push ecx
call fcn.00426b50
add esp, 0xc
test al, al
jne 0x48bbd4
mov eax, dword [esp + 0x84]
movaps xmm0, xmmword [0x5ac320]
mov dword [esp + 0x60], 0x5ada3c
mov dword [esp + 0x64], 1
mov dword [esp + 0x10], 2
mov dword [esp + 0x78], eax
lea eax, [esp + 0x78]
movups xmmword [esp + 0x18], xmm0
mov dword [esp + 0x28], 8
mov byte [esp + 0x2c], 3
mov dword [esp + 0x54], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x58], 0x47edb0
mov dword [esp + 0x68], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x6c], 1
mov dword [esp + 0x70], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x74], 1
push eax
push dword [esp + 0x3c]
push dword [esp + 0x10]
call fcn.00426b50
add esp, 0xc
test al, al
jne 0x48bbd4
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov edx, 0xffffffff
mov esi, 0xfffffbff
cmp edx, eax
sbb esi, ecx
jae 0x48b3be
mov edx, 0xffffffff
mov esi, 0x3ff
and eax, edx
and ecx, esi
or ecx, eax
je 0x48b416
lea eax, [esp + 0x90]
mov dword [esp + 0x10], 0x5ada48
mov dword [esp + 0x14], 2
mov dword [esp + 0x60], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x64], 0x48bce0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], 0
push eax
push dword [esp + 0x3c]
push dword [esp + 0x10]
call fcn.00426b50
add esp, 0xc
test al, al
jne 0x48bbd4
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x5ada5c
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 0x5ac720
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
push eax
push dword [esp + 0x3c]
push dword [esp + 0x10]
call fcn.00426b50
add esp, 0xc
test al, al
jne 0x48bbd4
mov ecx, dword [esp + 0xc]
mov eax, ecx
add eax, dword [esp + 0xa0]
jb 0x48bcb4
cmp eax, dword [esp + 0x80]
ja 0x48bcc5
mov eax, dword [esp + 0xa4]
inc dword [esp + 0x84]
mov dword [esp + 0x88], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x8c], 0
lea esi, [eax + ecx*8]
mov eax, dword [esp + 0xa0]
lea eax, [esi + eax*8]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x40], eax
nop word cs:[eax + eax]
nop
cmp esi, dword [esp + 0x7c]
mov dword [esp + 0xc], eax
je 0x48b570
lea eax, [esi + 8]
mov edx, esi
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x4c]
mov edi, dword [edx]
lea esi, [eax + 1]
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x88]
or esi, dword [esp + 0x3c]
mov esi, dword [edx + 4]
mov dword [esp + 0x3c], edx
mov edx, eax
mov dword [esp + 0x48], esi
je 0x48b5b0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x50], edx
mov edx, ecx
mov dword [esp + 0x44], edi
xor edx, esi
xor eax, edi
or edx, eax
jne 0x48b5b8
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x40]
mov byte [esp + 7], al
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0xa8]
xor eax, eax
cmp ecx, dword [esp + 0x7c]
jne 0x48b5ea
mov dword [esp + 0x44], esi
mov dword [esp + 0x4c], edi
test al, al
je 0x48b6c1
jmp 0x48b9c0
mov eax, dword [esp + 0x88]
mov esi, dword [esp + 0xc]
mov edx, ebx
xor eax, 1
mov dword [esp + 0x44], esi
or eax, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov byte [esp + 7], al
setne al
mov dword [esp + 0x48], ecx
test al, al
je 0x48b6c1
jmp 0x48b9c0
mov esi, edi
mov edi, dword [esp + 0x34]
jmp 0x48b5d1
mov edx, dword [esp + 0x50]
mov eax, 0x800
cmp ecx, eax
jae 0x48b995
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x44]
mov eax, edx
mov byte [esp + 7], dl
mov ecx, dword [esp + 0xa8]
xor eax, eax
cmp ecx, dword [esp + 0x7c]
je 0x48b55a
mov ecx, dword [esp + 0x48]
movzx ebx, byte [esp + 7]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x50], 0xfffffff0
mov edx, 8
mov dword [esp + 0xc], esi
mov dword [esp + 0x34], ecx
mov ecx, ebx
mov dword [esp + 0x40], ecx
jmp 0x48b637
mov edi, dword [esp + 0x3c]
lea esi, [edi + edx + 8]
inc eax
add dword [esp + 0x50], 0xfffffff8
add edx, 8
cmp esi, dword [esp + 0x7c]
je 0x48b690
mov ecx, dword [esp + 0x34]
mov esi, dword [edi + eax*8 + 0xc]
mov ebx, dword [edi + eax*8 + 8]
mov edi, ecx
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
xor edi, esi
mov esi, dword [esp + 0xc]
xor esi, ebx
or esi, edi
je 0x48b620
mov esi, 0x800
cmp ecx, esi
jae 0x48b95d
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x3c]
lea ecx, [esi + eax + 1]
mov esi, dword [esp + 0x44]
mov dword [esp + 0x40], ecx
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0x48]
mov dword [esp + 0x34], esi
jmp 0x48b624
mov ecx, dword [esp + 0x4c]
lea edx, [ecx + eax]
lea ecx, [ecx + eax + 1]
mov eax, dword [esp + 0x40]
mov byte [esp + 7], al
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0xc]
xor eax, eax
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x48], ecx
test al, al
jne 0x48b9c0
mov edi, dword [esp + 0x48]
mov eax, 0x800
xor ecx, ecx
mov esi, dword [esp + 0x7c]
mov ebx, edx
mov dword [esp + 0x3c], 0
cmp edi, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x34], edi
mov dword [esp + 0xc], eax
movzx eax, byte [esp + 7]
mov dword [esp + 0x40], eax
jb 0x48b9c0
cmp dword [esp + 0x8c], 0
mov dword [esp + 0x50], edx
mov edx, ebx
mov dword [esp + 0x88], ecx
je 0x48b755
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x5ada68
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 0x5ac720
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
push eax
push dword [esp + 0x3c]
push dword [esp + 0x10]
call fcn.00426b50
mov edx, ebx
add esp, 0xc
test al, al
jne 0x48bbd4
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x40]
shr eax, 0xb
cmp cl, dl
jne 0x48b7b0
lea ecx, [esp + 0x78]
mov byte [esp + 0x78], dl
lea edx, [esp + 0x54]
mov dword [esp + 0x10], 0x5ada90
mov dword [esp + 0x54], eax
mov dword [esp + 0x14], 2
mov dword [esp + 0x60], ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x64], 0x4c3590
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], 0x47edb0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 2
jmp 0x48b80c
mov byte [esp + 0x5f], cl
mov byte [esp + 0x78], dl
lea edx, [esp + 0x5f]
lea ecx, [esp + 0x78]
mov dword [esp + 0x10], 0x5ada78
mov dword [esp + 0x54], eax
mov dword [esp + 0x14], 3
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], 0x4c3590
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x60]
lea edx, [esp + 0x54]
mov dword [esp + 0x6c], 0x4c3590
mov dword [esp + 0x70], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x74], 0x47edb0
mov dword [esp + 0x1c], 3
lea eax, [esp + 0x10]
mov dword [esp + 0x20], 0
push eax
push dword [esp + 0x3c]
push dword [esp + 0x10]
call fcn.00426b50
add esp, 0xc
test al, al
jne 0x48bbd4
mov eax, 0xffffffff
mov ecx, 0x3ff
add eax, 1
adc ecx, 0
and eax, dword [esp + 0xc]
and ecx, dword [esp + 0x34]
or ecx, eax
je 0x48b892
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x5adaa8
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 0x5ac720
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
push eax
push dword [esp + 0x3c]
push dword [esp + 0x10]
call fcn.00426b50
add esp, 0xc
test al, al
jne 0x48bbd4
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x34]
mov edx, esi
inc eax
mov dword [esp + 0x8c], eax
mov eax, 0xffffffff
and ecx, eax
mov eax, 0x3ff
and ebx, eax
mov eax, ecx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x48]
or eax, ebx
movzx eax, byte [esp + 7]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x50]
mov edi, ebx
mov ebx, eax
mov eax, dword [esp + 0x44]
je 0x48b4d0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x10], 0x5ada48
mov dword [esp + 0x14], 2
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x58], 0x48be70
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], 0
push eax
push dword [esp + 0x3c]
push dword [esp + 0x10]
call fcn.00426b50
add esp, 0xc
test al, al
movzx eax, byte [esp + 7]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x48]
mov ebx, eax
mov eax, dword [esp + 0x44]
je 0x48b4d0
jmp 0x48bbd4
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x3c], 0
lea ecx, [edx + eax]
lea edx, [edx + eax + 2]
sub esi, dword [esp + 0x50]
mov ebx, ecx
inc cl
mov dword [esp + 0x4c], edx
mov byte [esp + 7], cl
mov ecx, 1
movzx eax, byte [esp + 7]
mov edx, eax
jmp 0x48b6f7
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0xa8]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], 0
mov byte [esp + 7], dl
mov ecx, 1
mov dword [esp + 0x4c], eax
mov eax, edx
jmp 0x48b6f7
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x5ad97c
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 0x5ac720
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
push eax
push dword [esp + 0x3c]
push dword [esp + 0x10]
call fcn.00426b50
add esp, 0xc
test al, al
jne 0x48bbd4
mov eax, dword [esp + 0x84]
mov ebx, dword [esp + 8]
mov edi, dword [esp + 0x38]
mov esi, dword [ebp + 8]
mov edx, dword [esp + 0x80]
cmp eax, dword [esp + 0x9c]
jne 0x48b217
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x5ad97c
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 0x5ac720
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
push eax
push edi
push ebx
call fcn.00426b50
add esp, 0xc
test al, al
jne 0x48bbd4
mov eax, esi
mov esi, edi
mov dword [esp + 8], ebx
mov edi, dword [eax + 0x24]
test edi, edi
je 0x48bb7a
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [eax]
mov dword [esp + 0x10], 0x5ad9dc
mov dword [esp + 0x14], 2
mov dword [esp + 0x54], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x64], 0x47edb0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], 0
push eax
push esi
push dword [esp + 0x10]
call fcn.00426b50
add esp, 0xc
test al, al
jne 0x48bbd4
cmp edi, 1
je 0x48bb7a
lea edi, [edi*4 - 4]
xor ebx, ebx
nop word cs:[eax + eax]
nop dword [eax + eax]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + ebx*4 + 4]
mov dword [esp + 0x10], 0x5ada00
mov dword [esp + 0x14], 3
mov dword [esp + 0x90], ebx
mov dword [esp + 0x54], eax
lea eax, [esp + 0x90]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x64], 0x47edb0
mov dword [esp + 0x68], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x6c], 0x47edb0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x20], 0
push eax
push esi
push dword [esp + 0x10]
call fcn.00426b50
add esp, 0xc
test al, al
jne 0x48bbd4
inc ebx
add edi, 0xfffffffc
jne 0x48bb00
mov eax, dword [esp + 0x9c]
lea edi, [esp + 0x60]
mov dword [esp + 0x10], 0x5ad994
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], 0
mov dword [esp + 0x54], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x64], 0x47edb0
push eax
push esi
mov ebx, dword [esp + 0x10]
push ebx
call fcn.00426b50
add esp, 0xc
test al, al
je 0x48bbe0
mov cl, 1
mov eax, ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x148]
mov dword [esp + 0x10], 0x5ad9b4
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], edi
lea edi, [esp + 0x10]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], 0
mov dword [esp + 0x54], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], 0x47edb0
push edi
push esi
push ebx
call fcn.00426b50
add esp, 0xc
test al, al
mov cl, 1
jne 0x48bbd6
mov dword [esp + 0x10], 0x5ad9c8
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 0x5ac720
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
push edi
push esi
push ebx
call fcn.00426b50
add esp, 0xc
mov ecx, eax
jmp 0x48bbd6
push 0x5ad910
push esi
push eax
call fcn.00425270
add esp, 0xc
ud2
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x7fffffff
push 0x5b1938
push 0x5ad108
lea eax, [esp + 0x18]
push eax
push 0x15
push str.invalid_StateID_value
call fcn.004254f0
add esp, 0x14
ud2
push 0x5ad900
push eax
push ecx
call fcn.00428850
add esp, 0xc
ud2
push 0x5ad900
push dword [esp + 0x84]
push eax
call fcn.004287f0
add esp, 0xc
ud2