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

Disassembly:
sub esp, 0x44
movsx edx, word [0xdb9248]
push ebx
push ebp
mov ebp, dword [esp + 0x50]
movsx eax, byte [ebp + 0x61]
push esi
mov esi, dword [esp + 0x58]
mov ecx, dword [esi + 8]
xor ebx, ebx
push edi
mov edi, dword [ecx + eax*4 + 0x38]
inc eax
cmp edx, eax
mov dword [esp + 0x10], ebx
jne 0x810fe8
lea eax, [esp + 0x5c]
push eax
call fcn.0046b020
jmp 0x810ff2
lea ecx, [esp + 0x5c]
push ecx
call fcn.0046b040
add esp, 4
lea edx, [esp + 0x5c]
push edx
push edi
call fcn.00814fe0
mov al, byte [ebp + 0x5c]
add esp, 8
test al, al
je 0x811011
push 0x886868
jmp 0x811016
push 0x8dc668
push edi
call fcn.00579100
mov edx, dword [0xdb91fc]
add esp, 8
cmp edx, ebx
mov ecx, 1
jge 0x811032
mov dword [esp + 0x10], ecx
movsx edi, byte [ebp + 0x61]
movsx eax, word [0xdb9248]
inc edi
cmp eax, edi
jne 0x81173a
shl eax, 4
cmp dword [eax + 0x94de98], 0x812800
mov dword [0xdb9208], ebx
jne 0x81106f
mov eax, dword [eax + 0x94de9c]
mov cl, byte [eax + 0x5f]
test cl, cl
jge 0x81106f
mov cl, byte [eax + 0x62]
test cl, cl
je 0x8110c1
mov eax, dword [ebp + 0xc]
push 4
push ebx
push 0xd
push esi
call fcn.0080d570
mov eax, dword [ebp + 0x10]
push 4
push ebx
push 0x11
push esi
call fcn.0080d570
mov eax, dword [ebp + 0x14]
push 4
push ebx
push 0x15
push esi
call fcn.0080d570
mov eax, dword [ebp + 0x18]
push 4
push ebx
push 0x19
push esi
call fcn.0080d570
mov eax, dword [ebp + 0x2c]
add esp, 0x40
push 4
push ebx
push 0x1d
push esi
call fcn.0080d570
mov edx, dword [0xdb91fc]
add esp, 0x10
cmp dword [0xdb9204], ebx
je 0x81126f
movsx eax, word [ebp + 0x3a]
movsx eax, word [ebp + eax*2 + 0x3c]
lea ecx, [eax + eax*2]
cmp dword [ecx*4 + 0x8dc590], 0x810d10
je 0x81126f
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x184]
push 1
push eax
call fcn.00463a00
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x70]
lea ecx, [esp + 0x3c]
push ecx
push eax
call fcn.0085f3b0
mov eax, dword [esi + 4]
xor ecx, ecx
mov cx, word [0xdb924a]
add cx, 0x84
lea edx, [esp + 0x34]
push ecx
mov ecx, dword [eax + 0xa4]
push edx
push ecx
call fcn.00463b00
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x50], edx
mov edx, dword [esi + 4]
lea ecx, [esp + 0x50]
mov dword [esp + 0x54], eax
mov eax, dword [edx + 0x70]
push ecx
push eax
call fcn.00463a10
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x74]
lea ecx, [esp + 0x58]
push ecx
push eax
call fcn.0085f3b0
mov eax, dword [esi + 4]
xor ecx, ecx
mov cx, word [0xdb924a]
add cx, 0x8b
lea edx, [esp + 0x50]
push ecx
mov ecx, dword [eax + 0xa8]
push edx
push ecx
call fcn.00463b00
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x6c], edx
mov edx, dword [esi + 4]
lea ecx, [esp + 0x6c]
mov dword [esp + 0x70], eax
mov eax, dword [edx + 0x74]
push ecx
push eax
call fcn.00463a10
movsx ecx, word [0xdb924a]
add esp, 0x40
push 3
inc ecx
push ecx
push 0x60
mov ebx, 0xe8
mov edi, 0x5f
call fcn.0080d7f0
add esp, 0xc
xor ebx, ebx
mov edi, 0x58
mov edi, edi
cmp dword [0xdb9204], 3
mov ax, word [0xdb924a]
jl 0x8111f2
movsx edx, ax
cmp edx, ebx
je 0x8111f2
lea eax, [esp + 0x5c]
push eax
call fcn.0046b060
jmp 0x81120f
movsx ecx, ax
cmp ebx, ecx
jne 0x811205
lea edx, [esp + 0x5c]
push edx
call fcn.0046b020
jmp 0x81120f
lea eax, [esp + 0x5c]
push eax
call fcn.0046b040
mov edx, dword [esi + 8]
mov eax, dword [edi + edx]
add esp, 4
lea ecx, [esp + 0x5c]
push ecx
push eax
call fcn.00814fe0
add esp, 8
add edi, 4
inc ebx
cmp edi, 0x70
jl 0x8111d0
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0x6c]
push 1
push edx
call fcn.00463a00
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x14]
push 4
push ecx
call fcn.004639d0
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x18]
push 0
push eax
call fcn.00463a00
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0x40]
push 0
push edx
call fcn.00463a00
add esp, 0x20
jmp 0x81148e
cmp edx, 2
jl 0x8115f9
cmp dword [0xdb9200], 2
jl 0x81129e
movsx eax, word [ebp + 0x3a]
movsx eax, word [ebp + eax*2 + 0x3c]
lea ecx, [eax + eax*2]
cmp dword [ecx*4 + 0x8dc590], 0x810860
je 0x8115f9
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x14]
push 1
push eax
call fcn.004639d0
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x70]
lea ecx, [esp + 0x3c]
push ecx
push eax
call fcn.0085f3b0
movsx ecx, word [ebp + 0x3a]
xor edx, edx
mov dx, word [ebp + ecx*2 + 0x3c]
mov ecx, dword [esi + 4]
add dx, 0x5e
lea eax, [esp + 0x34]
push edx
mov edx, dword [ecx + 0x9c]
push eax
push edx
call fcn.00463b00
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 4]
lea edx, [esp + 0x50]
mov dword [esp + 0x54], ecx
mov ecx, dword [eax + 0x70]
push edx
push ecx
call fcn.00463a10
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x74]
lea edx, [esp + 0x58]
push edx
push ecx
call fcn.0085f3b0
movsx edx, word [ebp + 0x3a]
xor eax, eax
mov ax, word [ebp + edx*2 + 0x3c]
mov edx, dword [esi + 4]
add ax, 0x7b
lea ecx, [esp + 0x50]
push eax
mov eax, dword [edx + 0x84]
push ecx
push eax
call fcn.00463b00
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esi + 4]
lea eax, [esp + 0x6c]
mov dword [esp + 0x70], edx
mov edx, dword [ecx + 0x74]
push eax
push edx
call fcn.00463a10
movsx eax, word [ebp + 0x3a]
movsx ecx, word [ebp + eax*2 + 0x3c]
add esp, 0x40
push 0
inc ecx
push ecx
push 0x60
mov ebx, 0xe5
mov edi, 0x5f
call fcn.0080d7f0
mov edx, dword [esi + 8]
mov eax, dword [edx + 0xc]
push 0
push eax
call fcn.00814fc0
mov edi, 0x10
mov eax, 0x8dc624
add esp, 0x14
sub eax, edi
mov dword [esp + 0x58], 0
mov ebx, 0x8dc594
mov dword [esp + 0x14], eax
cmp edi, 0x30
jae 0x811435
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + edi]
mov eax, dword [esi + 8]
mov ecx, dword [edi + eax]
push edx
push ecx
call fcn.00579170
movsx edx, word [0xdb9248]
push edx
call dword [ebx]
add esp, 0xc
cmp eax, 1
jne 0x8113df
cmp dword [0xdb9200], 2
jl 0x8113ee
movsx eax, word [ebp + 0x3a]
movsx ecx, word [ebp + eax*2 + 0x3c]
cmp dword [esp + 0x58], ecx
jne 0x811415
movsx edx, word [ebp + 0x3a]
movsx eax, word [ebp + edx*2 + 0x3c]
cmp dword [esp + 0x58], eax
jne 0x811409
lea ecx, [esp + 0x5c]
push ecx
call fcn.0046b020
jmp 0x81141f
lea edx, [esp + 0x5c]
push edx
call fcn.0046b040
jmp 0x81141f
lea eax, [esp + 0x5c]
push eax
call fcn.0046b060
mov edx, dword [esi + 8]
mov eax, dword [edi + edx]
add esp, 4
lea ecx, [esp + 0x5c]
push ecx
push eax
call fcn.00814fe0
jmp 0x811443
mov ecx, dword [esi + 8]
mov edx, dword [edi + ecx]
push 0
push edx
call fcn.00814fc0
mov eax, dword [esp + 0x60]
add esp, 8
inc eax
add edi, 4
add ebx, 0xc
cmp edi, 0x38
mov dword [esp + 0x58], eax
jb 0x8113a7
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x130]
push 1
push ecx
call fcn.00463a00
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x40]
push 0
push eax
call fcn.00463a00
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0x14]
push 3
push edx
call fcn.004639d0
add esp, 0x18
movsx eax, word [ebp + 0x3a]
movsx eax, word [ebp + eax*2 + 0x3c]
lea ecx, [eax + eax*2]
mov eax, dword [ecx*4 + 0x8dc598]
test eax, eax
je 0x8114ac
push esi
push ebp
call eax
add esp, 8
mov eax, dword [esp + 0x10]
test eax, eax
je 0x81188a
movzx dx, byte [ebp + 0x5d]
movsx eax, byte [ebp + 0x61]
mov ecx, dword [esi + 4]
push edx
mov edx, dword [ecx + eax*4 + 0x20]
push edx
call fcn.004639d0
movsx eax, byte [ebp + 0x61]
mov ecx, dword [esi + 4]
mov edx, dword [ecx + eax*4 + 0x20]
push 1
push edx
call fcn.00463a00
mov eax, dword [0xdb9200]
add esp, 0x10
cmp eax, 2
jl 0x811768
movsx eax, word [ebp + 0x3a]
movsx eax, word [ebp + eax*2 + 0x3c]
lea ecx, [eax + eax*2]
cmp dword [ecx*4 + 0x8dc590], 0x810860
jne 0x811768
xor edi, edi
movzx edx, word [edi + 0x8dc648]
mov eax, dword [esi + 8]
mov ecx, dword [eax + edx*4]
push 0
push ecx
call fcn.00814fc0
add edi, 8
add esp, 8
cmp edi, 0x18
jb 0x811512
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x78]
lea edx, [esp + 0x34]
push edx
push ecx
call fcn.0085f3b0
mov edx, dword [0xdb9248]
mov ecx, dword [esi + 4]
add edx, 0x5d
push edx
mov edx, dword [ecx + 0x9c]
lea eax, [esp + 0x30]
push eax
push edx
call fcn.00463b00
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 4]
lea edx, [esp + 0x48]
mov dword [esp + 0x4c], ecx
mov ecx, dword [eax + 0x78]
push edx
push ecx
call fcn.00463a10
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x7c]
lea edx, [esp + 0x50]
push edx
push ecx
call fcn.0085f3b0
mov edx, dword [0xdb9248]
mov ecx, dword [esi + 4]
add edx, 0x7a
push edx
mov edx, dword [ecx + 0x84]
lea eax, [esp + 0x4c]
push eax
push edx
call fcn.00463b00
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 4]
lea edx, [esp + 0x64]
mov dword [esp + 0x68], ecx
mov ecx, dword [eax + 0x7c]
push edx
push ecx
call fcn.00463a10
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x78]
push 1
push eax
call fcn.00463a00
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0x7c]
add esp, 0x40
push 1
push edx
call fcn.00463a00
add esp, 8
jmp 0x8117f0
cmp edx, ebx
jl 0x8114ac
cmp word [ebp + 0x38], 0
mov dword [esp + 0x10], 1
je 0x8116d5
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x70]
lea edx, [esp + 0x34]
push edx
push ecx
call fcn.0085f3b0
mov edx, dword [0xdb9248]
mov ecx, dword [esi + 4]
add edx, 0x72
push edx
mov edx, dword [ecx + 0x80]
lea eax, [esp + 0x30]
push eax
push edx
call fcn.00463b00
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 4]
lea edx, [esp + 0x48]
mov dword [esp + 0x4c], ecx
mov ecx, dword [eax + 0x70]
push edx
push ecx
call fcn.00463a10
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x74]
lea edx, [esp + 0x50]
push edx
push ecx
call fcn.0085f3b0
mov edx, dword [0xdb9248]
mov ecx, dword [esi + 4]
add edx, 0x7a
push edx
mov edx, dword [ecx + 0x84]
lea eax, [esp + 0x4c]
push eax
push edx
call fcn.00463b00
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 4]
lea edx, [esp + 0x64]
mov dword [esp + 0x68], ecx
mov ecx, dword [eax + 0x74]
push edx
push ecx
call fcn.00463a10
movsx edx, word [0xdb9248]
push 2
dec edx
push edx
push 0x60
mov ebx, 0xe7
mov edi, 0x5f
call fcn.0080d7f0
add esp, 0x44
jmp 0x8116f4
movsx eax, word [0xdb9248]
push 1
dec eax
push eax
push 0x60
mov ebx, 0xe6
mov edi, 0x5f
call fcn.0080d7f0
add esp, 0xc
cmp dword [0xdb9200], 2
jl 0x8114b8
movsx ecx, word [ebp + 0x3a]
movsx eax, word [ebp + ecx*2 + 0x3c]
lea eax, [eax + eax*2]
shl eax, 2
cmp dword [eax + 0x8dc590], 0x810860
jne 0x8114b8
mov eax, dword [eax + 0x8dc598]
test eax, eax
je 0x8114b8
push esi
push ebp
call eax
add esp, 8
jmp 0x8114b8
shl eax, 4
cmp dword [eax + 0x94de98], 0x812800
jne 0x81175f
cmp edx, 2
jge 0x8114ac
mov dword [esp + 0x10], 1
jmp 0x8114b8
mov dword [esp + 0x10], ecx
jmp 0x8114b8
xor edi, edi
lea ebx, [ebx]
movsx eax, word [0xdb9248]
movzx ecx, word [edi + 0x8dc648]
add eax, 3
cmp ecx, eax
jne 0x811791
lea edx, [esp + 0x14]
push edx
call fcn.0046b020
jmp 0x81179b
lea eax, [esp + 0x14]
push eax
call fcn.0046b040
movzx edx, word [edi + 0x8dc648]
mov eax, dword [esi + 8]
add esp, 4
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [eax + edx*4]
push ecx
call fcn.00814fe0
mov edx, dword [edi + 0x8dc644]
movzx eax, word [edi + 0x8dc648]
mov ecx, dword [esi + 8]
push edx
mov edx, dword [ecx + eax*4]
push edx
call fcn.00579170
movzx eax, word [edi + 0x8dc648]
mov ecx, dword [esi + 8]
mov edx, dword [ecx + eax*4]
push 1
push edx
call fcn.00814fc0
add edi, 8
add esp, 0x18
cmp edi, 0x18
jb 0x811770
xor ebx, ebx
mov edi, 0x10
jmp 0x811800
movsx ecx, word [0xdb9248]
lea eax, [ebx + 1]
cmp ecx, eax
mov dword [esp + 0x18], eax
jne 0x81181e
lea edx, [esp + 0x14]
push edx
call fcn.0046b020
jmp 0x811828
lea eax, [esp + 0x14]
push eax
call fcn.0046b040
mov edx, dword [esi + 8]
add esp, 4
add bl, 0x31
lea ecx, [esp + 0x14]
mov byte [esp + 0x58], bl
mov byte [esp + 0x59], 0
mov eax, dword [edx + edi]
push ecx
push eax
call fcn.00814fe0
mov edx, dword [esi + 8]
mov eax, dword [edx + edi]
lea ecx, [esp + 0x60]
push ecx
push eax
call fcn.00579100
mov ebx, dword [esp + 0x28]
add edi, 4
add esp, 0x10
cmp edi, 0x30
jl 0x811800
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x2c]
push 1
push edx
call fcn.00814fc0
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x150]
push 1
push ecx
call fcn.00463a00
add esp, 0x10
movsx edx, byte [ebp + 0x61]
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + edx*4 + 0x258]
mov edx, dword [ecx + 0x10]
push 0
push edx
call fcn.00462bf0
mov edi, eax
movsx eax, byte [ebp + 0x61]
add esp, 8
inc eax
shl eax, 4
cmp dword [eax + 0x94de98], 0x812800
jne 0x8118d4
mov eax, dword [eax + 0x94de9c]
mov cl, byte [eax + 0x5f]
test cl, cl
jge 0x8118d4
mov cl, byte [eax + 0x62]
test cl, cl
je 0x811bd3
mov eax, dword [esp + 0x10]
test eax, eax
je 0x811a5f
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0xbc]
push 0x96
lea eax, [esp + 0x28]
push eax
push edx
call fcn.00463b00
mov al, byte [ebp + 0x5f]
add esp, 0xc
cmp al, 0xff
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
je 0x81197f
movsx ecx, al
movsx eax, byte [ebp + 0x60]
test eax, eax
jge 0x811924
xor eax, eax
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8]
cdq
mov ecx, 0x1e
idiv ecx
mov ebx, 6
mov word [esp + 0x20], 0x29
mov word [esp + 0x22], 0x30
mov ecx, eax
mov eax, edx
cdq
idiv ebx
add ecx, 0x4e2e
push ecx
push edi
imul edx, edx, 0x29
mov word [esp + 0x24], dx
lea edx, [eax + eax*2]
shl edx, 4
mov word [esp + 0x26], dx
call fcn.0081bf90
lea eax, [esp + 0x24]
push eax
push edi
call fcn.00465b50
add esp, 0x10
jmp 0x811a0b
mov al, byte [ebp + 0x62]
lea ecx, [ebp + 0x62]
xor edx, edx
test al, al
je 0x8119a4
jmp 0x811990
and al, 0xc0
cmp al, 0x80
je 0x811997
inc edx
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x811990
cmp edx, 3
jg 0x8119c8
mov ecx, dword [ebp + 8]
xor edx, edx
mov dl, byte [ecx + 0x8dc584]
lea eax, [ebp + 0x90]
push edx
call fcn.0080d6e0
movsx eax, ax
mov dword [esp + 0x5c], eax
fild dword [esp + 0x5c]
jmp 0x8119ea
mov ecx, dword [ebp + 8]
xor edx, edx
mov dl, byte [ecx + 0x8dc584]
lea eax, [ebp + 0x90]
push edx
call fcn.0080d6e0
movsx eax, ax
mov dword [esp + 0x5c], eax
fild dword [esp + 0x5c]
mov ecx, dword [ebp + 4]
fstp dword [esp + 0x30]
mov edx, dword [ecx + 0xc]
push edx
push edi
call fcn.00465f10
mov eax, dword [ebp + 4]
add eax, 0x1c
push eax
push edi
call fcn.00465a20
add esp, 0x14
mov ecx, dword [ebp + 0x58]
lea edx, [esp + 0x5c]
push edx
mov dword [esp + 0x60], ecx
push edi
mov byte [esp + 0x67], 0xff
call fcn.00465950
movsx eax, byte [ebp + 0x61]
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx + eax*4 + 0x258]
push 1
push edx
call fcn.00466ad0
lea eax, [esp + 0x34]
push eax
push edi
call fcn.004655b0
push 1
push edi
call fcn.004654b0
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0xbc]
push 1
push edx
call fcn.00463a00
add esp, 0x28
movsx edi, byte [ebp + 0x61]
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + edi*4 + 0xac]
mov edx, dword [ecx + 0x10]
add edi, 0x2b
push 0
push edx
call fcn.00462bf0
mov ebx, eax
mov al, byte [ebp + 0x5f]
add esp, 8
cmp al, 0xff
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
je 0x811abf
mov al, byte [ebp + 0x61]
movsx cx, al
movsx eax, al
lea edx, [esp + 0x24]
add ecx, 0x2b
push ecx
mov ecx, dword [esi + 4]
push edx
mov edx, dword [ecx + eax*4 + 0x4c]
push edx
call fcn.00463b00
add esp, 0xc
jmp 0x811b34
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x8dc584]
lea eax, [ebp + 0x62]
push ecx
mov dword [esp + 0x18], ecx
call fcn.0080d6e0
movsx ecx, ax
mov dword [esp + 0x1c], ecx
lea edx, [esp + 0x5c]
push edx
fild dword [esp + 0x20]
lea eax, [ebp + 0x62]
push eax
mov eax, dword [esp + 0x20]
fmul dword [0x870774]
push eax
fstp dword [esp + 0x3c]
call fcn.004650f0
movzx ecx, byte [esp + 0x68]
mov dword [esp + 0x68], ecx
add esp, 0x10
fild dword [esp + 0x58]
fmul dword [0x870774]
fstp dword [esp + 0x30]
fld dword [esp + 0x2c]
fmul dword [0x879dc4]
fstp dword [esp + 0x24]
fld dword [esp + 0x30]
fmul dword [0x879dc4]
fstp dword [esp + 0x28]
movsx eax, byte [ebp + 0x61]
push ebp
push esi
lea edx, [esp + 0x4c]
push edx
add eax, 0x13
push eax
push ebx
mov eax, edi
mov dword [esp + 0x5c], 0x3f800000
mov dword [esp + 0x58], 0x3f800000
call fcn.0080fef0
mov al, byte [ebp + 0x5c]
add esp, 0x14
test al, al
jne 0x811b70
push 0
push ebx
call fcn.004654b0
add esp, 8
movsx ecx, byte [ebp + 0x61]
mov edx, dword [esi + 0xc]
mov eax, dword [edx + ecx*4 + 0x2e8]
mov ecx, dword [eax + 0x10]
push 0
push ecx
call fcn.00462bf0
movsx ecx, byte [ebp + 0x61]
push ebp
mov edi, eax
push esi
lea edx, [esp + 0x54]
push edx
lea eax, [ecx + 0xba]
add ecx, 0x44
push ecx
push edi
mov dword [esp + 0x64], 0x3f800000
mov dword [esp + 0x60], 0x3f800000
mov dword [esp + 0x68], 0xbf800000
call fcn.0080fef0
mov al, byte [ebp + 0x5c]
add esp, 0x1c
test al, al
jne 0x811bd3
push 0
push edi
call fcn.004654b0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret