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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x98]
xor ebx, ebx
cmp eax, ebx
push edi
je 0x4c3681
mov ecx, dword [esi + 0xdc]
cmp ecx, ebx
jne 0x4c2252
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
sub esp, 0x10
cmp dword [eax + 0xc0], ebx
mov eax, esp
jne 0x4c156d
sub esp, 8
cmp dword [esi + 0xf4], ebx
mov dword [eax + 8], edi
mov edi, dword [ebp + 0x18]
mov dword [eax + 0xc], edi
mov edi, dword [ebp + 8]
mov dword [eax + 4], edx
mov dword [eax], ecx
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
je 0x4c1565
mov ecx, dword [esi + 0xf4]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x3c]
jmp 0x4c1596
mov eax, dword [esi + 0x9c]
jmp 0x4c158e
mov dword [eax + 8], edi
mov edi, dword [ebp + 0x18]
mov dword [eax + 0xc], edi
mov edi, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [esi + 0xcc]
mov edx, dword [edi]
mov ecx, edi
push eax
call dword [edx + 0x3c]
mov eax, dword [esi + 0x98]
cmp dword [eax + 0xc0], ebx
jne 0x4c1f21
push 0
push 0x85e714
push 0x85e200
push 0
push eax
call fcn.0071f44c
add esp, 0x14
test eax, eax
je 0x4c176e
mov eax, dword [eax + 0xf4]
test eax, eax
je 0x4c176e
mov ecx, dword [0x912e94]
push eax
call fcn.004668b0
test eax, eax
je 0x4c15f5
lea ecx, [eax - 0x18]
test ecx, ecx
je 0x4c15f5
mov edx, dword [ecx]
call dword [edx + 0x54]
mov ebx, eax
jmp 0x4c15f7
xor ebx, ebx
mov eax, dword [ebx + 0x94]
lea ecx, [ebx + 0x94]
mov dword [esp + 0x10], ebx
call dword [eax + 0x40]
mov edx, dword [eax + 8]
lea ecx, [eax + 8]
mov dword [esp + 0x18], eax
call dword [edx + 0x2c]
test eax, eax
mov dword [esp + 0x24], eax
je 0x4c176e
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 8]
add ecx, 8
lea edx, [esp + 0x24]
push edx
call dword [eax + 0x34]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x28], eax
mov ax, word [eax + 0x18]
push eax
call fcn.005946a0
mov ecx, dword [esp + 0x28]
mov dx, word [ecx + 0x1a]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
push edx
call fcn.005946a0
test eax, eax
mov dword [esp + 0x14], eax
je 0x4c1763
cmp dword [esp + 0x1c], 0
je 0x4c1763
movsx eax, word [ebx + 0x90]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x10]
imul edx, eax
imul ecx, eax
mov dword [esp + 0x50], ecx
mov ecx, dword [ebx + 0x2c]
add ecx, edx
mov edx, dword [ebx + 0x28]
mov ebx, dword [esp + 0x14]
mov ebx, dword [ebx + 0x14]
imul ebx, eax
add edx, dword [esp + 0x50]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x14]
mov ebx, dword [ebx + 0x10]
imul ebx, eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x2c]
add eax, dword [esp + 0x28]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x28]
add eax, ebx
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x98]
mov ebx, dword [eax + 0x50]
lea eax, [edx*8]
sub eax, edx
shl eax, 5
add eax, edx
cdq
idiv ebx
push 0x6e8a40
push 1
push 0x840f
sub esp, 8
mov dword [esp + 0x44], eax
mov eax, ecx
shl eax, 5
sub eax, ecx
add eax, eax
add eax, eax
sub eax, ecx
cdq
idiv ebx
mov edx, dword [esp + 0x54]
mov ecx, eax
lea eax, [edx*8]
sub eax, edx
shl eax, 5
add eax, edx
cdq
idiv ebx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x4c], eax
mov eax, edx
shl eax, 5
sub eax, edx
add eax, eax
add eax, eax
sub eax, edx
cdq
idiv ebx
mov ebx, dword [esp + 0x4c]
mov edx, esp
mov dword [edx], ebx
sub esp, 8
mov dword [edx + 4], eax
mov edx, dword [esp + 0x4c]
mov eax, esp
mov dword [eax + 4], ecx
mov dword [eax], edx
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x38]
mov ebx, dword [esp + 0x10]
cmp dword [esp + 0x24], 0
jne 0x4c1623
cmp dword [esi + 0x220], 0
je 0x4c1a31
mov ecx, dword [esi + 0x220]
mov edx, dword [ecx]
call dword [edx + 0x2c]
test eax, eax
mov dword [esp + 0x1c], eax
je 0x4c1a31
mov ecx, dword [esi + 0x220]
lea edx, [esp + 0x1c]
mov dword [esp + 0x28], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x34]
mov eax, dword [eax]
push 0
push 0x85f248
push 0x85da04
push 0
push eax
call fcn.0071f44c
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x4c18df
mov ecx, dword [esi + 0x220]
mov eax, dword [esp + 0x28]
mov edx, dword [ecx]
push eax
call dword [edx + 0x3c]
mov ecx, dword [eax]
push ebx
push 0x85f22c
push 0x85da04
push ebx
push ecx
call fcn.0071f44c
mov ecx, eax
add esp, 0x14
test ecx, ecx
je 0x4c1a25
mov edx, dword [esi + 0x98]
fnstcw word [esp + 0x10]
fild dword [edx + 0x50]
movzx eax, word [esp + 0x10]
fild dword [ecx + 0x28]
or ah, 0xc
fmul dword [0x7a4784]
fdiv st(1)
mov dword [esp + 0x28], eax
fldcw word [esp + 0x28]
fistp dword [esp + 0x24]
fldcw word [esp + 0x10]
fild dword [ecx + 0x2c]
fnstcw word [esp + 0x10]
mov ecx, dword [esi + 0x21c]
fmul dword [0x7a4780]
movzx eax, word [esp + 0x10]
or ah, 0xc
fdiv st(1)
mov dword [esp + 0x28], eax
mov eax, dword [ecx]
fldcw word [esp + 0x28]
fistp dword [esp + 0x28]
fstp st(0)
fldcw word [esp + 0x10]
call dword [eax + 0x14]
mov ecx, dword [esi + 0x21c]
mov ebx, dword [esp + 0x24]
cdq
sub eax, edx
mov edx, dword [ecx]
sar eax, 1
sub ebx, eax
call dword [edx + 0x18]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x28]
sar ecx, 1
sub eax, ecx
mov ecx, dword [esi + 0x21c]
mov edx, dword [ecx]
mov dword [esp + 0x74], eax
call dword [edx + 0x14]
mov ecx, dword [esi + 0x21c]
mov edx, dword [ecx]
lea eax, [eax + ebx - 1]
mov dword [esp + 0x78], eax
call dword [edx + 0x18]
mov ecx, dword [esp + 0x74]
lea edx, [eax + ecx - 1]
sub esp, 0x10
mov eax, esp
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x88]
mov dword [eax], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
sub esp, 8
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi + 0x21c]
jmp 0x4c1a1d
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x288]
test eax, eax
jne 0x4c1a25
mov ax, word [ebx + 0x38]
push eax
call fcn.00659140
add esp, 4
test eax, eax
mov dword [esp + 0x24], eax
je 0x4c1a25
mov ecx, dword [esi + 0x98]
fnstcw word [esp + 0x10]
fild dword [ecx + 0x50]
movzx eax, word [esp + 0x10]
fild dword [ebx + 0x28]
or ah, 0xc
mov ecx, dword [esi + 0x218]
mov edx, dword [ecx]
fmul dword [0x7a4784]
fdiv st(1)
mov dword [esp + 0x28], eax
fldcw word [esp + 0x28]
fistp dword [esp + 0x18]
fldcw word [esp + 0x10]
fild dword [ebx + 0x2c]
fnstcw word [esp + 0x10]
fmul dword [0x7a4780]
movzx eax, word [esp + 0x10]
or ah, 0xc
fdiv st(1)
mov dword [esp + 0x28], eax
fldcw word [esp + 0x28]
fistp dword [esp + 0x28]
fstp st(0)
fldcw word [esp + 0x10]
call dword [edx + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esi + 0x218]
cdq
sub eax, edx
sar eax, 1
sub ebx, eax
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [esp + 0x28]
sub ecx, eax
mov dword [esp + 0x64], ecx
mov ecx, dword [esi + 0x218]
mov edx, dword [ecx]
call dword [edx + 0x14]
mov ecx, dword [esi + 0x218]
mov edx, dword [ecx]
lea eax, [eax + ebx - 1]
mov dword [esp + 0x68], eax
call dword [edx + 0x18]
mov ecx, dword [esp + 0x64]
lea edx, [eax + ecx - 1]
mov eax, dword [0x912e94]
cmp dword [eax + 0xc], 0
mov dword [esp + 0x6c], edx
je 0x4c19d0
mov ecx, dword [esp + 0x24]
movzx eax, byte [ecx + 0x126]
jmp 0x4c19db
mov edx, dword [esp + 0x24]
movzx eax, byte [edx + 0x124]
mov ecx, dword [esi + 0x218]
mov edx, dword [ecx]
push eax
push 4
call dword [edx + 0x38]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
sub esp, 0x10
mov eax, esp
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x7c]
mov dword [eax], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
sub esp, 8
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi + 0x218]
mov edx, dword [edi]
mov ecx, edi
push eax
call dword [edx + 0x3c]
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4c1792
cmp dword [esi + 0x208], 0
je 0x4c1c45
mov ecx, dword [esi + 0x208]
mov edx, dword [ecx]
call dword [edx + 0x2c]
test eax, eax
mov dword [esp + 0x18], eax
je 0x4c1c45
jmp 0x4c1a60
mov ecx, dword [esi + 0x208]
mov eax, dword [ecx]
lea edx, [esp + 0x18]
push edx
call dword [eax + 0x34]
mov eax, dword [eax]
push 0
push 0x85f210
push 0x85da04
push 0
push eax
call fcn.0071f44c
mov ecx, eax
add esp, 0x14
test ecx, ecx
je 0x4c1c3a
mov edx, dword [esi + 0x98]
fnstcw word [esp + 0x10]
fild dword [edx + 0x50]
movzx eax, word [esp + 0x10]
fild dword [ecx + 0x28]
or ah, 0xc
fmul dword [0x7a4784]
fdiv st(1)
mov dword [esp + 0x28], eax
fldcw word [esp + 0x28]
fistp dword [esp + 0x24]
fldcw word [esp + 0x10]
fild dword [ecx + 0x2c]
fnstcw word [esp + 0x10]
mov cx, word [ecx + 0x38]
fmul dword [0x7a4780]
movzx eax, word [esp + 0x10]
or ah, 0xc
test cx, cx
fdiv st(1)
mov dword [esp + 0x28], eax
fldcw word [esp + 0x28]
fistp dword [esp + 0x1c]
fstp st(0)
fldcw word [esp + 0x10]
jne 0x4c1b7b
mov ecx, dword [esi + 0x210]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [esi + 0x210]
mov ebx, dword [esp + 0x24]
cdq
sub eax, edx
mov edx, dword [ecx]
sar eax, 1
sub ebx, eax
call dword [edx + 0x18]
mov ecx, dword [esp + 0x1c]
sub ecx, eax
mov dword [esp + 0x64], ecx
mov ecx, dword [esi + 0x210]
mov eax, dword [ecx]
call dword [eax + 0x14]
lea ecx, [eax + ebx - 1]
mov dword [esp + 0x68], ecx
mov ecx, dword [esi + 0x210]
mov edx, dword [ecx]
call dword [edx + 0x18]
mov ecx, dword [esp + 0x64]
lea edx, [eax + ecx - 1]
sub esp, 0x10
mov eax, esp
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
sub esp, 8
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi + 0x210]
jmp 0x4c1c32
push ecx
call fcn.00659140
add esp, 4
test eax, eax
mov dword [esp + 0x28], eax
je 0x4c1c3a
mov ecx, dword [esi + 0x20c]
mov edx, dword [ecx]
call dword [edx + 0x14]
mov ebx, dword [esp + 0x24]
mov ecx, dword [esi + 0x20c]
cdq
sub eax, edx
sar eax, 1
sub ebx, eax
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [esp + 0x1c]
sub ecx, eax
mov dword [esp + 0x64], ecx
mov ecx, dword [esi + 0x20c]
mov edx, dword [ecx]
call dword [edx + 0x14]
mov ecx, dword [esi + 0x20c]
mov edx, dword [ecx]
lea eax, [eax + ebx - 1]
mov dword [esp + 0x68], eax
call dword [edx + 0x18]
mov ecx, dword [esp + 0x64]
lea edx, [eax + ecx - 1]
mov ecx, dword [esi + 0x20c]
mov eax, dword [ecx]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x28]
movzx edx, byte [edx + 0x124]
push edx
push 4
call dword [eax + 0x38]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
sub esp, 0x10
mov eax, esp
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x7c]
mov dword [eax], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
sub esp, 8
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi + 0x20c]
mov edx, dword [edi]
mov ecx, edi
push eax
call dword [edx + 0x3c]
cmp dword [esp + 0x18], 0
jne 0x4c1a60
mov ecx, dword [0x912e94]
mov edx, dword [ecx]
call dword [edx + 0x64]
test eax, eax
je 0x4c1f21
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x28]
test eax, eax
je 0x4c1f21
lea ebx, [eax + 0xb0]
mov eax, dword [ebx]
mov ecx, ebx
mov dword [esp + 0x2c], ebx
call dword [eax + 0x2c]
test eax, eax
mov dword [esp + 0x28], eax
je 0x4c1f21
jmp 0x4c1c90
mov ebx, dword [esp + 0x2c]
lea ebx, [ebx]
mov edx, dword [ebx]
lea eax, [esp + 0x28]
push eax
mov ecx, ebx
call dword [edx + 0x34]
mov edx, dword [eax]
mov eax, edx
shr eax, 0x18
sub eax, 0
je 0x4c1cd2
sub eax, 1
je 0x4c1cc4
sub eax, 1
jne 0x4c1f16
mov ecx, dword [0x912e94]
mov ecx, dword [ecx + 0x2e4]
jmp 0x4c1cde
mov ecx, dword [0x912e94]
mov ecx, dword [ecx + 0x2e0]
jmp 0x4c1cde
mov ecx, dword [0x912e94]
mov ecx, dword [ecx + 0x2dc]
mov eax, dword [ecx]
push edx
call dword [eax + 0x18]
test eax, eax
je 0x4c1f16
lea ecx, [eax - 0x18]
test ecx, ecx
je 0x4c1f16
mov edx, dword [ecx]
call dword [edx + 0x24]
mov ebx, eax
test ebx, ebx
je 0x4c1f16
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xdc]
push eax
call fcn.00659140
add esp, 4
test eax, eax
je 0x4c1f16
mov ecx, dword [0x912e94]
cmp dword [ecx + 0xc], 0
je 0x4c1d49
movzx edx, byte [eax + 0x126]
mov eax, dword [0x868a6c]
mov ecx, dword [eax + 0x190]
movzx edx, word [ecx + edx*2]
mov dword [esp + 0x18], edx
jmp 0x4c1d64
movzx eax, byte [eax + 0x124]
mov ecx, dword [0x868a6c]
mov edx, dword [ecx + 0x190]
movzx eax, word [edx + eax*2]
mov dword [esp + 0x18], eax
mov edx, dword [ebx + 0x9c]
lea ecx, [ebx + 0x9c]
mov dword [esp + 0x30], ecx
call dword [edx + 0x2c]
test eax, eax
mov dword [esp + 0x24], eax
je 0x4c1f16
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
lea edx, [esp + 0x24]
push edx
call dword [eax + 0x34]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, eax
test ebx, ebx
je 0x4c1f0b
mov edx, dword [ebx]
push 7
mov ecx, ebx
call dword [edx + 0xa0]
test eax, eax
je 0x4c1f0b
mov eax, dword [esi + 0x98]
fnstcw word [esp + 0x10]
fild dword [eax + 0x50]
push 0xff
fild dword [ebx + 0x28]
movzx eax, word [esp + 0x14]
or ah, 0xc
fmul dword [0x7a4784]
fdiv st(1)
mov dword [esp + 0x20], eax
fldcw word [esp + 0x20]
fistp dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
fldcw word [esp + 0x14]
fild dword [ebx + 0x2c]
fnstcw word [esp + 0x14]
fmul dword [0x7a4780]
movzx eax, word [esp + 0x14]
or ah, 0xc
cmp dword [ebx + 0xd4], 0
fdiv st(1)
mov dword [esp + 0x20], eax
fldcw word [esp + 0x20]
fistp dword [esp + 0x20]
fstp st(0)
fldcw word [esp + 0x14]
je 0x4c1e9b
mov ebx, dword [esp + 0x20]
add ebx, 0xffffffff
lea eax, [ebx + 3]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x1c]
push eax
add ecx, 0xffffffff
lea edx, [ecx + 3]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x84]
mov dword [eax + 0xc], ecx
mov dword [esp + 0x80], edx
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x2c]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x14]
add dword [esp + 0x6c], 1
push 0
add ecx, 1
sub esp, 0x10
mov eax, esp
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x80]
add edx, 0xffffffff
sub ebx, 1
mov dword [eax + 0xc], ecx
mov dword [eax], edx
mov dword [eax + 4], ebx
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x30]
jmp 0x4c1f0b
mov edx, dword [esp + 0x20]
lea eax, [edx + 1]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x1c]
push eax
sub esp, 0x10
mov eax, esp
lea ebx, [ecx + 1]
mov dword [eax], ecx
mov ecx, dword [esp + 0x94]
mov dword [eax + 0xc], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x2c]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x7c]
add eax, 0xffffffff
push 0
mov dword [esp + 0x78], eax
sub esp, 0x10
mov eax, esp
add edx, 0xffffffff
mov dword [eax], edx
mov edx, dword [esp + 0x88]
add ecx, 1
add ebx, 1
mov dword [eax + 0xc], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
cmp dword [esp + 0x24], 0
jne 0x4c1d83
cmp dword [esp + 0x28], 0
jne 0x4c1c86
mov ecx, dword [esi + 0x98]
cmp dword [ecx + 0xc0], 0
je 0x4c20a0
call fcn.006590f0
cmp dword [eax + 0x60], 0
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], 0
jbe 0x4c20a0
nop
mov edx, dword [esp + 0x1c]
push 0
push edx
call fcn.00659110
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4c2083
mov eax, dword [ebx + 0x64]
mov ecx, dword [0x912e94]
push eax
call fcn.004668b0
test eax, eax
je 0x4c2083
lea ecx, [eax - 0x18]
test ecx, ecx
je 0x4c2083
mov edx, dword [ecx]
call dword [edx + 0x4c]
test eax, eax
je 0x4c2083
mov ecx, dword [esi + 0x258]
cmp ecx, dword [ebx + 0x64]
mov dx, word [ebx + 0x2a]
mov ecx, dword [0x912e94]
jne 0x4c1fc6
cmp dx, word [ecx + 0x1ac]
jne 0x4c1fbe
mov ebx, dword [esi + 0x254]
jmp 0x4c1fdd
mov ebx, dword [esi + 0x250]
jmp 0x4c1fdd
cmp dx, word [ecx + 0x1ac]
jne 0x4c1fd7
mov ebx, dword [esi + 0x23c]
jmp 0x4c1fdd
mov ebx, dword [esi + 0x238]
xor ecx, ecx
lea edx, [esp + 0x48]
push edx
add eax, 0x28
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
push eax
mov ecx, esi
call fcn.004bed30
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
cdq
sub eax, edx
mov edx, dword [ebx]
mov ecx, eax
mov eax, dword [esp + 0x48]
sar ecx, 1
sub eax, ecx
mov ecx, ebx
mov dword [esp + 0x60], eax
call dword [edx + 0x18]
cdq
sub eax, edx
mov edx, dword [ebx]
mov ecx, eax
mov eax, dword [esp + 0x4c]
sar ecx, 1
sub eax, ecx
mov ecx, ebx
mov dword [esp + 0x64], eax
call dword [edx + 0x14]
mov ecx, dword [esp + 0x60]
lea edx, [eax + ecx - 1]
mov eax, dword [ebx]
mov ecx, ebx
mov dword [esp + 0x68], edx
call dword [eax + 0x18]
mov ecx, dword [esp + 0x64]
lea edx, [eax + ecx - 1]
sub esp, 0x10
mov eax, esp
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x70]
mov dword [eax], edx
mov edx, dword [esp + 0x7c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
sub esp, 8
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0x3c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x60]
add ecx, 1
mov dword [esp + 0x1c], ecx
movzx ecx, cx
cmp ecx, eax
jb 0x4c1f50
mov ecx, dword [0x912e94]
mov eax, dword [esi + 0x98]
mov edx, dword [ecx]
push eax
call dword [edx + 0x70]
mov edx, dword [eax + 0x3c]
xor ecx, ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x48]
push ecx
add edx, 0x14
push edx
mov ecx, esi
call fcn.004bed30
mov ecx, dword [esi + 0xa4]
mov ebx, dword [esi + 0xa8]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
and ecx, 1
sub ecx, eax
add ecx, dword [esp + 0x48]
mov eax, ebx
cdq
sub eax, edx
mov edx, dword [esi + 0x98]
sar eax, 1
and ebx, 1
sub ebx, eax
mov eax, dword [esi + 0xa4]
add ebx, dword [esp + 0x4c]
cmp dword [edx + 0xc0], 0
lea eax, [ecx + eax - 1]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0xa8]
mov dword [esp + 0x50], ecx
lea ecx, [ebx + eax - 1]
mov dword [esp + 0x5c], ecx
je 0x4c215b
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x58]
push 0xffff
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 0xc], ecx
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x30]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [esp + 0x50]
cmp eax, dword [esp + 0x58]
mov dword [esp + 0x10], eax
jg 0x4c21d9
lea esp, [esp]
mov ecx, dword [esi + 0xf0]
mov edx, dword [esp + 0x10]
mov eax, dword [ecx]
push ebx
push edx
call dword [eax + 0x20]
cmp eax, 0xffffffff
je 0x4c2198
mov ecx, dword [esp + 0x10]
mov eax, dword [edi]
push 0xffff
push ebx
push ecx
mov ecx, edi
call dword [eax + 0x28]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esi + 0xf0]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x14]
push eax
call dword [edx + 0x20]
cmp eax, 0xffffffff
je 0x4c21c8
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x10]
mov edx, dword [edi]
push 0xffff
push eax
push ecx
mov ecx, edi
call dword [edx + 0x28]
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, dword [esp + 0x58]
mov dword [esp + 0x10], eax
jle 0x4c2170
mov eax, dword [esp + 0x5c]
add eax, 0xffffffff
add ebx, 1
cmp ebx, eax
mov dword [esp + 0x30], eax
jg 0x4c3681
nop
mov ecx, dword [esi + 0xf0]
mov eax, dword [esp + 0x50]
mov edx, dword [ecx]
push ebx
push eax
call dword [edx + 0x20]
cmp eax, 0xffffffff
je 0x4c2218
mov eax, dword [esp + 0x50]
mov edx, dword [edi]
push 0xffff
push ebx
push eax
mov ecx, edi
call dword [edx + 0x28]
mov ecx, dword [esi + 0xf0]
mov eax, dword [esp + 0x58]
mov edx, dword [ecx]
push ebx
push eax
call dword [edx + 0x20]
cmp eax, 0xffffffff
je 0x4c2240
mov eax, dword [esp + 0x58]
mov edx, dword [edi]
push 0xffff
push ebx
push eax
mov ecx, edi
call dword [edx + 0x28]
add ebx, 1
cmp ebx, dword [esp + 0x30]
jle 0x4c21f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp ecx, 2
jne 0x4c2301
mov edi, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub esp, 0x10
mov eax, esp
mov dword [eax + 8], edi
mov edi, dword [ebp + 0x18]
mov dword [eax], ecx
mov dword [eax + 0xc], edi
mov edi, dword [ebp + 8]
mov dword [eax + 4], edx
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [esi + 0xc0]
mov ecx, dword [eax + 0x14]
mov edx, dword [edi]
push ecx
mov ecx, edi
call dword [edx + 0x3c]
mov ecx, dword [0x912e94]
mov eax, dword [esi + 0x98]
mov edx, dword [ecx]
push eax
call dword [edx + 0x70]
mov edx, dword [eax + 0x3c]
lea ecx, [esp + 0x48]
push ecx
add edx, 0x14
push edx
mov ecx, esi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
call fcn.004bed30
mov ebx, dword [esi + 0xa4]
mov esi, dword [esi + 0xa8]
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
mov ecx, ebx
and ecx, 1
sub ecx, eax
add ecx, dword [esp + 0x48]
mov eax, esi
cdq
sub eax, edx
mov edx, eax
mov eax, esi
sar edx, 1
and eax, 1
sub eax, edx
add eax, dword [esp + 0x4c]
lea ebx, [ecx + ebx - 1]
lea esi, [eax + esi - 1]
jmp 0x4c3665
cmp ecx, 1
jne 0x4c2bf0
mov ecx, dword [0x912e94]
mov edx, dword [ecx]
push eax
call dword [edx + 0x70]
mov edi, dword [esi + 0xe0]
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0xe4]
mov dword [esp + 0x44], eax
sub esp, 0x10
mov eax, esp
mov dword [eax + 8], ebx
mov ebx, dword [ebp + 0x18]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 0xc], ebx
mov eax, dword [esp + 0x54]
lea edx, [eax + edx - 0x3d]
sub esp, 8
mov eax, esp
lea ecx, [edi + ecx - 0x70]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [esi + 0xd4]
mov dword [esp + 0x58], edi
mov edi, dword [ebp + 8]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x3c]
call fcn.006590f0
mov ebx, eax
mov eax, dword [ebx + 0x60]
test eax, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 0
jbe 0x4c2502
nop
mov ecx, dword [esp + 0x1c]
push 0
push ecx
call fcn.00659110
add esp, 8
test eax, eax
mov dword [esp + 0x28], eax
je 0x4c24e9
mov ecx, dword [0x912e94]
mov edx, eax
mov eax, dword [edx + 0x64]
push eax
call fcn.004668b0
test eax, eax
je 0x4c24e9
lea ecx, [eax - 0x18]
test ecx, ecx
je 0x4c24e9
mov edx, dword [ecx]
call dword [edx + 0x4c]
test eax, eax
je 0x4c24e9
mov edx, dword [esi + 0x258]
mov ecx, dword [esp + 0x28]
cmp edx, dword [ecx + 0x64]
mov edx, dword [0x912e94]
mov cx, word [ecx + 0x2a]
jne 0x4c240e
cmp cx, word [edx + 0x1ac]
jne 0x4c2406
mov ebx, dword [esi + 0x244]
jmp 0x4c2425
mov ebx, dword [esi + 0x240]
jmp 0x4c2425
cmp cx, word [edx + 0x1ac]
jne 0x4c241f
mov ebx, dword [esi + 0x22c]
jmp 0x4c2425
mov ebx, dword [esi + 0x228]
xor ecx, ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x48]
push ecx
add eax, 0x28
push eax
mov ecx, esi
call fcn.004bed30
mov edx, 0x70
sub edx, dword [esp + 0x40]
mov eax, 0x3d
sub eax, dword [esp + 0x44]
add dword [esp + 0x48], edx
mov edx, dword [ebx]
add dword [esp + 0x4c], eax
mov ecx, ebx
call dword [edx + 0x14]
cdq
sub eax, edx
mov edx, dword [ebx]
mov ecx, eax
mov eax, dword [esp + 0x48]
sar ecx, 1
sub eax, ecx
mov ecx, ebx
mov dword [esp + 0x60], eax
call dword [edx + 0x18]
cdq
sub eax, edx
mov edx, dword [ebx]
mov ecx, eax
mov eax, dword [esp + 0x4c]
sar ecx, 1
sub eax, ecx
mov ecx, ebx
mov dword [esp + 0x64], eax
call dword [edx + 0x14]
mov ecx, dword [esp + 0x60]
lea edx, [eax + ecx - 1]
mov eax, dword [ebx]
mov ecx, ebx
mov dword [esp + 0x68], edx
call dword [eax + 0x18]
mov ecx, dword [esp + 0x64]
lea edx, [eax + ecx - 1]
sub esp, 0x10
mov eax, esp
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x70]
mov dword [eax], edx
mov edx, dword [esp + 0x7c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
sub esp, 8
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0x3c]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebx + 0x60]
add ecx, 1
mov dword [esp + 0x1c], ecx
movzx ecx, cx
cmp ecx, eax
jb 0x4c2390
mov edx, dword [ebx + 0x1a8]
add ebx, 0x1a8
mov ecx, ebx
mov dword [esp + 0x14], 0
call dword [edx + 0xc]
test eax, eax
jbe 0x4c292a
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x14]
mov ebx, dword [eax]
test ebx, ebx
mov dword [esp + 0x28], ebx
je 0x4c2906
mov ecx, ebx
call fcn.005f3d90
test eax, eax
je 0x4c2906
mov eax, dword [0x868a6c]
movzx edx, byte [ebx + 0x124]
mov ecx, dword [eax + 0x190]
movzx edx, word [ecx + edx*2]
mov eax, dword [ebx + 0x23c]
lea ecx, [ebx + 0x23c]
mov dword [esp + 0x1c], edx
call dword [eax + 0x2c]
test eax, eax
mov dword [esp + 0x10], eax
je 0x4c2760
jmp 0x4c2590
mov edx, dword [ebx + 0x23c]
lea ecx, [ebx + 0x23c]
lea eax, [esp + 0x10]
push eax
call dword [edx + 0x34]
mov edx, dword [eax]
mov eax, edx
shr eax, 0x18
sub eax, 0
je 0x4c25da
sub eax, 1
je 0x4c25cc
sub eax, 1
jne 0x4c2755
mov ecx, dword [0x912e94]
mov ecx, dword [ecx + 0x2e4]
jmp 0x4c25e6
mov ecx, dword [0x912e94]
mov ecx, dword [ecx + 0x2e0]
jmp 0x4c25e6
mov ecx, dword [0x912e94]
mov ecx, dword [ecx + 0x2dc]
mov eax, dword [ecx]
push edx
call dword [eax + 0x18]
test eax, eax
je 0x4c2755
lea ecx, [eax - 0x18]
test ecx, ecx
je 0x4c2755
mov edx, dword [ecx]
call dword [edx + 0x24]
mov ebx, eax
test ebx, ebx
je 0x4c2751
mov ax, word [ebx + 0xfc]
push 1
push eax
call fcn.00659110
add esp, 8
test eax, eax
je 0x4c2751
test byte [eax + 0x160], 4
jne 0x4c2751
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0xd0]
test eax, eax
je 0x4c2751
movzx eax, byte [eax + 0x124]
mov ecx, dword [0x868a6c]
mov edx, dword [ecx + 0x190]
movzx eax, word [edx + eax*2]
lea ecx, [esp + 0x48]
push ecx
mov dword [esp + 0x34], eax
xor eax, eax
add ebx, 0x28
push ebx
mov ecx, esi
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
call fcn.004bed30
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov eax, 0x70
sub eax, dword [esp + 0x40]
push 0xff
add edx, eax
mov eax, 0x3d
sub eax, dword [esp + 0x48]
add edx, 0xffffffff
add ecx, eax
add ecx, 0xffffffff
lea eax, [ecx + 2]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x34]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax + 4], ecx
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x84]
lea ebx, [edx + 2]
mov dword [eax + 0xc], ecx
mov dword [esp + 0x44], edx
mov dword [eax], edx
mov dword [eax + 8], ebx
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x2c]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x6c]
add eax, 1
push 0
mov dword [esp + 0x68], eax
add edx, 1
sub esp, 0x10
mov eax, esp
sub ecx, 1
mov dword [eax], edx
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x78]
sub ebx, 1
mov dword [eax + 0xc], ecx
mov dword [esp + 0x80], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
mov edx, dword [esp + 0x60]
add dword [esp + 0x64], 2
mov ecx, dword [esp + 0x6c]
push 0
sub esp, 0x10
mov eax, esp
add edx, 2
mov dword [eax], edx
mov edx, dword [esp + 0x78]
sub ecx, 2
sub ebx, 2
mov dword [eax + 0xc], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
mov ebx, dword [esp + 0x28]
cmp dword [esp + 0x10], 0
jne 0x4c2590
mov edx, dword [ebx + 0x178]
add ebx, 0x178
mov ecx, ebx
mov dword [esp + 0x28], ebx
call dword [edx + 0x2c]
test eax, eax
mov dword [esp + 0x10], eax
je 0x4c2906
mov eax, dword [ebx]
lea ecx, [esp + 0x10]
push ecx
mov ecx, ebx
call dword [eax + 0x34]
mov edx, dword [eax]
mov eax, edx
shr eax, 0x18
sub eax, 0
je 0x4c27c2
sub eax, 1
je 0x4c27b4
sub eax, 1
jne 0x4c28fb
mov eax, dword [0x912e94]
mov ecx, dword [eax + 0x2e4]
jmp 0x4c27ce
mov ecx, dword [0x912e94]
mov ecx, dword [ecx + 0x2e0]
jmp 0x4c27ce
mov ecx, dword [0x912e94]
mov ecx, dword [ecx + 0x2dc]
mov eax, dword [ecx]
push edx
call dword [eax + 0x18]
test eax, eax
je 0x4c28fb
lea ecx, [eax - 0x18]
test ecx, ecx
je 0x4c28fb
mov edx, dword [ecx]
call dword [edx + 0x24]
mov ebx, eax
test ebx, ebx
je 0x4c28f7
mov ecx, ebx
call fcn.0055ed90
test eax, eax
jne 0x4c2810
mov ecx, ebx
call fcn.0055a0a0
test eax, eax
je 0x4c28f7
mov ax, word [ebx + 0xfc]
push 1
push eax
call fcn.00659110
add esp, 8
test eax, eax
je 0x4c28f7
test byte [eax + 0x160], 4
jne 0x4c28f7
lea ecx, [esp + 0x50]
push ecx
xor eax, eax
add ebx, 0x28
push ebx
mov ecx, esi
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
call fcn.004bed30
mov ebx, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
mov eax, 0x3d
sub eax, dword [esp + 0x44]
push 0xff
add ebx, eax
add ebx, 0xffffffff
lea eax, [ebx + 2]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x20]
mov edx, 0x70
sub edx, dword [esp + 0x44]
push eax
add ecx, edx
add ecx, 0xffffffff
lea edx, [ecx + 2]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x94]
mov dword [eax + 0xc], ecx
mov dword [esp + 0x90], edx
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x2c]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x78]
add ebx, 0xffffffff
push 0
sub esp, 0x10
mov eax, esp
add edx, 0xffffffff
mov dword [esp + 0x88], ebx
mov ebx, dword [esp + 0x90]
mov dword [eax], edx
mov edx, dword [esp + 0x88]
add ecx, 1
add ebx, 1
mov dword [eax + 8], ecx
mov dword [eax + 4], edx
mov dword [eax + 0xc], ebx
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
mov ebx, dword [esp + 0x28]
cmp dword [esp + 0x10], 0
jne 0x4c2781
mov ebx, dword [esp + 0x18]
mov edx, dword [ebx + 0x1a8]
add dword [esp + 0x14], 1
add ebx, 0x1a8
mov ecx, ebx
call dword [edx + 0xc]
cmp dword [esp + 0x14], eax
jb 0x4c2523
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x60], 0
mov dword [esp + 0x1c], 0
jbe 0x4c2b29
mov ecx, dword [esp + 0x1c]
push 0
push ecx
call fcn.00659110
add esp, 8
test eax, eax
je 0x4c2b0c
test byte [eax + 0x160], 4
jne 0x4c2b0c
mov edx, dword [eax + 0x84]
lea ebx, [eax + 0x84]
mov ecx, ebx
mov dword [esp + 0x28], ebx
call dword [edx + 0x2c]
test eax, eax
mov dword [esp + 0x24], eax
je 0x4c2b0c
mov eax, dword [ebx]
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebx
call dword [eax + 0x34]
mov edx, dword [eax]
mov eax, edx
shr eax, 0x18
sub eax, 0
je 0x4c29c6
sub eax, 1
je 0x4c29b8
sub eax, 1
jne 0x4c2b01
mov eax, dword [0x912e94]
mov ecx, dword [eax + 0x2e4]
jmp 0x4c29d2
mov ecx, dword [0x912e94]
mov ecx, dword [ecx + 0x2e0]
jmp 0x4c29d2
mov ecx, dword [0x912e94]
mov ecx, dword [ecx + 0x2dc]
mov eax, dword [ecx]
push edx
call dword [eax + 0x18]
test eax, eax
je 0x4c2b01
lea ecx, [eax - 0x18]
test ecx, ecx
je 0x4c2b01
mov edx, dword [ecx]
call dword [edx + 0x24]
mov ebx, eax
test ebx, ebx
je 0x4c2afd
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xd0]
test eax, eax
mov dword [esp + 0x30], eax
je 0x4c2afd
mov ecx, ebx
call fcn.0055a070
test eax, eax
je 0x4c2afd
mov ecx, dword [esp + 0x30]
movzx edx, byte [ecx + 0x124]
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov eax, dword [0x868a6c]
mov ecx, dword [eax + 0x190]
movzx edx, word [ecx + edx*2]
lea eax, [esp + 0x50]
push eax
add ebx, 0x28
push ebx
mov ecx, esi
mov dword [esp + 0x38], edx
call fcn.004bed30
mov ebx, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
mov eax, 0x3d
sub eax, dword [esp + 0x44]
push 0xff
add ebx, eax
add ebx, 0xffffffff
lea eax, [ebx + 2]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x34]
mov edx, 0x70
sub edx, dword [esp + 0x44]
push eax
add ecx, edx
add ecx, 0xffffffff
lea edx, [ecx + 2]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x94]
mov dword [eax + 0xc], ecx
mov dword [esp + 0x90], edx
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x2c]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x78]
add ebx, 0xffffffff
push 0
sub esp, 0x10
mov eax, esp
add edx, 0xffffffff
mov dword [esp + 0x88], ebx
mov ebx, dword [esp + 0x90]
mov dword [eax], edx
mov edx, dword [esp + 0x88]
add ecx, 1
add ebx, 1
mov dword [eax + 8], ecx
mov dword [eax + 4], edx
mov dword [eax + 0xc], ebx
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
mov ebx, dword [esp + 0x28]
cmp dword [esp + 0x24], 0
jne 0x4c2985
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x60]
add ecx, 1
mov dword [esp + 0x1c], ecx
movzx ecx, cx
cmp ecx, eax
jb 0x4c2940
mov eax, dword [esi + 0x98]
fnstcw word [esp + 0x10]
fild dword [eax + 0x50]
mov edx, dword [esp + 0x38]
mov ecx, dword [edx + 0x3c]
fild dword [esi + 0xe8]
add ecx, 0x14
movzx eax, word [esp + 0x10]
or ah, 0xc
fimul dword [ecx]
mov ebx, dword [esi + 0xa4]
mov edx, 0x3d
sub edx, dword [esp + 0x44]
fdiv st(1)
mov dword [esp + 0x38], eax
fadd dword [0x786674]
fldcw word [esp + 0x38]
fistp dword [esp + 0x48]
fldcw word [esp + 0x10]
fild dword [ecx + 4]
fnstcw word [esp + 0x10]
mov ecx, 0x70
fimul dword [esi + 0xec]
movzx eax, word [esp + 0x10]
sub ecx, dword [esp + 0x40]
or ah, 0xc
add dword [esp + 0x48], ecx
mov esi, dword [esi + 0xa8]
mov ecx, ebx
and ecx, 1
fdiv st(1)
mov dword [esp + 0x38], eax
mov eax, ebx
fadd dword [0x786674]
fldcw word [esp + 0x38]
fistp dword [esp + 0x4c]
add dword [esp + 0x4c], edx
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
fstp st(0)
add ecx, dword [esp + 0x48]
fldcw word [esp + 0x10]
mov eax, esi
cdq
sub eax, edx
mov edx, eax
mov eax, esi
sar edx, 1
and eax, 1
sub eax, edx
add eax, dword [esp + 0x4c]
lea ebx, [ecx + ebx - 1]
lea esi, [eax + esi - 1]
jmp 0x4c3665
cmp ecx, 5
jne 0x4c34d8
mov ecx, dword [0x912e94]
mov edx, dword [ecx]
push eax
call dword [edx + 0x70]
mov edi, dword [esi + 0xe0]
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0xe4]
mov dword [esp + 0x4c], eax
sub esp, 0x10
mov eax, esp
mov dword [eax + 8], ebx
mov ebx, dword [ebp + 0x18]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 0xc], ebx
mov eax, dword [esp + 0x5c]
lea edx, [eax + edx - 0x3d]
sub esp, 8
mov eax, esp
lea ecx, [edi + ecx - 0x70]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [esi + 0xd0]
mov dword [esp + 0x60], edi
mov edi, dword [ebp + 8]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x3c]
call fcn.006590f0
mov ebx, eax
mov eax, dword [ebx + 0x60]
test eax, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], 0
jbe 0x4c2df2
mov edi, edi
mov ecx, dword [esp + 0x1c]
push 0
push ecx
call fcn.00659110
add esp, 8
test eax, eax
mov dword [esp + 0x28], eax
je 0x4c2dd9
mov ecx, dword [0x912e94]
mov edx, eax
mov eax, dword [edx + 0x64]
push eax
call fcn.004668b0
test eax, eax
je 0x4c2dd9
lea ecx, [eax - 0x18]
test ecx, ecx
je 0x4c2dd9
mov edx, dword [ecx]
call dword [edx + 0x4c]
test eax, eax
je 0x4c2dd9
mov edx, dword [esi + 0x258]
mov ecx, dword [esp + 0x28]
cmp edx, dword [ecx + 0x64]
mov edx, dword [0x912e94]
mov cx, word [ecx + 0x2a]
jne 0x4c2cfe
cmp cx, word [edx + 0x1ac]
jne 0x4c2cf6
mov ebx, dword [esi + 0x24c]
jmp 0x4c2d15
mov ebx, dword [esi + 0x248]
jmp 0x4c2d15
cmp cx, word [edx + 0x1ac]
jne 0x4c2d0f
mov ebx, dword [esi + 0x234]
jmp 0x4c2d15
mov ebx, dword [esi + 0x230]
xor ecx, ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x38]
push ecx
add eax, 0x28
push eax
mov ecx, esi
call fcn.004bed30
mov edx, 0x70
sub edx, dword [esp + 0x48]
mov eax, 0x3d
sub eax, dword [esp + 0x4c]
add dword [esp + 0x38], edx
mov edx, dword [ebx]
add dword [esp + 0x3c], eax
mov ecx, ebx
call dword [edx + 0x14]
cdq
sub eax, edx
mov edx, dword [ebx]
mov ecx, eax
mov eax, dword [esp + 0x38]
sar ecx, 1
sub eax, ecx
mov ecx, ebx
mov dword [esp + 0x60], eax
call dword [edx + 0x18]
cdq
sub eax, edx
mov edx, dword [ebx]
mov ecx, eax
mov eax, dword [esp + 0x3c]
sar ecx, 1
sub eax, ecx
mov ecx, ebx
mov dword [esp + 0x64], eax
call dword [edx + 0x14]
mov ecx, dword [esp + 0x60]
lea edx, [eax + ecx - 1]
mov eax, dword [ebx]
mov ecx, ebx
mov dword [esp + 0x68], edx
call dword [eax + 0x18]
mov ecx, dword [esp + 0x64]
lea edx, [eax + ecx - 1]
sub esp, 0x10
mov eax, esp
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x70]
mov dword [eax], edx
mov edx, dword [esp + 0x7c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
sub esp, 8
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0x3c]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebx + 0x60]
add ecx, 1
mov dword [esp + 0x1c], ecx
movzx ecx, cx
cmp ecx, eax
jb 0x4c2c80
mov edx, dword [ebx + 0x1a8]
add ebx, 0x1a8
mov ecx, ebx
mov dword [esp + 0x18], 0
call dword [edx + 0xc]
test eax, eax
jbe 0x4c321a
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x14]
mov ebx, dword [eax]
test ebx, ebx
mov dword [esp + 0x28], ebx
je 0x4c31f6
mov ecx, ebx
call fcn.005f3d90
test eax, eax
je 0x4c31f6
mov eax, dword [0x868a6c]
movzx edx, byte [ebx + 0x124]
mov ecx, dword [eax + 0x190]
movzx edx, word [ecx + edx*2]
mov eax, dword [ebx + 0x23c]
lea ecx, [ebx + 0x23c]
mov dword [esp + 0x24], edx
call dword [eax + 0x2c]
test eax, eax
mov dword [esp + 0x10], eax
je 0x4c3050
jmp 0x4c2e80
mov edx, dword [ebx + 0x23c]
lea ecx, [ebx + 0x23c]
lea eax, [esp + 0x10]
push eax
call dword [edx + 0x34]
mov edx, dword [eax]
mov eax, edx
shr eax, 0x18
sub eax, 0
je 0x4c2eca
sub eax, 1
je 0x4c2ebc
sub eax, 1
jne 0x4c3045
mov ecx, dword [0x912e94]
mov ecx, dword [ecx + 0x2e4]
jmp 0x4c2ed6
mov ecx, dword [0x912e94]
mov ecx, dword [ecx + 0x2e0]
jmp 0x4c2ed6
mov ecx, dword [0x912e94]
mov ecx, dword [ecx + 0x2dc]
mov eax, dword [ecx]
push edx
call dword [eax + 0x18]
test eax, eax
je 0x4c3045
lea ecx, [eax - 0x18]
test ecx, ecx
je 0x4c3045
mov edx, dword [ecx]
call dword [edx + 0x24]
mov ebx, eax
test ebx, ebx
je 0x4c3041
mov ax, word [ebx + 0xfc]
push 1
push eax
call fcn.00659110
add esp, 8
test eax, eax
je 0x4c3041
test byte [eax + 0x160], 4
jne 0x4c3041
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0xd0]
test eax, eax
je 0x4c3041
movzx eax, byte [eax + 0x124]
mov ecx, dword [0x868a6c]
mov edx, dword [ecx + 0x190]
movzx eax, word [edx + eax*2]
lea ecx, [esp + 0x50]
push ecx
mov dword [esp + 0x3c], eax
xor eax, eax
add ebx, 0x28
push ebx
mov ecx, esi
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
call fcn.004bed30
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov eax, 0x70
sub eax, dword [esp + 0x48]
push 0xff
add edx, eax
mov eax, 0x3d
sub eax, dword [esp + 0x50]
add edx, 0xffffffff
add ecx, eax
add ecx, 0xffffffff
lea eax, [ecx + 2]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x3c]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax + 4], ecx
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x84]
lea ebx, [edx + 2]
mov dword [eax + 0xc], ecx
mov dword [esp + 0x48], edx
mov dword [eax], edx
mov dword [eax + 8], ebx
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x2c]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x6c]
add eax, 1
push 0
mov dword [esp + 0x68], eax
add edx, 1
sub esp, 0x10
mov eax, esp
sub ecx, 1
mov dword [eax], edx
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x78]
sub ebx, 1
mov dword [eax + 0xc], ecx
mov dword [esp + 0x80], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
mov edx, dword [esp + 0x60]
add dword [esp + 0x64], 2
mov ecx, dword [esp + 0x6c]
push 0
sub esp, 0x10
mov eax, esp
add edx, 2
mov dword [eax], edx
mov edx, dword [esp + 0x78]
sub ecx, 2
sub ebx, 2
mov dword [eax + 0xc], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
mov ebx, dword [esp + 0x28]
cmp dword [esp + 0x10], 0
jne 0x4c2e80
mov edx, dword [ebx + 0x178]
add ebx, 0x178
mov ecx, ebx
mov dword [esp + 0x28], ebx
call dword [edx + 0x2c]
test eax, eax
mov dword [esp + 0x10], eax
je 0x4c31f6
mov eax, dword [ebx]
lea ecx, [esp + 0x10]
push ecx
mov ecx, ebx
call dword [eax + 0x34]
mov edx, dword [eax]
mov eax, edx
shr eax, 0x18
sub eax, 0
je 0x4c30b2
sub eax, 1
je 0x4c30a4
sub eax, 1
jne 0x4c31eb
mov eax, dword [0x912e94]
mov ecx, dword [eax + 0x2e4]
jmp 0x4c30be
mov ecx, dword [0x912e94]
mov ecx, dword [ecx + 0x2e0]
jmp 0x4c30be
mov ecx, dword [0x912e94]
mov ecx, dword [ecx + 0x2dc]
mov eax, dword [ecx]
push edx
call dword [eax + 0x18]
test eax, eax
je 0x4c31eb
lea ecx, [eax - 0x18]
test ecx, ecx
je 0x4c31eb
mov edx, dword [ecx]
call dword [edx + 0x24]
mov ebx, eax
test ebx, ebx
je 0x4c31e7
mov ecx, ebx
call fcn.0055ed90
test eax, eax
jne 0x4c3100
mov ecx, ebx
call fcn.0055a0a0
test eax, eax
je 0x4c31e7
mov ax, word [ebx + 0xfc]
push 1
push eax
call fcn.00659110
add esp, 8
test eax, eax
je 0x4c31e7
test byte [eax + 0x160], 4
jne 0x4c31e7
lea ecx, [esp + 0x1c]
push ecx
xor eax, eax
add ebx, 0x28
push ebx
mov ecx, esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call fcn.004bed30
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov eax, 0x3d
sub eax, dword [esp + 0x4c]
push 0xff
add ebx, eax
add ebx, 0xffffffff
lea eax, [ebx + 2]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x28]
mov edx, 0x70
sub edx, dword [esp + 0x4c]
push eax
add ecx, edx
add ecx, 0xffffffff
lea edx, [ecx + 2]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x94]
mov dword [eax + 0xc], ecx
mov dword [esp + 0x90], edx
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x2c]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x78]
add ebx, 0xffffffff
push 0
sub esp, 0x10
mov eax, esp
add edx, 0xffffffff
mov dword [esp + 0x88], ebx
mov ebx, dword [esp + 0x90]
mov dword [eax], edx
mov edx, dword [esp + 0x88]
add ecx, 1
add ebx, 1
mov dword [eax + 8], ecx
mov dword [eax + 4], edx
mov dword [eax + 0xc], ebx
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
mov ebx, dword [esp + 0x28]
cmp dword [esp + 0x10], 0
jne 0x4c3071
mov ebx, dword [esp + 0x14]
mov edx, dword [ebx + 0x1a8]
add dword [esp + 0x18], 1
add ebx, 0x1a8
mov ecx, ebx
call dword [edx + 0xc]
cmp dword [esp + 0x18], eax
jb 0x4c2e13
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x60], 0
mov dword [esp + 0x1c], 0
jbe 0x4c3419
mov ecx, dword [esp + 0x1c]
push 0
push ecx
call fcn.00659110
add esp, 8
test eax, eax
je 0x4c33fc
test byte [eax + 0x160], 4
jne 0x4c33fc
mov edx, dword [eax + 0x84]
lea ebx, [eax + 0x84]
mov ecx, ebx
mov dword [esp + 0x28], ebx
call dword [edx + 0x2c]
test eax, eax
mov dword [esp + 0x24], eax
je 0x4c33fc
mov eax, dword [ebx]
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebx
call dword [eax + 0x34]
mov edx, dword [eax]
mov eax, edx
shr eax, 0x18
sub eax, 0
je 0x4c32b6
sub eax, 1
je 0x4c32a8
sub eax, 1
jne 0x4c33f1
mov eax, dword [0x912e94]
mov ecx, dword [eax + 0x2e4]
jmp 0x4c32c2
mov ecx, dword [0x912e94]
mov ecx, dword [ecx + 0x2e0]
jmp 0x4c32c2
mov ecx, dword [0x912e94]
mov ecx, dword [ecx + 0x2dc]
mov eax, dword [ecx]
push edx
call dword [eax + 0x18]
test eax, eax
je 0x4c33f1
lea ecx, [eax - 0x18]
test ecx, ecx
je 0x4c33f1
mov edx, dword [ecx]
call dword [edx + 0x24]
mov ebx, eax
test ebx, ebx
je 0x4c33ed
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xd0]
test eax, eax
mov dword [esp + 0x38], eax
je 0x4c33ed
mov ecx, ebx
call fcn.0055a070
test eax, eax
je 0x4c33ed
mov ecx, dword [esp + 0x38]
movzx edx, byte [ecx + 0x124]
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov eax, dword [0x868a6c]
mov ecx, dword [eax + 0x190]
movzx edx, word [ecx + edx*2]
lea eax, [esp + 0x50]
push eax
add ebx, 0x28
push ebx
mov ecx, esi
mov dword [esp + 0x40], edx
call fcn.004bed30
mov ebx, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
mov eax, 0x3d
sub eax, dword [esp + 0x4c]
push 0xff
add ebx, eax
add ebx, 0xffffffff
lea eax, [ebx + 2]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x3c]
mov edx, 0x70
sub edx, dword [esp + 0x4c]
push eax
add ecx, edx
add ecx, 0xffffffff
lea edx, [ecx + 2]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x94]
mov dword [eax + 0xc], ecx
mov dword [esp + 0x90], edx
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x2c]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x78]
add ebx, 0xffffffff
push 0
sub esp, 0x10
mov eax, esp
add edx, 0xffffffff
mov dword [esp + 0x88], ebx
mov ebx, dword [esp + 0x90]
mov dword [eax], edx
mov edx, dword [esp + 0x88]
add ecx, 1
add ebx, 1
mov dword [eax + 8], ecx
mov dword [eax + 4], edx
mov dword [eax + 0xc], ebx
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
mov ebx, dword [esp + 0x28]
cmp dword [esp + 0x24], 0
jne 0x4c3275
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x60]
add ecx, 1
mov dword [esp + 0x1c], ecx
movzx ecx, cx
cmp ecx, eax
jb 0x4c3230
mov edx, dword [esp + 0x40]
fnstcw word [esp + 0x10]
mov ecx, dword [edx + 0x3c]
mov eax, dword [esi + 0x98]
fild dword [eax + 0x50]
add ecx, 0x14
fild dword [esi + 0xe8]
movzx eax, word [esp + 0x10]
or ah, 0xc
mov ebx, dword [esi + 0xa4]
fimul dword [ecx]
mov edx, 0x3d
sub edx, dword [esp + 0x4c]
fdiv st(1)
mov dword [esp + 0x40], eax
fadd dword [0x786674]
fldcw word [esp + 0x40]
fistp dword [esp + 0x38]
fldcw word [esp + 0x10]
fild dword [ecx + 4]
fnstcw word [esp + 0x10]
mov ecx, 0x70
fimul dword [esi + 0xec]
movzx eax, word [esp + 0x10]
sub ecx, dword [esp + 0x48]
or ah, 0xc
add dword [esp + 0x38], ecx
mov esi, dword [esi + 0xa8]
mov ecx, ebx
and ecx, 1
fdiv st(1)
mov dword [esp + 0x40], eax
mov eax, ebx
fadd dword [0x786674]
fldcw word [esp + 0x40]
fistp dword [esp + 0x3c]
add dword [esp + 0x3c], edx
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
fstp st(0)
add ecx, dword [esp + 0x38]
fldcw word [esp + 0x10]
mov eax, esi
cdq
sub eax, edx
mov edx, eax
mov eax, esi
sar edx, 1
and eax, 1
sub eax, edx
add eax, dword [esp + 0x3c]
jmp 0x4c365d
cmp ecx, 3
jne 0x4c3583
mov ecx, dword [0x912e94]
mov edx, dword [ecx]
push eax
call dword [edx + 0x70]
mov ebx, dword [esi + 0xe0]
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0xe4]
mov dword [esp + 0x54], eax
sub esp, 0x10
mov eax, esp
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x18]
mov dword [eax], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 8], edx
mov ecx, dword [esi + 0xc0]
mov eax, dword [ecx + 0x3ea8]
cdq
sub eax, edx
mov edx, dword [ebp + 0x10]
sar eax, 1
add eax, dword [esp + 0x64]
sub esp, 8
lea eax, [eax + edx - 0x3d]
mov dword [esp + 0x58], eax
mov eax, dword [ecx + 0x3ea4]
mov ecx, dword [esp + 0x58]
cdq
sub eax, edx
sar eax, 1
add eax, ebx
lea edi, [eax + edi - 0x70]
mov eax, esp
mov dword [eax], edi
mov edi, dword [ebp + 8]
mov dword [eax + 4], ecx
mov eax, dword [esi + 0xc0]
mov ecx, dword [eax + 0x10]
mov edx, dword [edi]
push ecx
mov ecx, edi
call dword [edx + 0x3c]
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x38]
jmp 0x4c3600
cmp ecx, 4
jne 0x4c3681
mov ecx, dword [0x912e94]
mov edx, dword [ecx]
push eax
call dword [edx + 0x70]
mov ebx, dword [esi + 0xe0]
mov edi, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0xe4]
mov dword [esp + 0x54], eax
sub esp, 0x10
mov eax, esp
mov dword [eax + 8], edi
mov edi, dword [ebp + 0x18]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 0xc], edi
mov eax, dword [esp + 0x64]
mov edi, dword [ebp + 8]
lea edx, [eax + edx - 0x3d]
sub esp, 8
mov eax, esp
lea ecx, [ebx + ecx - 0x70]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [esi + 0xc0]
mov ecx, dword [eax + 0x18]
mov edx, dword [edi]
push ecx
mov ecx, edi
call dword [edx + 0x3c]
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x3c]
lea edx, [esp + 0x48]
add ecx, 0x14
push edx
push ecx
mov ecx, esi
call fcn.004bed30
mov eax, 0x3d
sub eax, dword [esp + 0x54]
mov edx, 0x70
add dword [esp + 0x4c], eax
sub edx, ebx
add dword [esp + 0x48], edx
mov ebx, dword [esi + 0xa4]
mov esi, dword [esi + 0xa8]
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
mov ecx, ebx
and ecx, 1
sub ecx, eax
add ecx, dword [esp + 0x48]
mov eax, esi
cdq
sub eax, edx
mov edx, eax
mov eax, esi
and eax, 1
sar edx, 1
sub eax, edx
add eax, dword [esp + 0x4c]
lea ebx, [ebx + ecx - 1]
lea esi, [esi + eax - 1]
push 0xffff
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov dword [edx + 0xc], esi
mov dword [edx + 8], ebx
mov dword [edx + 4], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14