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

Disassembly:
mov ecx, dword [esp + 0x10]
sub esp, 0x2e0
push ebx
push esi
xor esi, esi
cmp ecx, esi
mov ebx, eax
mov eax, dword [esp + 0x2ec]
je 0x4cca65
cmp eax, esi
jl 0x4cca65
cmp eax, 1
jg 0x4cca65
push ebp
push edi
call fcn.004b3910
mov ebp, eax
cmp ebp, esi
je 0x4cca63
mov eax, dword [ebp]
cmp eax, esi
mov ecx, dword [ebp + 4]
mov dword [esp + 0x80], eax
mov dword [esp + 0x78], ecx
je 0x4cca63
cmp ecx, esi
je 0x4cca63
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0x1f0]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0xf0]
rep stosd dword es:[edi], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x38], esi
call fcn.004730b0
movzx ax, al
mov word [esp + 0x48], ax
call fcn.00472ed0
movzx cx, al
mov word [esp + 0x84], cx
call fcn.0047f080
movzx cx, al
lea eax, [ebx - 0x13]
cmp eax, 0xe
mov edx, 3
mov dword [esp + 0x54], ecx
ja case.0x4cb6a0.21
movzx eax, byte [eax + 0x4cca90]
jmp dword [eax*4 + 0x4cca70]
movsx eax, cx
cmp eax, edx
mov edi, 1
mov dword [esp + 0x18], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edi
ja case.default.0x4cb6bf
jmp dword [eax*4 + 0x4ccaa0]
mov dword [esp + 0x10], esi
push 0x66004a
jmp 0x4cb6f8
mov dword [esp + 0x10], 1
push 0x66004b
jmp 0x4cb6f8
mov dword [esp + 0x10], 2
push 0x660049
jmp 0x4cb6f8
mov dword [esp + 0x10], edx
push 0x660048
call fcn.0085ce30
add esp, 4
mov esi, eax
cmp ebx, 0x13
jne 0x4cb70e
push 0x660016
jmp 0x4cb71b
mov dword [esp + 0x10], 4
push 0x660017
call fcn.0085ce30
add esp, 4
push eax
lea ecx, [esp + 0x1f4]
push esi
push ecx
call fcn.0043bcd5
push 0x190043
call fcn.0085ce30
mov edx, dword [esp + 0x308]
inc edx
push edx
mov ebx, eax
lea esi, [esp + 0x104]
call fcn.004cb570
add esp, 0x14
jmp 0x4cba05
mov edi, 1
push 0x190038
mov dword [esp + 0x1c], 0
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], 0xa
mov dword [esp + 0x14], 0xd
call fcn.0085ce30
push eax
lea eax, [esp + 0x1f8]
push eax
call fcn.0043bcd5
push 0x190043
call fcn.0085ce30
mov ecx, dword [esp + 0x308]
inc ecx
push ecx
mov ebx, eax
lea esi, [esp + 0x104]
call fcn.004cb570
add esp, 0x14
jmp 0x4cba05
mov edi, 1
push 0x190036
mov dword [esp + 0x1c], 0
mov dword [esp + 0x48], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], 8
mov dword [esp + 0x14], 0xe
call fcn.0085ce30
push eax
lea edx, [esp + 0x1f8]
push edx
call fcn.0043bcd5
push 0x190043
call fcn.0085ce30
mov ecx, dword [esp + 0x308]
inc ecx
push ecx
mov ebx, eax
lea esi, [esp + 0x104]
call fcn.004cb570
add esp, 0x14
jmp 0x4cba05
mov edi, 1
push 0x660046
mov dword [esp + 0x1c], esi
mov dword [esp + 0x48], edi
mov dword [esp + 0x38], 4
call fcn.0085ce30
add esp, 4
cmp ebx, 0x17
mov esi, eax
mov dword [esp + 0x38], 4
jne 0x4cb863
mov dword [esp + 0x10], 9
push 0x190064
jmp 0x4cb870
mov dword [esp + 0x10], 5
push 0x19002a
call fcn.0085ce30
add esp, 4
push eax
push esi
lea edx, [esp + 0x1f8]
push str._s__s
push edx
call fcn.0043bcd5
push 0x190043
call fcn.0085ce30
mov ecx, dword [esp + 0x30c]
inc ecx
push ecx
mov ebx, eax
lea esi, [esp + 0x108]
call fcn.004cb570
add esp, 0x18
jmp 0x4cba05
cmp dword [esp + 0x2fc], esi
je 0x4cb8c6
mov dword [esp + 0x18], 1
movsx eax, cx
xor edi, edi
cmp eax, edx
mov dword [esp + 0x34], 2
ja case.default.0x4cb8d7
jmp dword [eax*4 + 0x4ccab0]
mov dword [esp + 0x10], esi
push 0x66005f
jmp 0x4cb910
mov dword [esp + 0x10], 1
push 0x660060
jmp 0x4cb910
mov dword [esp + 0x10], 2
push 0x66005e
jmp 0x4cb910
mov dword [esp + 0x10], edx
push 0x66005d
call fcn.0085ce30
add esp, 4
mov esi, eax
cmp ebx, 0x1a
jne 0x4cb926
push 0x660016
jmp 0x4cb933
mov dword [esp + 0x10], 4
push 0x660017
call fcn.0085ce30
add esp, 4
push eax
lea edx, [esp + 0x1f4]
push esi
push edx
call fcn.0043bcd5
add esp, 0xc
jmp 0x4cba05
cmp dword [esp + 0x2fc], esi
je 0x4cb963
mov dword [esp + 0x18], 1
push 0x660046
xor edi, edi
mov dword [esp + 0x48], 1
mov dword [esp + 0x38], 4
mov dword [esp + 0x14], 6
call fcn.0085ce30
push 0x1a0040
mov esi, eax
call fcn.0085ce30
push eax
push esi
lea eax, [esp + 0x200]
push str._s__s
push eax
call fcn.0043bcd5
add esp, 0x18
jmp 0x4cba05
cmp dword [esp + 0x2fc], esi
je 0x4cb9bd
mov dword [esp + 0x18], 1
push 0x660045
xor edi, edi
mov dword [esp + 0x48], 1
mov dword [esp + 0x38], 6
mov dword [esp + 0x14], 5
call fcn.0085ce30
push eax
lea ecx, [esp + 0x1f8]
push ecx
call fcn.0043bcd5
add esp, 0xc
jmp 0x4cba05
mov edi, 1
mov dword [esp + 0x34], 0xc
mov dword [esp + 0x10], edx
xor eax, eax
xor esi, esi
cmp di, 1
mov word [esp + 0x24], ax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov word [esp + 0x30], ax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x64], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x14], esi
jne 0x4cbc11
cmp dword [esp + 0x38], esi
mov dword [esp + 0x74], esi
jle 0x4cc006
movsx edx, word [esp + 0x10]
mov dword [esp + 0x9c], edx
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x9c]
add eax, ecx
push eax
call fcn.0047ef40
mov cl, byte [eax + 7]
add esp, 4
test cl, cl
mov dword [esp + 0x98], eax
mov dword [esp + 0x3c], 0
jbe 0x4cbbf7
mov al, byte [esp + 0x74]
mov cl, byte [esp + 0x10]
mov ebx, dword [esp + 0x2f8]
add al, cl
mov byte [esp + 0x5c], al
jmp 0x4cbaa0
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x3c]
push edx
push 0
push esi
push ebx
call fcn.0046f0f0
movzx di, al
mov eax, dword [esp + 0x6c]
push eax
push 1
push esi
push ebx
call fcn.0046f0f0
movzx cx, al
push edi
mov word [esp + 0x84], cx
call fcn.00471a20
movsx esi, word [esp + 0xa8]
movzx edx, al
add esp, 0x24
cmp esi, edx
jne 0x4cbb57
push edi
call fcn.00471a80
mov ecx, dword [esp + 0x64]
movzx ax, al
push ecx
mov word [esp + 0x48], ax
call fcn.00471a80
movzx dx, al
push ebx
push edi
mov word [esp + 0x60], dx
call fcn.0046fe50
add esp, 0x10
cmp eax, 1
jne 0x4cbbd3
mov dword [esp + 0x14], eax
xor esi, esi
push esi
push ebx
push edi
call fcn.0046fd90
mov ecx, dword [esp + 0x6c]
push esi
movzx ax, al
push ebx
push ecx
mov word [esp + esi*2 + 0x40], ax
call fcn.0046fd90
movzx dx, al
add esp, 0x18
mov word [esp + esi*2 + 0x1c], dx
inc esi
cmp esi, 2
jl 0x4cbb23
jmp 0x4cbbdb
mov eax, dword [esp + 0x60]
push eax
call fcn.00471a20
movzx ecx, al
add esp, 4
cmp esi, ecx
jne 0x4cbbdb
push edi
call fcn.00471a80
mov esi, dword [esp + 0x64]
movzx dx, al
push esi
mov word [esp + 0x48], dx
call fcn.00471a80
movzx ax, al
push ebx
push esi
mov word [esp + 0x60], ax
call fcn.0046fe50
add esp, 0x10
cmp eax, 1
jne 0x4cbbd3
mov dword [esp + 0x14], eax
xor esi, esi
push esi
push ebx
push edi
call fcn.0046fd90
mov edx, dword [esp + 0x6c]
push esi
movzx cx, al
push ebx
push edx
mov word [esp + esi*2 + 0x40], cx
call fcn.0046fd90
movzx ax, al
add esp, 0x18
mov word [esp + esi*2 + 0x1c], ax
inc esi
cmp esi, 2
jl 0x4cbba2
jmp 0x4cbbdb
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x3c]
movzx edx, byte [ecx + 7]
inc eax
cmp eax, edx
mov dword [esp + 0x3c], eax
jl 0x4cbaa0
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x38]
inc eax
cmp eax, ecx
mov dword [esp + 0x74], eax
jl 0x4cba53
jmp 0x4cc006
mov eax, dword [esp + 0x10]
push eax
call fcn.00482320
mov dl, byte [eax + 5]
xor ecx, ecx
add esp, 4
test dl, dl
mov dword [esp + 0x5c], eax
mov dword [esp + 0x3c], ecx
jbe 0x4cc006
push ecx
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00482340
mov esi, eax
movzx edx, byte [esi]
mov eax, dword [esp + 0x300]
add esp, 8
cmp edx, eax
jne 0x4cbfed
movzx ax, byte [esi + 5]
movzx di, byte [esi + 6]
push eax
call fcn.004735c0
push edi
movzx bx, al
call fcn.004735c0
movzx cx, al
movsx eax, word [esp + 0x8c]
movzx edx, bx
add esp, 8
cmp eax, edx
je 0x4cbc90
movzx ecx, cx
cmp eax, ecx
jne 0x4cbfed
test byte [esi + 0x18], 1
jne 0x4cca63
xor edx, edx
mov dl, byte [esi + 5]
push edx
call fcn.00473620
xor ecx, ecx
mov cl, byte [esi + 6]
movzx ax, al
mov word [esp + 0x44], ax
push ecx
call fcn.00473620
mov ecx, dword [esi + 0x18]
mov ebx, dword [esp + 0x304]
movzx dx, al
mov eax, ecx
shr eax, 3
and eax, 1
add esp, 8
xor edi, edi
test cl, 0x20
mov word [esp + 0x50], dx
mov dword [esp + 0x7c], eax
je 0x4cbd1f
cmp ebx, edi
jne 0x4cbd1f
mov dword [esp + 0x14], 2
lea eax, [esi + 0x10]
xor ecx, ecx
mov edx, 5
jmp 0x4cbd00
movzx si, byte [eax - 5]
mov word [esp + ecx + 0x28], si
movzx si, byte [eax]
mov word [esp + ecx + 0x1c], si
inc eax
add ecx, 2
dec edx
jne 0x4cbd00
jmp 0x4cbe29
test cl, cl
jns 0x4cbd96
cmp ebx, 2
jne 0x4cbd96
mov dword [esp + 0x14], 4
lea eax, [esi + 9]
xor ecx, ecx
mov edx, ebx
jmp 0x4cbd40
movzx bx, byte [eax - 2]
mov word [esp + ecx + 0x6c], bx
movzx bx, byte [eax]
mov word [esp + ecx + 0x64], bx
inc eax
add ecx, 2
dec edx
jne 0x4cbd40
lea eax, [esi + 0x10]
xor ecx, ecx
mov edx, 5
jmp 0x4cbd70
movzx si, byte [eax - 5]
mov word [esp + ecx + 0x28], si
movzx si, byte [eax]
mov word [esp + ecx + 0x1c], si
inc eax
add ecx, 2
dec edx
jne 0x4cbd70
mov ebx, dword [esp + 0x2fc]
jmp 0x4cbe29
test cl, 0x40
je 0x4cbe1c
cmp ebx, 1
jne 0x4cbde6
lea ecx, [esi + 9]
mov dword [esp + 0x14], 5
mov dword [esp + 0x18], edi
xor eax, eax
mov esi, 2
lea ebx, [ebx]
movzx dx, byte [ecx - 2]
mov word [esp + eax + 0x6c], dx
mov word [esp + eax + 0x28], dx
movzx dx, byte [ecx]
mov word [esp + eax + 0x64], dx
mov word [esp + eax + 0x1c], dx
inc ecx
add eax, 2
dec esi
jne 0x4cbdc0
jmp 0x4cbe29
cmp ebx, 2
jne 0x4cbe29
mov dword [esp + 0x14], 3
lea eax, [esi + 9]
xor ecx, ecx
mov edx, ebx
lea ebx, [ebx]
movzx si, byte [eax - 2]
mov word [esp + ecx + 0x6c], si
movzx si, byte [eax]
mov word [esp + ecx + 0x64], si
inc eax
add ecx, 2
dec edx
jne 0x4cbe00
jmp 0x4cbe29
cmp ebx, 1
mov dword [esp + 0x14], edi
jne 0x4cbe29
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov cl, byte [eax + 9]
push ecx
call fcn.0048cfe0
mov ecx, dword [esp + 0x2fc]
add esp, 4
cmp ecx, 1
movzx ax, al
jne 0x4cbead
push 0x190042
call fcn.0085ce30
mov esi, eax
add esp, 4
cmp esi, edi
je 0x4cbf3f
xor eax, eax
mov ecx, 7
lea edi, [esp + 0xd0]
rep stosd dword es:[edi], eax
push 1
lea edx, [esp + 0xd4]
push 0x8850c4
push edx
stosw word es:[edi], ax
call fcn.0043bcd5
lea eax, [esp + 0xdc]
push eax
lea ecx, [esp + 0x100]
push esi
push ecx
call fcn.0043bcd5
mov ebx, dword [esp + 0x314]
add esp, 0x18
jmp 0x4cbf3f
movsx eax, ax
sub eax, ecx
cmp eax, 3
jl 0x4cbf18
push 0x190042
call fcn.0085ce30
mov esi, eax
add esp, 4
cmp esi, edi
je 0x4cbf3f
mov edx, dword [esp + 0x2f8]
xor eax, eax
mov ecx, 7
lea edi, [esp + 0xb0]
rep stosd dword es:[edi], eax
push edx
stosw word es:[edi], ax
lea eax, [esp + 0xb4]
push 0x8850c4
push eax
call fcn.0043bcd5
lea ecx, [esp + 0xbc]
push ecx
lea edx, [esp + 0x100]
push esi
push edx
call fcn.0043bcd5
mov ebx, dword [esp + 0x314]
add esp, 0x18
jmp 0x4cbf3f
cmp eax, edi
jl 0x4cbf3f
mov eax, dword [eax*4 + 0x8f196c]
push eax
call fcn.0085ce30
push eax
lea ecx, [esp + 0xf8]
push 0x87b728
push ecx
call fcn.0043bcd5
add esp, 0x10
cmp ebx, 2
jne 0x4cbf8f
push 0x19000b
call fcn.0085ce30
lea edi, [esp + 0xf4]
add esp, 4
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4cbf60
mov dx, word [0x87129c]
mov word [edi], dx
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4cbf74
lea edi, [esp + 0xf0]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4cbf85
jmp 0x4cbfdd
cmp ebx, 1
jne 0x4cbfed
push 0x19000a
call fcn.0085ce30
lea edi, [esp + 0xf4]
add esp, 4
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4cbfb0
mov cx, word [0x87129c]
mov word [edi], cx
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4cbfc4
lea edi, [esp + 0xf0]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4cbfd5
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x3c]
movzx eax, byte [edx + 5]
inc ecx
cmp ecx, eax
mov dword [esp + 0x3c], ecx
jl 0x4cbc33
mov edi, dword [esp + 0x40]
cmp word [esp + 0x48], di
jne 0x4cc015
mov edi, dword [esp + 0x50]
movsx ebx, word [esp + 0x44]
mov edx, dword [esp + 0x80]
shl ebx, 1
movzx ecx, word [ebx + str._b_t26_a_v_b_f_t_r_n]
push ecx
push edx
call fcn.0048f840
mov ecx, dword [esp + 0x308]
mov esi, dword [esp + 0x2fc]
push ecx
push eax
mov dword [ebp + esi*4 + 0x68], eax
call fcn.00463a10
movzx eax, word [ebx + 0x8f1984]
mov ecx, dword [ebp + esi*4 + 0x68]
lea edx, [esp + 0x200]
push edx
push eax
push ecx
call fcn.0048f970
movzx eax, word [ebx + 0x8f1988]
mov ecx, dword [ebp + esi*4 + 0x68]
lea edx, [esp + 0x10c]
push edx
push eax
push ecx
call fcn.0048f970
movzx edx, word [ebx + 0x8f198c]
mov eax, dword [ebp + esi*4 + 0x68]
push 0x87059c
push edx
push eax
call fcn.0048f970
push edi
call fcn.0047db00
movzx ecx, word [ebx + 0x8f1990]
mov edx, dword [ebp + esi*4 + 0x68]
push eax
push ecx
push edx
call fcn.0048f970
add esp, 0x44
cmp word [esp + 0x44], 1
jne 0x4cc1a8
push edi
call fcn.00472ef0
movzx di, al
push edi
call fcn.00471b90
movzx ax, al
push edi
mov word [esp + 0x54], ax
call fcn.00471bc0
movzx si, al
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0x1fc]
add esp, 0xc
cmp si, 1
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x54]
je 0x4cc101
mov edi, dword [esp + 0x48]
push 0x1a0061
call fcn.0085ce30
movsx ecx, si
inc ecx
push ecx
push eax
lea edx, [esp + 0x1fc]
push edx
call fcn.0043bcd5
mov esi, dword [esp + 0x304]
mov ecx, dword [ebp + esi*4 + 0x68]
lea eax, [esp + 0x200]
push eax
push 0x10
push ecx
call fcn.0048f970
movsx eax, di
add esp, 0x1c
cmp eax, 3
ja case.default.0x4cc144
jmp dword [eax*4 + 0x4ccac0]
push 0x66004a
call fcn.0085ce30
add esp, 4
jmp 0x4cc18c
push 0x66004b
call fcn.0085ce30
add esp, 4
jmp 0x4cc18c
push 0x660049
call fcn.0085ce30
add esp, 4
jmp 0x4cc18c
push 0x660048
call fcn.0085ce30
add esp, 4
jmp 0x4cc18c
mov eax, 0x87b728
mov edx, dword [ebp + esi*4 + 0x68]
push 0x87059c
push eax
push 0xf
push edx
call fcn.0048f9d0
mov esi, dword [esp + 0x304]
add esp, 0x10
mov eax, dword [ebp + esi*4 + 0x68]
push 1
push eax
call fcn.00463a00
movsx ecx, word [esp + 0x3c]
mov edx, dword [esp + 0x80]
push ecx
push edx
call fcn.0048f840
mov edx, dword [ebp + esi*4 + 0x68]
mov dword [ebp + esi*4 + 0x78], eax
xor eax, eax
mov ax, word [ebx + 0x8f1980]
lea ecx, [esp + 0xb0]
push eax
push ecx
push edx
call fcn.00463b00
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xc0]
lea edx, [esp + 0xa4]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xb0], 0
mov dword [esp + 0xac], 0
mov eax, dword [ebp + esi*4 + 0x78]
push edx
push eax
call fcn.00463a10
mov ecx, dword [ebp + esi*4 + 0x78]
push 1
push ecx
call fcn.00463a00
movsx edi, word [esp + 0x44]
movzx edx, word [edi*2 + 0x8f1994]
mov eax, dword [esp + 0xac]
push edx
push eax
call fcn.0048f840
mov dword [ebp + esi*4 + 0x70], eax
mov eax, dword [ebp + esi*4 + 0x68]
add ebx, edi
xor ecx, ecx
mov cx, word [ebx*2 + 0x8f19a8]
lea edx, [esp + 0xd4]
mov dword [esp + 0xac], ebx
push ecx
push edx
push eax
call fcn.00463b00
mov ecx, dword [esp + 0xe0]
mov edx, dword [esp + 0xe4]
add esp, 0x40
lea eax, [esp + 0x88]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x94], 0
mov dword [esp + 0x90], 0
mov ecx, dword [ebp + esi*4 + 0x70]
push eax
push ecx
call fcn.00463a10
mov edx, dword [ebp + esi*4 + 0x70]
push 1
push edx
call fcn.00463a00
add esp, 0x10
cmp word [esp + 0x40], 0xff
je 0x4cc31e
mov ebx, dword [esp + 0x40]
push ebx
call fcn.0047db50
mov ecx, dword [ebp + esi*4 + 0x70]
push eax
movzx eax, word [edi*2 + 0x8f1998]
push eax
push ecx
call fcn.0048f970
mov ecx, dword [ebp + esi*4 + 0x70]
xor edx, edx
mov dx, word [edi*2 + 0x8f19a0]
movsx eax, bx
push edx
push eax
push 1
push ecx
call fcn.0047afb0
add esp, 0x20
mov dword [ebp + esi*4 + 0x80], eax
mov ebx, dword [esp + 0x50]
cmp bx, 0xff
je 0x4cc368
push ebx
call fcn.0047db50
movzx edx, word [edi*2 + 0x8f199c]
push eax
mov eax, dword [ebp + esi*4 + 0x70]
push edx
push eax
call fcn.0048f970
mov eax, dword [ebp + esi*4 + 0x70]
xor ecx, ecx
mov cx, word [edi*2 + 0x8f19a4]
movsx edx, bx
push ecx
push edx
push 1
push eax
call fcn.0047afb0
add esp, 0x20
mov dword [ebp + esi*4 + 0x88], eax
movsx eax, word [esp + 0x14]
dec eax
cmp eax, 4
ja case.default.0x4cc377
jmp dword [eax*4 + 0x4ccad0]
movsx ecx, word [esp + 0x28]
mov edx, dword [ebp + esi*4 + 0x70]
push ecx
push 0x15
push edx
call fcn.0048f970
movsx eax, word [esp + 0x36]
mov ecx, dword [ebp + esi*4 + 0x70]
push eax
push 0x16
push ecx
call fcn.0048f970
mov edx, dword [esp + 0x42]
mov eax, dword [esp + 0x40]
lea edi, [edx + eax]
mov edx, dword [ebp + esi*4 + 0x70]
movsx ecx, di
push ecx
push 0x17
push edx
call fcn.0048f970
movsx eax, word [esp + 0x40]
mov ecx, dword [ebp + esi*4 + 0x70]
push eax
push 0x19
push ecx
call fcn.0048f970
movsx edx, word [esp + 0x4e]
mov eax, dword [ebp + esi*4 + 0x70]
push edx
push 0x1a
push eax
call fcn.0048f970
mov ecx, dword [esp + 0x5a]
mov edx, dword [esp + 0x58]
lea ebx, [ecx + edx]
mov ecx, dword [ebp + esi*4 + 0x70]
movsx eax, bx
push eax
push 0x18
push ecx
call fcn.0048f970
add esp, 0x48
cmp word [esp + 0x14], 1
je 0x4cc554
cmp word [esp + 0x14], 5
je 0x4cc554
cmp di, bx
je 0x4cc42d
mov edx, dword [ebp + esi*4 + 0x70]
push 0x87059c
push 0x13
push edx
jmp 0x4cc560
mov ax, word [esp + 0x30]
test ax, ax
jne 0x4cc4d2
cmp word [esp + 0x24], ax
jne 0x4cc4d2
mov eax, dword [ebp + esi*4 + 0x70]
push 0x87059c
push 0x1d
push eax
call fcn.0048f970
mov cx, word [esp + 0x3a]
add esp, 0xc
cmp cx, word [esp + 0x22]
jne 0x4cc47a
push 0x190071
call fcn.0085ce30
mov edx, dword [ebp + esi*4 + 0x70]
push eax
push 0x1b
push edx
jmp 0x4cc48c
push 0x190072
call fcn.0085ce30
push eax
mov eax, dword [ebp + esi*4 + 0x70]
push 0x1b
push eax
call fcn.0048f970
mov ecx, dword [esp + 0x3e]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x32]
lea edi, [edx + ecx]
mov ecx, dword [esp + 0x30]
movsx edx, di
add esp, 0x10
push edx
lea ebx, [ecx + eax]
mov eax, dword [ebp + esi*4 + 0x70]
push 0x1c
push eax
call fcn.0048f970
mov edx, dword [ebp + esi*4 + 0x70]
movsx ecx, bx
push ecx
push 0x1e
push edx
call fcn.0048f970
add esp, 0x18
jmp 0x4cc568
mov ecx, dword [ebp + esi*4 + 0x70]
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
movsx eax, ax
push eax
push 0x22
push ecx
call fcn.0048f970
mov eax, dword [ebp + esi*4 + 0x70]
movsx edx, bx
push edx
push 0x24
push eax
call fcn.0048f970
mov ecx, dword [ebp + esi*4 + 0x70]
push 0x87059c
push 0x23
push ecx
call fcn.0048f970
movsx eax, word [esp + 0x52]
movsx edx, word [esp + 0x50]
mov ecx, dword [ebp + esi*4 + 0x70]
add edx, eax
push edx
push 0x1f
push ecx
call fcn.0048f970
movsx eax, word [esp + 0x52]
movsx edx, word [esp + 0x50]
mov ecx, dword [ebp + esi*4 + 0x70]
add edx, eax
push edx
push 0x21
push ecx
call fcn.0048f970
push 0x190072
call fcn.0085ce30
mov edx, dword [ebp + esi*4 + 0x70]
add esp, 0x40
push eax
push 0x20
push edx
jmp 0x4cc560
mov eax, dword [ebp + esi*4 + 0x70]
push 0x87059c
push 0x13
push eax
call fcn.0048f970
add esp, 0xc
cmp word [esp + 0x14], 5
je 0x4cc5fc
cmp di, bx
jle 0x4cc5ba
push 0x1a0059
call fcn.0085ce30
mov ecx, dword [ebp + esi*4 + 0x70]
push eax
push 0x14
push ecx
call fcn.0048f970
mov edx, dword [eax + 0x10]
push 0x8f1978
push edx
call fcn.00464b90
push 0x1a005a
call fcn.0085ce30
push eax
mov eax, dword [ebp + esi*4 + 0x70]
push 0x25
push eax
call fcn.0048f970
jmp 0x4cca48
jge case.default.0x4cc377
push 0x1a005a
call fcn.0085ce30
mov ecx, dword [ebp + esi*4 + 0x70]
push eax
push 0x14
push ecx
call fcn.0048f970
push 0x1a0059
call fcn.0085ce30
mov edx, dword [ebp + esi*4 + 0x70]
push eax
push 0x25
push edx
call fcn.0048f970
mov eax, dword [eax + 0x10]
push 0x8f1978
push eax
jmp 0x4cca43
push 0x6a0000
call fcn.0085ce30
mov ecx, dword [ebp + esi*4 + 0x70]
push eax
push 0x14
push ecx
call fcn.0048f970
push 0x6a0002
call fcn.0085ce30
mov edx, dword [ebp + esi*4 + 0x70]
push eax
push 0x25
push edx
call fcn.0048f970
add esp, 0x20
jmp case.default.0x4cc377
push 0x6a0000
call fcn.0085ce30
push eax
mov eax, dword [ebp + esi*4 + 0x70]
push 0x2a
push eax
call fcn.0048f970
push 0x6a0002
call fcn.0085ce30
mov ecx, dword [ebp + esi*4 + 0x70]
push eax
push 0x35
push ecx
call fcn.0048f970
push 0x6a0002
call fcn.0085ce30
mov edx, dword [ebp + esi*4 + 0x70]
push eax
push 0x33
push edx
call fcn.0048f970
push 0x6a0000
call fcn.0085ce30
push eax
mov eax, dword [ebp + esi*4 + 0x70]
push 0x3e
push eax
call fcn.0048f970
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xae]
mov eax, dword [esp + 0x6a]
lea edi, [edx + ecx]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0xa4]
add eax, ecx
mov ecx, dword [esp + 0x5e]
mov word [esp + 0x8a], ax
mov eax, dword [esp + 0xa6]
lea ebx, [eax + edx]
mov edx, dword [esp + 0x5c]
add ecx, edx
add esp, 0x40
cmp word [esp + 0x7c], 0
mov word [esp + 0x48], di
mov word [esp + 0x54], bx
mov word [esp + 0x56], cx
je 0x4cc729
cmp word [esp + 0x14], 4
jne 0x4cc729
movsx edx, word [esp + 0x4a]
movsx eax, cx
movsx ecx, bx
add eax, ecx
movsx ecx, di
add edx, ecx
cmp edx, eax
jne 0x4cc729
mov edx, dword [ebp + esi*4 + 0x70]
push 0x87059c
push 0x32
push edx
call fcn.0048f970
mov eax, dword [ebp + esi*4 + 0x70]
push 0x87059c
push 0x36
push eax
call fcn.0048f970
add esp, 0x18
movsx ecx, word [esp + 0x6c]
mov edx, dword [ebp + esi*4 + 0x70]
push ecx
push 0x2c
push edx
call fcn.0048f970
movsx eax, word [esp + 0x7a]
mov ecx, dword [ebp + esi*4 + 0x70]
push eax
push 0x2d
push ecx
call fcn.0048f970
movsx edx, word [esp + 0x7c]
mov eax, dword [ebp + esi*4 + 0x70]
push edx
push 0x30
push eax
call fcn.0048f970
movsx ecx, word [esp + 0x8a]
mov edx, dword [ebp + esi*4 + 0x70]
push ecx
push 0x31
push edx
call fcn.0048f970
mov eax, dword [ebp + esi*4 + 0x70]
push 0x87059c
push 0x34
push eax
call fcn.0048f970
mov edx, dword [ebp + esi*4 + 0x70]
movsx ecx, di
push ecx
push 0x2e
push edx
call fcn.0048f970
mov ecx, dword [ebp + esi*4 + 0x70]
movsx eax, bx
add esp, 0x48
push eax
push 0x2f
push ecx
call fcn.0048f970
add esp, 0xc
cmp word [esp + 0x14], 4
jne case.default.0x4cc377
movsx edx, word [esp + 0x28]
mov eax, dword [ebp + esi*4 + 0x70]
push edx
push 0x37
push eax
call fcn.0048f970
movsx ecx, word [esp + 0x36]
mov edx, dword [ebp + esi*4 + 0x70]
push ecx
push 0x38
push edx
call fcn.0048f970
movsx eax, word [esp + 0x34]
mov ecx, dword [ebp + esi*4 + 0x70]
push eax
push 0x3b
push ecx
call fcn.0048f970
movsx edx, word [esp + 0x42]
mov eax, dword [ebp + esi*4 + 0x70]
push edx
push 0x3c
push eax
call fcn.0048f970
mov ecx, dword [ebp + esi*4 + 0x70]
push 0x87059c
push 0x3f
push ecx
call fcn.0048f970
movsx edx, word [esp + 0x86]
mov eax, dword [ebp + esi*4 + 0x70]
push edx
push 0x39
push eax
call fcn.0048f970
movsx ecx, word [esp + 0x9e]
mov edx, dword [ebp + esi*4 + 0x70]
add esp, 0x48
push ecx
push 0x3a
push edx
call fcn.0048f970
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x62]
mov eax, dword [esp + 0x56]
mov ecx, dword [esp + 0x54]
add esp, 0xc
add edi, edx
cmp word [esp + 0x7c], 0
lea ebx, [eax + ecx]
je 0x4cc86c
cmp bx, di
jne 0x4cc86c
lea ebx, [ecx + eax*2]
mov eax, dword [esp + 0x56]
lea edi, [eax + edx*2]
mov edx, dword [ebp + esi*4 + 0x70]
movsx ecx, bx
push ecx
push 0x40
push edx
call fcn.0048f970
mov ecx, dword [ebp + esi*4 + 0x70]
movsx eax, di
push eax
push 0x41
push ecx
call fcn.0048f970
add esp, 0x18
cmp bx, di
jne 0x4cc9c7
cmp word [esp + 0x24], 0
jne 0x4cc93c
cmp word [esp + 0x30], 0
jne 0x4cc93c
mov edx, dword [ebp + esi*4 + 0x70]
push 0x87059c
push 0x44
push edx
call fcn.0048f970
mov ax, word [esp + 0x3a]
add esp, 0xc
cmp ax, word [esp + 0x22]
jne 0x4cc8e4
push 0x190071
call fcn.0085ce30
mov ecx, dword [ebp + esi*4 + 0x70]
push eax
push 0x42
push ecx
jmp 0x4cc8f6
push 0x190072
call fcn.0085ce30
mov edx, dword [ebp + esi*4 + 0x70]
push eax
push 0x42
push edx
call fcn.0048f970
mov eax, dword [esp + 0x3e]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x32]
lea ebx, [ecx + eax]
mov eax, dword [esp + 0x30]
movsx ecx, bx
add esp, 0x10
push ecx
lea edi, [eax + edx]
mov edx, dword [ebp + esi*4 + 0x70]
push 0x43
push edx
call fcn.0048f970
mov ecx, dword [ebp + esi*4 + 0x70]
movsx eax, di
push eax
push 0x45
push ecx
call fcn.0048f970
add esp, 0x18
jmp 0x4cc9c4
mov ebx, dword [esp + 0x30]
mov eax, dword [ebp + esi*4 + 0x70]
mov edi, dword [esp + 0x24]
movsx edx, bx
push edx
push 0x49
push eax
call fcn.0048f970
mov edx, dword [ebp + esi*4 + 0x70]
movsx ecx, di
push ecx
push 0x4b
push edx
call fcn.0048f970
mov eax, dword [ebp + esi*4 + 0x70]
push 0x87059c
push 0x4a
push eax
call fcn.0048f970
movsx edx, word [esp + 0x52]
movsx ecx, word [esp + 0x50]
mov eax, dword [ebp + esi*4 + 0x70]
add ecx, edx
push ecx
push 0x46
push eax
call fcn.0048f970
movsx edx, word [esp + 0x52]
movsx ecx, word [esp + 0x50]
mov eax, dword [ebp + esi*4 + 0x70]
add ecx, edx
push ecx
push 0x48
push eax
call fcn.0048f970
push 0x190072
call fcn.0085ce30
mov ecx, dword [ebp + esi*4 + 0x70]
add esp, 0x40
push eax
push 0x47
push ecx
call fcn.0048f970
add esp, 0xc
cmp bx, di
jle 0x4cca07
push 0x1a0059
call fcn.0085ce30
mov edx, dword [ebp + esi*4 + 0x70]
push eax
push 0x28
push edx
call fcn.0048f970
mov eax, dword [eax + 0x10]
push 0x8f1978
push eax
call fcn.00464b90
push 0x1a005a
call fcn.0085ce30
mov ecx, dword [ebp + esi*4 + 0x70]
push eax
push 0x29
push ecx
call fcn.0048f970
jmp 0x4cca48
cmp bx, di
jge case.default.0x4cc377
push 0x1a005a
call fcn.0085ce30
mov edx, dword [ebp + esi*4 + 0x70]
push eax
push 0x28
push edx
call fcn.0048f970
push 0x1a0059
call fcn.0085ce30
push eax
mov eax, dword [ebp + esi*4 + 0x70]
push 0x29
push eax
call fcn.0048f970
mov ecx, dword [eax + 0x10]
push 0x8f1978
push ecx
call fcn.00464b90
add esp, 0x28
mov edx, dword [esp + 0x78]
fld dword [edx*4 + 0x8f19b0]
mov eax, dword [esp + 0x300]
fadd dword [eax + 4]
fstp dword [eax + 4]
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x2e0
ret