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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x50
mov eax, dword [0x1325100]
mov ecx, dword [eax + 0x3f0]
push ebx
push ebp
xor ebx, ebx
cmp ecx, ebx
push esi
push edi
je 0x4d70ea
call fcn.004b20c0
mov ecx, dword [0x1325100]
mov eax, dword [ecx + 0x3f0]
mov edx, dword [0x1308a80]
mov ecx, dword [edx + 0x20]
shl eax, 2
cmp ecx, eax
mov dword [esp + 0x48], eax
jge 0x4d63f1
fild dword [esp + 0x48]
push ecx
fstp dword [esp]
jmp 0x4d63fe
cmp ecx, 0xffff
jle 0x4d640b
push 0x477fff00
push str.ter_maxtris
call fcn.0044fa70
add esp, 8
mov eax, dword [0x1308a80]
mov ecx, dword [eax + 0x20]
push ecx
push str.Using_ter_maxtris___d_n
call fcn.0044ce60
mov eax, dword [0x1308a80]
mov edx, dword [eax + 0x20]
lea ecx, [edx + edx + 1]
mov dword [0xc044d4], ecx
mov eax, dword [eax + 0x20]
inc eax
mov dword [0xc044f0], eax
imul eax, eax, 0x38
lea esi, [ecx + ecx*4]
shl esi, 3
mov edi, eax
push esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], edi
call dword [0x1325014]
push edi
mov dword [0xc047dc], eax
call dword [0x1325014]
mov ecx, dword [0xc044d4]
mov edx, dword [0xc044f0]
mov dword [0xc047e0], eax
lea eax, [ecx - 1]
add esp, 0x10
mov ebp, 1
mov dword [0x1308a38], eax
dec edx
xor eax, eax
cmp ecx, ebx
mov dword [0x1308a30], ebp
mov dword [0x1308a50], ebp
mov dword [0x1308a58], edx
jle 0x4d64cf
xor ecx, ecx
nop
lea esp, [esp]
mov ebp, dword [0xc047dc]
lea edx, [eax - 1]
mov word [ecx + ebp + 0x24], dx
mov ebp, dword [0xc047dc]
lea edx, [eax + 1]
mov word [ecx + ebp + 0x26], dx
mov edx, dword [0xc044d4]
inc eax
add ecx, 0x28
cmp eax, edx
jl 0x4d64a0
mov ebp, 1
mov ecx, dword [0xc047dc]
mov word [ecx + 0x24], bx
lea edx, [eax + eax*4]
mov eax, dword [0xc047dc]
mov word [eax + edx*8 - 2], bx
mov ecx, dword [0xc044f0]
xor eax, eax
cmp ecx, ebx
jle 0x4d6523
xor ecx, ecx
mov ebp, dword [0xc047e0]
lea edx, [eax - 1]
mov word [ecx + ebp + 0x36], dx
mov ebp, dword [0xc047e0]
lea edx, [eax + 1]
mov word [ecx + ebp + 0x34], dx
mov edx, dword [0xc044f0]
inc eax
add ecx, 0x38
cmp eax, edx
jl 0x4d64f4
mov ebp, 1
mov ecx, dword [0xc047e0]
imul eax, eax, 0x38
mov word [ecx + 0x36], bx
mov edx, dword [0xc047e0]
mov word [eax + edx - 4], bx
mov ecx, dword [0x1325100]
mov eax, dword [ecx + 0x3f4]
xor edx, edx
cmp dword [ecx + 0x3f0], ebx
jle 0x4d657d
add eax, 8
mov word [eax - 2], bx
mov word [eax], bx
mov word [eax + 2], bx
mov word [eax - 4], bx
mov dword [eax + 8], ebx
mov dword [eax + 4], ebx
mov ecx, dword [0x1325100]
add eax, 0x2e0
inc edx
cmp edx, dword [ecx + 0x3f0]
jl 0x4d6554
mov ecx, dword [ecx + 0x3f0]
mov eax, ecx
imul eax, eax, 0x2e0
lea edx, [eax + edi]
add edx, esi
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ebx
sub esp, 8
fild qword [esp + 0x60]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ebx
fmul qword [0x537c00]
fstp qword [esp]
push ecx
fild qword [esp + 0x64]
sub esp, 0x18
fmul qword [0x537c00]
fstp qword [esp + 0x10]
fild dword [esp + 0x6c]
fmul qword [0x537c00]
fstp qword [esp + 8]
fild dword [esp + 0x68]
fmul qword [0x537c00]
fstp qword [esp]
push str.Terrain:__.2f_MB_tris___.2f_MB_verts___.2f_MB_in__d_patches___.2f_MB_total_n
call fcn.0044ce60
mov eax, dword [0x1325100]
mov ecx, dword [eax + 0x3f0]
mov esi, dword [eax + 0x3f4]
add esp, 0x28
cmp ecx, ebp
mov dword [esp + 0x48], ebp
jl 0x4d70ea
mov eax, dword [esi + 0x54]
mov edx, dword [esi + 0x5c]
mov ecx, dword [esi + 0x58]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x60]
fld dword [esp + 0x14]
mov dword [esp + 0x1c], edx
fcomp dword [esp + 0x1c]
mov edx, dword [esi + 0x68]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x6c]
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0x64]
mov dword [esp + 0x2c], eax
fnstsw ax
mov dword [esp + 0x24], ecx
test ah, 5
mov ecx, dword [esi + 0x70]
mov dword [esi], 0xc
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov word [esi + 6], bx
mov word [esi + 8], bx
mov word [esi + 4], bx
mov dword [esp + 0x28], edx
mov dword [esp + 0x3c], ecx
jp 0x4d666c
fld dword [esp + 0x14]
jmp 0x4d6670
fld dword [esp + 0x1c]
fld dword [esp + 0x24]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 5
jp 0x4d6685
fld dword [esp + 0x24]
jmp 0x4d6689
fld dword [esp + 0x2c]
fxch st(1)
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 5
jp 0x4d66b1
fld dword [esp + 0x14]
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 5
jp 0x4d66ab
fld dword [esp + 0x14]
jmp 0x4d66ca
fld dword [esp + 0x1c]
jmp 0x4d66ca
fld dword [esp + 0x24]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 5
jp 0x4d66c6
fld dword [esp + 0x24]
jmp 0x4d66ca
fld dword [esp + 0x2c]
sub esp, 8
fstp qword [esp]
call fcn.0051c003
fstp dword [esp + 0x40]
add esp, 8
fld dword [esp + 0x18]
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 5
jp 0x4d66f1
fld dword [esp + 0x18]
jmp 0x4d66f5
fld dword [esp + 0x20]
fld dword [esp + 0x28]
fcomp dword [esp + 0x3c]
fnstsw ax
test ah, 5
jp 0x4d670a
fld dword [esp + 0x28]
jmp 0x4d670e
fld dword [esp + 0x3c]
fxch st(1)
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 5
jp 0x4d6736
fld dword [esp + 0x18]
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 5
jp 0x4d6730
fld dword [esp + 0x18]
jmp 0x4d674f
fld dword [esp + 0x20]
jmp 0x4d674f
fld dword [esp + 0x28]
fcomp dword [esp + 0x3c]
fnstsw ax
test ah, 5
jp 0x4d674b
fld dword [esp + 0x28]
jmp 0x4d674f
fld dword [esp + 0x3c]
sub esp, 8
fstp qword [esp]
call fcn.0051c003
fld dword [esp + 0x1c]
mov ecx, dword [0x1308a30]
fsub dword [esp + 0x40]
mov edi, dword [0xc047dc]
lea eax, [ecx + ecx*4]
shl eax, 3
fstp dword [esp + 0x1c]
movzx edx, word [eax + edi + 0x26]
fld dword [esp + 0x24]
mov dword [0x1308a30], edx
fsub dword [esp + 0x40]
lea edx, [edx + edx*4]
mov word [edi + edx*8 + 0x24], bx
mov dx, word [esi + 8]
fstp dword [esp + 0x24]
mov edi, dword [0xc047dc]
fld dword [esp + 0x2c]
mov word [eax + edi + 0x24], dx
fsub dword [esp + 0x40]
mov edx, dword [0xc047dc]
mov word [eax + edx + 0x26], bx
movzx edx, word [esi + 8]
fstp dword [esp + 0x2c]
fld dword [esp + 0x34]
fsub dword [esp + 0x40]
mov edi, dword [0xc047dc]
lea edx, [edx + edx*4]
mov word [edi + edx*8 + 0x26], cx
fstp dword [esp + 0x34]
add esp, 8
cmp word [esi + 6], bx
fld dword [esp + 0x18]
fsub st(1)
mov dword [esp + 0x58], ecx
mov dword [esp + 0x4c], eax
mov word [esi + 8], cx
fstp dword [esp + 0x18]
fld dword [esp + 0x20]
fsub st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x28]
fsub st(1)
fstp dword [esp + 0x28]
fsubr dword [esp + 0x3c]
jne 0x4d6816
mov word [esi + 6], cx
inc dword [esi + 0x10]
mov ebp, dword [0x1308a38]
mov ecx, dword [0xc047dc]
dec ebp
mov dword [0x1308a38], ebp
mov byte [eax + ecx + 0x17], 4
mov edx, dword [0xc047dc]
mov dword [eax + edx + 8], ebx
mov dword [esi + 0x48], ebx
mov ecx, dword [0x1308a30]
mov edi, dword [0xc047dc]
lea eax, [ecx + ecx*4]
shl eax, 3
movzx edx, word [eax + edi + 0x26]
mov dword [0x1308a30], edx
lea edx, [edx + edx*4]
mov word [edi + edx*8 + 0x24], bx
mov dx, word [esi + 8]
mov edi, dword [0xc047dc]
mov word [eax + edi + 0x24], dx
mov edx, dword [0xc047dc]
mov word [eax + edx + 0x26], bx
movzx edx, word [esi + 8]
mov edi, dword [0xc047dc]
lea edx, [edx + edx*4]
mov word [edi + edx*8 + 0x26], cx
cmp word [esi + 6], bx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
mov word [esi + 8], cx
jne 0x4d68a5
mov word [esi + 6], cx
inc dword [esi + 0x10]
dec dword [0x1308a38]
mov ecx, dword [0xc047dc]
mov byte [eax + ecx + 0x17], 4
mov edx, dword [0xc047dc]
mov dword [eax + edx + 8], ebx
mov dword [esi + 0x48], ebx
mov ecx, dword [0x1308a50]
mov edi, dword [0xc047e0]
mov eax, ecx
imul eax, eax, 0x38
movzx edx, word [eax + edi + 0x34]
mov dword [0x1308a50], edx
imul edx, edx, 0x38
mov word [edx + edi + 0x36], bx
mov edx, dword [0xc047e0]
mov word [eax + edx + 0x36], bx
mov dx, word [esi + 4]
mov edi, dword [0xc047e0]
mov word [eax + edi + 0x34], dx
movzx edx, word [esi + 4]
mov edi, dword [0xc047e0]
imul edx, edx, 0x38
mov word [edx + edi + 0x36], cx
mov ebp, dword [esi + 0xc]
mov word [esi + 4], cx
inc ebp
mov dword [esi + 0xc], ebp
dec dword [0x1308a58]
mov dword [esp + 0x38], ecx
mov ecx, dword [0xc047e0]
mov word [eax + ecx + 0x2c], bx
mov edx, dword [0xc047e0]
mov dword [eax + edx + 0x28], ebx
mov edx, dword [0x1308a50]
mov ebp, dword [0xc047e0]
mov ecx, edx
imul ecx, ecx, 0x38
movzx edi, word [ecx + ebp + 0x34]
mov dword [0x1308a50], edi
imul edi, edi, 0x38
mov word [edi + ebp + 0x36], bx
mov edi, dword [0xc047e0]
mov word [ecx + edi + 0x36], bx
mov di, word [esi + 4]
mov ebp, dword [0xc047e0]
mov word [ecx + ebp + 0x34], di
movzx edi, word [esi + 4]
mov ebp, dword [0xc047e0]
imul edi, edi, 0x38
mov word [edi + ebp + 0x36], dx
mov word [esi + 4], dx
mov dword [esp + 0x40], edx
inc dword [esi + 0xc]
mov ebp, dword [0x1308a58]
mov edx, dword [0xc047e0]
dec ebp
mov dword [0x1308a58], ebp
mov word [ecx + edx + 0x2c], bx
mov edx, dword [0xc047e0]
mov dword [ecx + edx + 0x28], ebx
mov edx, dword [0x1308a50]
mov ebp, dword [0xc047e0]
mov dword [esp + 0x34], edx
imul edx, edx, 0x38
movzx edi, word [edx + ebp + 0x34]
mov dword [0x1308a50], edi
imul edi, edi, 0x38
mov word [edi + ebp + 0x36], bx
mov edi, dword [0xc047e0]
mov word [edx + edi + 0x36], bx
mov di, word [esi + 4]
mov ebx, dword [0xc047e0]
mov word [edx + ebx + 0x34], di
movzx ebx, word [esi + 4]
mov ebp, dword [0xc047e0]
imul ebx, ebx, 0x38
mov edi, dword [esp + 0x34]
mov word [ebx + ebp + 0x36], di
mov word [esi + 4], di
inc dword [esi + 0xc]
mov ebp, dword [0x1308a58]
mov ebx, dword [0xc047e0]
dec ebp
mov dword [0x1308a58], ebp
xor edi, edi
mov word [edx + ebx + 0x2c], di
mov ebx, dword [0xc047e0]
mov dword [edx + ebx + 0x28], edi
mov edi, dword [0x1308a50]
mov ebp, dword [0xc047e0]
mov dword [esp + 0x30], edi
imul edi, edi, 0x38
movzx ebx, word [edi + ebp + 0x34]
mov dword [0x1308a50], ebx
imul ebx, ebx, 0x38
mov word [ebx + ebp + 0x36], 0
mov ebx, dword [0xc047e0]
mov word [edi + ebx + 0x36], 0
mov bx, word [esi + 4]
mov ebp, dword [0xc047e0]
mov word [edi + ebp + 0x34], bx
movzx ebx, word [esi + 4]
mov ebp, dword [0xc047e0]
imul ebx, ebx, 0x38
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x30]
mov word [ebx + ebp + 0x36], di
mov ebx, dword [esi + 0xc]
mov word [esi + 4], di
inc ebx
mov dword [esi + 0xc], ebx
mov edi, dword [0x1308a58]
mov ebp, dword [0xc047e0]
xor ebx, ebx
dec edi
mov dword [0x1308a58], edi
mov edi, dword [esp + 0x44]
mov word [edi + ebp + 0x2c], bx
mov ebp, dword [0xc047e0]
mov dword [edi + ebp + 0x28], ebx
mov ebx, dword [esi + 0x74]
mov ebp, dword [0xc047e0]
mov dword [eax + ebp], ebx
mov ebx, dword [esi + 0x78]
mov ebp, dword [0xc047e0]
mov dword [eax + ebp + 4], ebx
movzx ebx, byte [esi + 0x28c]
shl ebx, 1
mov dword [esp + 0x44], ebx
mov ebx, dword [0xc047e0]
fild dword [esp + 0x44]
fadd dword [esi + 0x7c]
fstp dword [eax + ebx + 8]
mov ebx, dword [0xc047e0]
mov ebp, dword [eax + ebx + 8]
fld dword [esp + 0x14]
mov dword [eax + ebx + 0x20], ebp
mov ebp, dword [0xc047e0]
lea ebx, [esi + 0x28c]
mov dword [eax + ebp + 0x30], ebx
mov ebx, dword [0xc047e0]
fstp dword [eax + ebx + 0xc]
mov ebx, dword [0xc047e0]
fld dword [esp + 0x18]
fstp dword [eax + ebx + 0x10]
mov ebx, dword [esi + 0x4c]
mov ebp, dword [0xc047e0]
mov dword [eax + ebp + 0x14], ebx
mov ebx, dword [esi + 0x50]
mov ebp, dword [0xc047e0]
mov dword [eax + ebp + 0x18], ebx
mov ebp, dword [0xc047e0]
xor ebx, ebx
mov dword [eax + ebp + 0x1c], ebx
mov ebp, dword [0xc047e0]
mov word [eax + ebp + 0x2c], 4
mov eax, dword [esi + 0x74]
mov ebp, dword [0xc047e0]
mov dword [ecx + ebp], eax
fld dword [esi + 0x78]
fadd dword [0x537a90]
mov eax, dword [0xc047e0]
fstp dword [ecx + eax + 4]
movzx eax, byte [esi + 0x2d4]
shl eax, 1
mov dword [esp + 0x44], eax
mov eax, dword [0xc047e0]
fild dword [esp + 0x44]
fadd dword [esi + 0x7c]
fstp dword [ecx + eax + 8]
mov eax, dword [0xc047e0]
mov ebp, dword [ecx + eax + 8]
fld dword [esp + 0x1c]
mov dword [ecx + eax + 0x20], ebp
mov ebp, dword [0xc047e0]
lea eax, [esi + 0x2d4]
mov dword [ecx + ebp + 0x30], eax
mov eax, dword [0xc047e0]
fstp dword [ecx + eax + 0xc]
mov eax, dword [0xc047e0]
fld dword [esp + 0x20]
fstp dword [ecx + eax + 0x10]
mov eax, dword [esi + 0x4c]
mov ebp, dword [0xc047e0]
mov dword [ecx + ebp + 0x14], eax
mov eax, dword [esi + 0x14]
dec eax
mov dword [esp + 0x44], eax
fild dword [esp + 0x44]
mov eax, dword [0xc047e0]
fmul dword [0x537a20]
fadd dword [esi + 0x50]
fstp dword [ecx + eax + 0x18]
mov eax, dword [0xc047e0]
mov dword [ecx + eax + 0x1c], ebx
mov eax, dword [0xc047e0]
mov word [ecx + eax + 0x2c], 4
fld dword [esi + 0x74]
fadd dword [0x537a90]
mov ecx, dword [0xc047e0]
fstp dword [edx + ecx]
mov eax, dword [esi + 0x78]
mov ecx, dword [0xc047e0]
mov dword [edx + ecx + 4], eax
movzx ecx, byte [esi + 0x294]
lea eax, [esi + 0x294]
shl ecx, 1
mov dword [esp + 0x44], ecx
mov ecx, dword [0xc047e0]
fild dword [esp + 0x44]
fadd dword [esi + 0x7c]
fstp dword [edx + ecx + 8]
mov ecx, dword [0xc047e0]
mov ebp, dword [edx + ecx + 8]
fld dword [esp + 0x24]
mov dword [edx + ecx + 0x20], ebp
mov ecx, dword [0xc047e0]
mov dword [edx + ecx + 0x30], eax
mov eax, dword [0xc047e0]
fstp dword [edx + eax + 0xc]
mov ecx, dword [0xc047e0]
fld dword [esp + 0x28]
fstp dword [edx + ecx + 0x10]
mov eax, dword [esi + 0x14]
mov ecx, dword [0xc047e0]
dec eax
mov dword [esp + 0x44], eax
fild dword [esp + 0x44]
fmul dword [0x537a20]
fadd dword [esi + 0x4c]
fstp dword [edx + ecx + 0x14]
mov eax, dword [esi + 0x50]
mov ecx, dword [0xc047e0]
mov dword [edx + ecx + 0x18], eax
mov eax, dword [0xc047e0]
mov dword [edx + eax + 0x1c], ebx
mov ecx, dword [0xc047e0]
mov ebp, 4
mov word [edx + ecx + 0x2c], bp
fld dword [esi + 0x74]
fadd dword [0x537a90]
mov edx, dword [0xc047e0]
fstp dword [edi + edx]
mov eax, dword [0xc047e0]
fld dword [esi + 0x78]
fadd dword [0x537a90]
fstp dword [edi + eax + 4]
movzx ecx, byte [esi + 0x2dc]
mov edx, dword [0xc047e0]
shl ecx, 1
lea eax, [esi + 0x2dc]
mov dword [esp + 0x44], ecx
fild dword [esp + 0x44]
fadd dword [esi + 0x7c]
fstp dword [edi + edx + 8]
mov ecx, dword [0xc047e0]
mov edx, dword [edi + ecx + 8]
fld dword [esp + 0x2c]
mov dword [edi + ecx + 0x20], edx
mov ecx, dword [0xc047e0]
mov dword [edi + ecx + 0x30], eax
mov edx, dword [0xc047e0]
fstp dword [edi + edx + 0xc]
mov eax, dword [0xc047e0]
fstp dword [edi + eax + 0x10]
mov ecx, dword [esi + 0x14]
mov edx, dword [0xc047e0]
dec ecx
mov dword [esp + 0x44], ecx
fild dword [esp + 0x44]
fmul dword [0x537a20]
fadd dword [esi + 0x4c]
fstp dword [edi + edx + 0x14]
mov eax, dword [esi + 0x14]
mov ecx, dword [0xc047e0]
dec eax
mov dword [esp + 0x44], eax
fild dword [esp + 0x44]
fmul dword [0x537a20]
fadd dword [esi + 0x50]
fstp dword [edi + ecx + 0x18]
mov edx, dword [0xc047e0]
mov dword [edi + edx + 0x1c], ebx
mov eax, dword [0xc047e0]
mov edx, dword [esp + 0x4c]
mov word [edi + eax + 0x2c], bp
mov ecx, dword [0xc047dc]
add ecx, edx
lea edi, [esi + 0x94]
mov dword [ecx + 0xc], esi
mov dword [ecx + 0x10], edi
mov word [ecx + 0x14], 1
mov byte [ecx + 0x16], bl
mov eax, dword [edi]
mov dword [esp + 0x44], eax
and al, 0xf0
mov byte [esp + 0x44], al
fld dword [esp + 0x44]
fcomp dword [0x5374c0]
fnstsw ax
test ah, 0x44
jp 0x4d6dec
test byte [edi], 8
je 0x4d6e0f
mov al, byte [edi]
test al, 8
je 0x4d6df6
mov al, 3
jmp 0x4d6e11
test byte [ecx + 0x17], 4
je 0x4d6e0f
test al, 4
jne 0x4d6e0f
mov edx, dword [0x1308a6c]
cmp dword [edx + 0x20], ebx
jle 0x4d6e0f
xor al, al
jmp 0x4d6e11
mov al, 2
mov dl, byte [ecx + 0x17]
or dl, al
mov ax, word [esp + 0x50]
mov byte [ecx + 0x17], dl
mov word [ecx + 0x1c], ax
mov al, byte [esi + 0x2dd]
test al, al
jns 0x4d6ec7
movsx eax, word [esi + 0x88]
cmp eax, ebx
jl 0x4d6e41
lea eax, [eax + eax + 2]
jmp 0x4d6e43
xor eax, eax
mov word [ecx + 0x18], ax
movsx eax, word [esi + 0x8a]
cmp eax, ebx
mov edx, dword [0x1325100]
mov edi, dword [edx + 0x3f4]
jl 0x4d6e7c
lea ebp, [eax + eax + 1]
imul eax, eax, 0x2e0
mov dl, byte [eax + edi + 0x2dd]
test dl, dl
jns 0x4d6e78
lea eax, [ebp + 1]
jmp 0x4d6e7e
mov eax, ebp
jmp 0x4d6e7e
xor eax, eax
mov word [ecx + 0x1a], ax
test byte [esi + 0x2dd], 0x40
je 0x4d6ea9
mov ax, word [esp + 0x34]
mov edx, dword [esp + 0x40]
mov word [ecx + 2], ax
mov ax, word [esp + 0x30]
mov word [ecx], dx
mov word [ecx + 4], ax
jmp 0x4d6f47
mov dx, word [esp + 0x34]
mov ax, word [esp + 0x30]
mov word [ecx], dx
mov edx, dword [esp + 0x40]
mov word [ecx + 2], dx
mov word [ecx + 4], ax
jmp 0x4d6f47
movsx eax, word [esi + 0x8e]
cmp eax, ebx
mov edx, dword [0x1325100]
mov ebp, dword [edx + 0x3f4]
jl 0x4d6efc
lea edi, [eax + eax + 1]
imul eax, eax, 0x2e0
mov dl, byte [eax + ebp + 0x2dd]
test dl, dl
jns 0x4d6ef7
mov eax, edi
jmp 0x4d6efe
lea eax, [edi + 1]
jmp 0x4d6efe
xor eax, eax
mov word [ecx + 0x18], ax
movsx eax, word [esi + 0x88]
cmp eax, ebx
jl 0x4d6f13
lea eax, [eax + eax + 2]
jmp 0x4d6f15
xor eax, eax
mov word [ecx + 0x1a], ax
test byte [esi + 0x2dd], 0x40
je 0x4d6f2e
mov ax, word [esp + 0x38]
mov dx, word [esp + 0x30]
jmp 0x4d6f38
mov ax, word [esp + 0x30]
mov dx, word [esp + 0x38]
mov word [ecx + 2], dx
mov edx, dword [esp + 0x40]
mov word [ecx], ax
mov word [ecx + 4], dx
mov eax, dword [0xc047dc]
mov ecx, dword [esp + 0x54]
add ecx, eax
lea edi, [esi + 0x190]
mov dword [ecx + 0xc], esi
mov dword [ecx + 0x10], edi
mov word [ecx + 0x14], 1
mov byte [ecx + 0x16], bl
mov eax, dword [edi]
mov dword [esp + 0x44], eax
and al, 0xf0
mov byte [esp + 0x44], al
fld dword [esp + 0x44]
fcomp dword [0x5374c0]
fnstsw ax
test ah, 0x44
jp 0x4d6f89
test byte [edi], 8
je 0x4d6fab
mov al, byte [edi]
test al, 8
je 0x4d6f93
mov al, 3
jmp 0x4d6fad
test byte [ecx + 0x17], 4
je 0x4d6fab
test al, 4
jne 0x4d6fab
mov eax, dword [0x1308a6c]
cmp dword [eax + 0x20], ebx
jle 0x4d6fab
xor al, al
jmp 0x4d6fad
mov al, 2
or byte [ecx + 0x17], al
mov ax, word [esp + 0x58]
mov word [ecx + 0x1c], ax
mov al, byte [esi + 0x2dd]
test al, al
jns 0x4d7040
movsx eax, word [esi + 0x8c]
cmp eax, ebx
jl 0x4d6fd4
lea eax, [eax + eax + 1]
jmp 0x4d6fd6
xor eax, eax
mov word [ecx + 0x18], ax
movsx eax, word [esi + 0x8e]
cmp eax, ebx
mov edi, dword [0x1325100]
mov edi, dword [edi + 0x3f4]
jl 0x4d700e
lea ebp, [eax + eax + 1]
imul eax, eax, 0x2e0
test byte [eax + edi + 0x2dd], 0x80
je 0x4d7009
mov eax, ebp
jmp 0x4d7010
lea eax, [ebp + 1]
jmp 0x4d7010
xor eax, eax
mov word [ecx + 0x1a], ax
test byte [esi + 0x2dd], 0x40
mov ax, word [esp + 0x34]
je 0x4d7033
mov word [ecx + 2], dx
mov dx, word [esp + 0x38]
mov word [ecx], ax
jmp 0x4d70c3
mov word [ecx], dx
mov dx, word [esp + 0x38]
jmp 0x4d70bf
movsx eax, word [esi + 0x8a]
cmp eax, ebx
mov edx, dword [0x1325100]
mov ebp, dword [edx + 0x3f4]
jl 0x4d7075
lea edi, [eax + eax + 1]
imul eax, eax, 0x2e0
mov dl, byte [eax + ebp + 0x2dd]
test dl, dl
jns 0x4d7071
lea eax, [edi + 1]
jmp 0x4d7077
mov eax, edi
jmp 0x4d7077
xor eax, eax
mov word [ecx + 0x18], ax
movsx eax, word [esi + 0x8c]
cmp eax, ebx
jl 0x4d708c
lea eax, [eax + eax + 1]
jmp 0x4d708e
xor eax, eax
mov dx, word [esp + 0x38]
mov word [ecx + 0x1a], ax
test byte [esi + 0x2dd], 0x40
mov ax, word [esp + 0x30]
je 0x4d70b7
mov word [ecx], ax
mov ax, word [esp + 0x34]
mov word [ecx + 2], dx
mov word [ecx + 4], ax
jmp 0x4d70c7
mov word [ecx], dx
mov dx, word [esp + 0x34]
mov word [ecx + 2], ax
mov word [ecx + 4], dx
mov eax, dword [esp + 0x48]
mov ecx, dword [0x1325100]
mov edx, dword [ecx + 0x3f0]
inc eax
add esi, 0x2e0
cmp eax, edx
mov dword [esp + 0x48], eax
jle 0x4d6607
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret