Function at 0x40fbb0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4955d1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x394
mov eax, dword [0x4a4194]
xor eax, dword [ebp + 4]
mov dword [ebp - 0x60], eax
push esi
mov dword [ebp - 0x394], ecx
push 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x34]
call fcn.00452bf0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.004526b0
mov byte [ebp - 4], 1
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x38], 0
push 0x497590
lea ecx, [ebp - 0x48]
call fcn.00452a30
mov ecx, dword [ebp - 0x394]
mov dword [ecx + 0x3d0], 0
mov edx, dword [ebp - 0x394]
mov dword [edx + 0x3d8], 0
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x20]
movsx ecx, byte [eax]
test ecx, ecx
je 0x411a1f
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x3e0]
add eax, dword [ebp - 0x38]
cmp eax, 0x294
jae 0x411a1f
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x20]
movzx edx, byte [ecx]
cmp edx, 0x81
jl 0x40fc89
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x20]
movzx ecx, byte [eax]
cmp ecx, 0xfe
jle 0x40fc9d
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x20]
movzx eax, byte [edx]
cmp eax, 0xe0
jl 0x40ff25
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x20]
mov dl, byte [ecx]
mov byte [ebp - 0x24], dl
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x20]
mov cl, byte [eax + 1]
mov byte [ebp - 0x23], cl
mov byte [ebp - 0x22], 0
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp - 0x48]
call fcn.00452ad0
push 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x394]
mov ecx, dword [eax + 0xa58]
push ecx
mov ecx, dword [ebp - 0x394]
call fcn.00412650
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x38]
mov dword [edx], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x3d4]
mov dword [ecx + 4], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x3e8]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x4c]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x394]
mov ecx, dword [eax + 0x3e0]
mov edx, dword [ebp - 0x394]
add ecx, dword [edx + 0x3d8]
mov eax, dword [ebp + 0x10]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x3f8]
mov dword [ecx + 0x20], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x3fc]
mov dword [ecx + 0x24], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0xe4]
mov dword [ecx + 0x28], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x40c]
mov dword [ecx + 0x2c], eax
mov ecx, dword [ebp - 0x394]
mov dword [ecx + 0x40c], 0xe
mov edx, dword [ebp - 0x394]
cmp dword [edx + 0x408], 1
jne 0x40fe47
mov eax, dword [ebp - 0x394]
mov ecx, dword [ebp - 0x394]
mov edx, dword [eax + 0x3e8]
cmp edx, dword [ecx + 0x50]
je 0x40fe47
mov eax, dword [ebp - 0x394]
mov ecx, dword [ebp - 0x394]
mov edx, dword [eax + 0x3e8]
cmp edx, dword [ecx + 0x50]
jle 0x40fe1e
mov eax, dword [ebp - 0x394]
mov ecx, dword [ebp - 0x394]
mov edx, dword [eax + 0x3e8]
sub edx, dword [ecx + 0x50]
mov eax, dword [ebp - 0x394]
mov ecx, dword [eax + 0x3dc]
sub ecx, edx
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x3e8]
cdq
mov esi, 0xa
idiv esi
add ecx, eax
mov eax, dword [ebp + 0x10]
mov dword [eax + 0x14], ecx
jmp 0x40fe45
mov ecx, dword [ebp - 0x394]
mov edx, dword [ebp - 0x394]
mov eax, dword [ecx + 0x50]
sub eax, dword [edx + 0x3e8]
mov ecx, dword [ebp - 0x394]
add eax, dword [ecx + 0x3dc]
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x14], eax
jmp 0x40fe59
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x394]
mov edx, dword [ecx + 0x3dc]
mov dword [eax + 0x14], edx
mov eax, dword [ebp + 0x10]
mov dword [eax + 0x18], 1
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x3f4]
mov dword [ecx + 0x1c], eax
mov ecx, dword [ebp - 0x38]
add ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x3d8]
add eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x394]
mov dword [ecx + 0x3d8], eax
mov edx, dword [ebp + 0x10]
cmp dword [edx + 0x30], 0
jne 0x40fefe
push 0x34
call fcn.00468207
add esp, 4
mov dword [ebp - 0x348], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x348]
mov dword [eax + 0x30], ecx
mov edx, dword [ebp + 0x10]
cmp dword [edx + 0x30], 0
jne 0x40feeb
push 0x30
mov ecx, 0x4bd504
mov eax, dword [0x4bd504]
call dword [eax + 0xc]
push eax
push 0x49737c
push 0
call dword [0x497194]
push 0
call fcn.004681c7
push 0x34
push 0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x30]
push edx
call fcn.00468010
add esp, 0xc
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x50]
mov dword [ebp + 0x10], edx
mov eax, dword [ebp + 0x10]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp - 0x20]
add ecx, 2
mov dword [ebp - 0x20], ecx
jmp 0x411a1a
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x20]
movsx eax, byte [edx]
cmp eax, 0x40
jne 0x411372
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x20]
movsx eax, byte [edx]
cmp eax, 0x6e
jne 0x4101e0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x3d0]
mov dword [ecx], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x3d4]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x394]
mov edx, dword [ecx + 0x3d4]
mov eax, dword [ebp - 0x394]
add edx, dword [eax + 0x3e8]
mov ecx, dword [ebp - 0x394]
mov dword [ecx + 0x3d4], edx
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x3e8]
mov ecx, dword [ebp - 0x394]
mov edx, dword [ecx + 0x3dc]
lea eax, [eax + edx + 2]
mov ecx, dword [ebp - 0x394]
mov dword [ecx + 0x3dc], eax
cmp dword [ebp + 0x14], 1
jne 0x40fffc
push 0
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x18]
push eax
push 0x4976b8
mov ecx, dword [ebp - 0x394]
mov edx, dword [ecx + 0xa58]
push edx
mov ecx, dword [ebp - 0x394]
call fcn.00412650
mov ecx, dword [ebp - 0x394]
mov dword [ecx + 0x3e0], eax
jmp 0x41000c
mov edx, dword [ebp - 0x394]
mov dword [edx + 0x3e0], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x36c], eax
mov ecx, dword [ebp - 0x36c]
push ecx
mov edx, dword [ebp + 0xc]
add edx, 0x10
push edx
call dword [0x49712c]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0xc8], 1
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x3ec]
mov dword [ecx + 0xc4], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x3f8]
mov dword [ecx + 8], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x3fc]
mov dword [ecx + 0xc], eax
push 0x3c
mov ecx, dword [ebp - 0x394]
add ecx, 0xc
push ecx
mov edx, dword [ebp + 0xc]
add edx, 0x88
push edx
call fcn.00467bc0
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x394]
mov edx, dword [ecx + 0x3e8]
mov dword [eax + 0x88], edx
mov eax, dword [ebp - 0x394]
mov ecx, dword [eax + 0x3e8]
sar ecx, 1
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x8c], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x394]
mov dl, byte [ecx + 0x3f0]
mov byte [eax + 0x9c], dl
mov eax, dword [ebp - 0x394]
mov ecx, dword [eax + 0xa54]
shl ecx, 4
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0xa54]
shl eax, 4
mov edx, dword [ebp - 0x394]
lea eax, [edx + eax + 0x410]
mov edx, dword [ebp - 0x394]
mov edx, dword [edx + ecx + 0x410]
mov ecx, eax
call dword [edx + 0xc]
push eax
mov eax, dword [ebp + 0xc]
add eax, 0xa4
push eax
call dword [0x49712c]
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0xcc], 0
jne 0x410193
push 0xd0
call fcn.00468207
add esp, 4
mov dword [ebp - 0x34c], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x34c]
mov dword [edx + 0xcc], eax
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0xcc], 0
jne 0x41017a
push 0x30
mov ecx, 0x4bd504
mov edx, dword [0x4bd504]
call dword [edx + 0xc]
push eax
push 0x49737c
push 0
call dword [0x497194]
push 0
call fcn.004681c7
push 0xd0
push 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xcc]
push ecx
call fcn.00468010
add esp, 0xc
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xcc]
push eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x394]
call fcn.0040fbb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.004526f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004526f0
jmp 0x41222d
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x20]
movsx eax, byte [edx]
cmp eax, 0x6d
jne 0x4104e1
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x20]
movsx edx, byte [ecx + 1]
cmp edx, 0x73
jne 0x410292
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x20]
mov cl, byte [eax + 2]
mov byte [ebp - 0x6c], cl
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x20]
mov al, byte [edx + 3]
mov byte [ebp - 0x6b], al
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x20]
mov dl, byte [ecx + 4]
mov byte [ebp - 0x6a], dl
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x20]
mov cl, byte [eax + 5]
mov byte [ebp - 0x69], cl
mov byte [ebp - 0x68], 0
lea edx, [ebp - 0x6c]
push edx
call fcn.00468449
add esp, 4
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x20]
add eax, 6
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x394]
mov edx, dword [ebp - 0x5c]
mov dword [ecx + 0xe4], edx
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x394]
call fcn.00412300
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp + 0xc], eax
push 0x497590
lea ecx, [ebp - 0x48]
call fcn.00452a30
jmp 0x40fc3c
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x3d0]
mov dword [ecx], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x3d4]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x394]
mov edx, dword [ecx + 0x3d4]
mov eax, dword [ebp - 0x394]
add edx, dword [eax + 0x3e8]
mov ecx, dword [ebp - 0x394]
mov dword [ecx + 0x3d4], edx
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x3dc]
mov ecx, dword [ebp - 0x394]
add eax, dword [ecx + 0x3e8]
mov edx, dword [ebp - 0x394]
mov dword [edx + 0x3dc], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x370], eax
mov ecx, dword [ebp - 0x370]
push ecx
mov edx, dword [ebp + 0xc]
add edx, 0x10
push edx
call dword [0x49712c]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0xc8], 1
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x3ec]
mov dword [ecx + 0xc4], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x3f8]
mov dword [ecx + 8], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x3fc]
mov dword [ecx + 0xc], eax
push 0x3c
mov ecx, dword [ebp - 0x394]
add ecx, 0xc
push ecx
mov edx, dword [ebp + 0xc]
add edx, 0x88
push edx
call fcn.00467bc0
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x394]
mov edx, dword [ecx + 0x3e8]
mov dword [eax + 0x88], edx
mov eax, dword [ebp - 0x394]
mov ecx, dword [eax + 0x3e8]
sar ecx, 1
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x8c], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x394]
mov dl, byte [ecx + 0x3f0]
mov byte [eax + 0x9c], dl
mov eax, dword [ebp - 0x394]
mov ecx, dword [eax + 0xa54]
shl ecx, 4
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0xa54]
shl eax, 4
mov edx, dword [ebp - 0x394]
lea eax, [edx + eax + 0x410]
mov edx, dword [ebp - 0x394]
mov edx, dword [edx + ecx + 0x410]
mov ecx, eax
call dword [edx + 0xc]
push eax
mov eax, dword [ebp + 0xc]
add eax, 0xa4
push eax
call dword [0x49712c]
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0xcc], 0
jne 0x410484
push 0xd0
call fcn.00468207
add esp, 4
mov dword [ebp - 0x350], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x350]
mov dword [edx + 0xcc], eax
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0xcc], 0
jne 0x41046b
push 0x30
mov ecx, 0x4bd504
mov edx, dword [0x4bd504]
call dword [edx + 0xc]
push eax
push 0x49737c
push 0
call dword [0x497194]
push 0
call fcn.004681c7
push 0xd0
push 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xcc]
push ecx
call fcn.00468010
add esp, 0xc
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x394]
mov dword [eax + 0x3f4], 0
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xcc]
push ecx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x394]
call fcn.0040fbb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.004526f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004526f0
jmp 0x41222d
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x20]
movsx ecx, byte [eax]
cmp ecx, 0x68
jne 0x410731
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x394]
mov ecx, dword [eax + 0x3d0]
mov dword [edx], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x394]
mov ecx, dword [eax + 0x3d4]
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x3d4]
mov ecx, dword [ebp - 0x394]
add eax, dword [ecx + 0x3e8]
mov edx, dword [ebp - 0x394]
mov dword [edx + 0x3d4], eax
mov eax, dword [ebp - 0x394]
mov ecx, dword [eax + 0x3e8]
sar ecx, 1
mov edx, dword [ebp - 0x394]
add ecx, dword [edx + 0x3dc]
mov eax, dword [ebp - 0x394]
mov dword [eax + 0x3dc], ecx
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x374], ecx
mov edx, dword [ebp - 0x374]
push edx
mov eax, dword [ebp + 0xc]
add eax, 0x10
push eax
call dword [0x49712c]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0xc8], 1
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x394]
mov ecx, dword [eax + 0x3ec]
mov dword [edx + 0xc4], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x394]
mov ecx, dword [eax + 0x3f8]
mov dword [edx + 8], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x394]
mov ecx, dword [eax + 0x3fc]
mov dword [edx + 0xc], ecx
push 0x3c
mov edx, dword [ebp - 0x394]
add edx, 0xc
push edx
mov eax, dword [ebp + 0xc]
add eax, 0x88
push eax
call fcn.00467bc0
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x3e8]
mov dword [ecx + 0x88], eax
mov ecx, dword [ebp - 0x394]
mov edx, dword [ecx + 0x3e8]
sar edx, 1
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x8c], edx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x394]
mov al, byte [edx + 0x3f0]
mov byte [ecx + 0x9c], al
mov ecx, dword [ebp - 0x394]
mov edx, dword [ecx + 0xa54]
shl edx, 4
mov eax, dword [ebp - 0x394]
mov ecx, dword [eax + 0xa54]
shl ecx, 4
mov eax, dword [ebp - 0x394]
lea ecx, [eax + ecx + 0x410]
mov eax, dword [ebp - 0x394]
mov edx, dword [eax + edx + 0x410]
call dword [edx + 0xc]
push eax
mov eax, dword [ebp + 0xc]
add eax, 0xa4
push eax
call dword [0x49712c]
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0xcc], 0
jne 0x4106e4
push 0xd0
call fcn.00468207
add esp, 4
mov dword [ebp - 0x354], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x354]
mov dword [edx + 0xcc], eax
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0xcc], 0
jne 0x4106cb
push 0x30
mov ecx, 0x4bd504
mov edx, dword [0x4bd504]
call dword [edx + 0xc]
push eax
push 0x49737c
push 0
call dword [0x497194]
push 0
call fcn.004681c7
push 0xd0
push 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xcc]
push ecx
call fcn.00468010
add esp, 0xc
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xcc]
push eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x394]
call fcn.0040fbb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.004526f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004526f0
jmp 0x41222d
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x20]
movsx eax, byte [edx]
cmp eax, 0x70
jne 0x41098d
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x3d0]
mov dword [ecx], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x3d4]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x394]
mov edx, dword [ecx + 0x3d4]
mov eax, dword [ebp - 0x394]
add edx, dword [eax + 0x3e8]
mov ecx, dword [ebp - 0x394]
mov dword [ecx + 0x3d4], edx
mov edx, dword [ebp - 0x394]
fild dword [edx + 0x3e8]
fdiv dword [0x4976b4]
call fcn.00467f50
mov ecx, dword [ebp - 0x394]
add eax, dword [ecx + 0x3dc]
mov edx, dword [ebp - 0x394]
mov dword [edx + 0x3dc], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x378], eax
mov ecx, dword [ebp - 0x378]
push ecx
mov edx, dword [ebp + 0xc]
add edx, 0x10
push edx
call dword [0x49712c]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0xc8], 1
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x3ec]
mov dword [ecx + 0xc4], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x3f8]
mov dword [ecx + 8], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x3fc]
mov dword [ecx + 0xc], eax
push 0x3c
mov ecx, dword [ebp - 0x394]
add ecx, 0xc
push ecx
mov edx, dword [ebp + 0xc]
add edx, 0x88
push edx
call fcn.00467bc0
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x394]
mov edx, dword [ecx + 0x3e8]
mov dword [eax + 0x88], edx
mov eax, dword [ebp - 0x394]
mov ecx, dword [eax + 0x3e8]
sar ecx, 1
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x8c], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x394]
mov dl, byte [ecx + 0x3f0]
mov byte [eax + 0x9c], dl
mov eax, dword [ebp - 0x394]
mov ecx, dword [eax + 0xa54]
shl ecx, 4
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0xa54]
shl eax, 4
mov edx, dword [ebp - 0x394]
lea eax, [edx + eax + 0x410]
mov edx, dword [ebp - 0x394]
mov edx, dword [edx + ecx + 0x410]
mov ecx, eax
call dword [edx + 0xc]
push eax
mov eax, dword [ebp + 0xc]
add eax, 0xa4
push eax
call dword [0x49712c]
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0xcc], 0
jne 0x410940
push 0xd0
call fcn.00468207
add esp, 4
mov dword [ebp - 0x358], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x358]
mov dword [edx + 0xcc], eax
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0xcc], 0
jne 0x410927
push 0x30
mov ecx, 0x4bd504
mov edx, dword [0x4bd504]
call dword [edx + 0xc]
push eax
push 0x49737c
push 0
call dword [0x497194]
push 0
call fcn.004681c7
push 0xd0
push 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xcc]
push ecx
call fcn.00468010
add esp, 0xc
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xcc]
push eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x394]
call fcn.0040fbb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.004526f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004526f0
jmp 0x41222d
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x20]
movsx eax, byte [edx]
cmp eax, 0x6c
jne 0x410a44
lea ecx, [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x394]
call fcn.00412300
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x20]
mov al, byte [edx + 1]
mov byte [ebp - 0xb8], al
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x20]
mov dl, byte [ecx + 2]
mov byte [ebp - 0xb7], dl
mov byte [ebp - 0xb6], 0
lea eax, [ebp - 0xb8]
push eax
call fcn.00468449
add esp, 4
mov ecx, dword [ebp - 0x394]
mov dword [ecx + 0xa54], eax
mov edx, dword [ebp - 0x20]
add edx, 3
mov dword [ebp - 0x20], edx
push 0x497590
lea ecx, [ebp - 0x48]
call fcn.00452a30
lea eax, [ebp - 0xac]
push eax
mov ecx, dword [ebp - 0x394]
call fcn.00412510
lea ecx, [ebp - 0xac]
push ecx
mov ecx, dword [ebp - 0x394]
call fcn.004125e0
jmp 0x40fc3c
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x20]
movsx eax, byte [edx]
cmp eax, 0x62
jne 0x410ac7
lea ecx, [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x394]
call fcn.00412300
mov dword [ebp - 0xfc], eax
mov ecx, dword [ebp - 0xfc]
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
push 0x497590
lea ecx, [ebp - 0x48]
call fcn.00452a30
mov eax, dword [ebp - 0x394]
mov dword [eax + 0x3ec], 1
lea ecx, [ebp - 0xf8]
push ecx
mov ecx, dword [ebp - 0x394]
call fcn.00412510
lea edx, [ebp - 0xf8]
push edx
mov ecx, dword [ebp - 0x394]
call fcn.004125e0
jmp 0x40fc3c
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x20]
movsx ecx, byte [eax]
cmp ecx, 0x63
jne 0x410caa
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x394]
call fcn.00412300
mov dword [ebp - 0x100], eax
mov edx, dword [ebp - 0x100]
mov dword [ebp + 0xc], edx
push 0x497590
lea ecx, [ebp - 0x48]
call fcn.00452a30
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x20]
movsx ecx, byte [eax + 1]
cmp ecx, 0x63
jne 0x410bdb
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x20]
mov cl, byte [eax + 1]
push ecx
mov ecx, dword [ebp - 0x394]
call fcn.004122a0
mov esi, eax
shl esi, 4
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x20]
mov al, byte [edx + 2]
push eax
mov ecx, dword [ebp - 0x394]
call fcn.004122a0
or esi, eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x20]
mov dl, byte [ecx + 3]
push edx
mov ecx, dword [ebp - 0x394]
call fcn.004122a0
shl eax, 0xc
or esi, eax
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x20]
mov cl, byte [eax + 4]
push ecx
mov ecx, dword [ebp - 0x394]
call fcn.004122a0
shl eax, 8
or esi, eax
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x20]
mov al, byte [edx + 5]
push eax
mov ecx, dword [ebp - 0x394]
call fcn.004122a0
shl eax, 0x14
or esi, eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x20]
mov dl, byte [ecx + 6]
push edx
mov ecx, dword [ebp - 0x394]
call fcn.004122a0
shl eax, 0x10
or esi, eax
mov eax, dword [ebp - 0x394]
mov dword [eax + 0x3f8], esi
mov ecx, dword [ebp - 0x20]
add ecx, 7
mov dword [ebp - 0x20], ecx
jmp 0x410ca5
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x20]
movsx eax, byte [edx + 1]
cmp eax, 0x73
jne 0x410ca5
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x20]
mov al, byte [edx + 1]
push eax
mov ecx, dword [ebp - 0x394]
call fcn.004122a0
mov esi, eax
shl esi, 4
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x20]
mov dl, byte [ecx + 2]
push edx
mov ecx, dword [ebp - 0x394]
call fcn.004122a0
or esi, eax
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x20]
mov cl, byte [eax + 3]
push ecx
mov ecx, dword [ebp - 0x394]
call fcn.004122a0
shl eax, 0xc
or esi, eax
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x20]
mov al, byte [edx + 4]
push eax
mov ecx, dword [ebp - 0x394]
call fcn.004122a0
shl eax, 8
or esi, eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x20]
mov dl, byte [ecx + 5]
push edx
mov ecx, dword [ebp - 0x394]
call fcn.004122a0
shl eax, 0x14
or esi, eax
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x20]
mov cl, byte [eax + 6]
push ecx
mov ecx, dword [ebp - 0x394]
call fcn.004122a0
shl eax, 0x10
or esi, eax
mov edx, dword [ebp - 0x394]
mov dword [edx + 0x3fc], esi
mov eax, dword [ebp - 0x20]
add eax, 7
mov dword [ebp - 0x20], eax
jmp 0x40fc3c
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x20]
movsx edx, byte [ecx]
cmp edx, 0x77
jne 0x410da8
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x20]
movsx ecx, byte [eax + 1]
cmp ecx, 0x68
jne 0x410da8
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x394]
call fcn.00412300
mov dword [ebp - 0x14c], eax
mov edx, dword [ebp - 0x14c]
mov dword [ebp + 0xc], edx
push 0x497590
lea ecx, [ebp - 0x48]
call fcn.00452a30
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x20]
mov cl, byte [eax + 2]
mov byte [ebp - 0x148], cl
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x20]
mov al, byte [edx + 3]
mov byte [ebp - 0x147], al
mov byte [ebp - 0x146], 0
lea ecx, [ebp - 0x148]
push ecx
call fcn.00468449
add esp, 4
mov edx, dword [ebp - 0x394]
mov dword [edx + 0x3e8], eax
mov eax, dword [ebp - 0x394]
mov ecx, dword [eax + 0x3d4]
mov edx, dword [ebp - 0x394]
add ecx, dword [edx + 0x3e8]
mov eax, dword [ebp - 0x394]
mov dword [eax + 0x3d4], ecx
mov ecx, dword [ebp - 0x20]
add ecx, 4
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x394]
mov dword [edx + 0x408], 1
lea eax, [ebp - 0x13c]
push eax
mov ecx, dword [ebp - 0x394]
call fcn.00412510
lea ecx, [ebp - 0x13c]
push ecx
mov ecx, dword [ebp - 0x394]
call fcn.004125e0
jmp 0x40fc3c
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x20]
movsx eax, byte [edx]
cmp eax, 0x69
jne 0x410e04
lea ecx, [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x394]
call fcn.00412300
mov dword [ebp - 0x150], eax
mov ecx, dword [ebp - 0x150]
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
push 0x497590
lea ecx, [ebp - 0x48]
call fcn.00452a30
mov eax, dword [ebp - 0x394]
mov byte [eax + 0x3f0], 1
jmp 0x40fc3c
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x20]
movsx edx, byte [ecx]
cmp edx, 0x73
jne 0x410f4d
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x394]
call fcn.00412300
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp - 0x1c8]
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
push 0x497590
lea ecx, [ebp - 0x48]
call fcn.00452a30
mov dword [ebp - 0x154], 0xd377d0
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x20]
mov al, byte [edx]
mov byte [ebp - 0x1c4], al
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x20]
mov dl, byte [ecx + 1]
mov byte [ebp - 0x1c3], dl
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x20]
mov cl, byte [eax + 2]
mov byte [ebp - 0x1c2], cl
mov byte [ebp - 0x1c1], 0
lea edx, [ebp - 0x1c4]
push edx
call fcn.00468449
add esp, 4
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
imul eax, eax, 0x65
mov ecx, dword [ebp - 0x154]
lea edx, [ecx + eax + 0x3e38]
push edx
call dword [0x497128]
test eax, eax
je 0x410f3f
lea ecx, [ebp - 0x1d8]
call fcn.004526b0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x158]
imul eax, eax, 0x65
mov ecx, dword [ebp - 0x154]
lea edx, [ecx + eax + 0x3e38]
push edx
lea ecx, [ebp - 0x1d8]
call fcn.00452a30
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax + 3]
push edx
lea ecx, [ebp - 0x1d8]
call fcn.00452ad0
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x37c], eax
mov ecx, dword [ebp - 0x37c]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp + 8]
lea ecx, [eax + edx + 3]
push ecx
call dword [0x49712c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1d8]
call fcn.004526f0
mov edx, dword [ebp - 0x20]
add edx, 3
mov dword [ebp - 0x20], edx
jmp 0x40fc3c
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x20]
movsx ecx, byte [eax]
cmp ecx, 0x66
jne 0x41108a
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x394]
call fcn.00412300
mov dword [ebp - 0x260], eax
mov edx, dword [ebp - 0x260]
mov dword [ebp + 0xc], edx
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
push 0x497590
lea ecx, [ebp - 0x48]
call fcn.00452a30
mov dword [ebp - 0x1ec], 0xd377d0
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x20]
mov dl, byte [ecx]
mov byte [ebp - 0x25c], dl
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x20]
mov cl, byte [eax + 1]
mov byte [ebp - 0x25b], cl
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x20]
mov al, byte [edx + 2]
mov byte [ebp - 0x25a], al
mov byte [ebp - 0x259], 0
lea ecx, [ebp - 0x25c]
push ecx
call fcn.00468449
add esp, 4
mov dword [ebp - 0x1f0], eax
push 0xa
lea edx, [ebp - 0x25c]
push edx
mov eax, dword [ebp - 0x1f0]
mov ecx, dword [ebp - 0x1ec]
mov edx, dword [ecx + eax*4 + 0x31b8]
push edx
call fcn.0048f9b8
add esp, 0xc
lea ecx, [ebp - 0x1e8]
call fcn.004526b0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x1e8]
call fcn.00452a30
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 3]
push eax
lea ecx, [ebp - 0x1e8]
call fcn.00452ad0
mov ecx, dword [ebp - 0x1e4]
mov dword [ebp - 0x380], ecx
mov edx, dword [ebp - 0x380]
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax + 3]
push edx
call dword [0x49712c]
mov eax, dword [ebp - 0x20]
add eax, 3
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1e8]
call fcn.004526f0
jmp 0x40fc3c
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x20]
movsx edx, byte [ecx]
cmp edx, 0x67
jne 0x4111c7
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x394]
call fcn.00412300
mov dword [ebp - 0x2e8], eax
mov eax, dword [ebp - 0x2e8]
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
push 0x497590
lea ecx, [ebp - 0x48]
call fcn.00452a30
mov dword [ebp - 0x278], 0x4aecfc
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x20]
mov al, byte [edx]
mov byte [ebp - 0x2e4], al
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x20]
mov dl, byte [ecx + 1]
mov byte [ebp - 0x2e3], dl
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x20]
mov cl, byte [eax + 2]
mov byte [ebp - 0x2e2], cl
mov byte [ebp - 0x2e1], 0
lea edx, [ebp - 0x2e4]
push edx
call fcn.00468449
add esp, 4
mov dword [ebp - 0x274], eax
push 0xa
lea eax, [ebp - 0x2e4]
push eax
mov ecx, dword [ebp - 0x274]
mov edx, dword [ebp - 0x278]
mov eax, dword [edx + ecx*4 + 0xa70]
push eax
call fcn.0048f9b8
add esp, 0xc
lea ecx, [ebp - 0x270]
call fcn.004526b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2e4]
push ecx
lea ecx, [ebp - 0x270]
call fcn.00452a30
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp + 8]
lea ecx, [eax + edx + 3]
push ecx
lea ecx, [ebp - 0x270]
call fcn.00452ad0
mov edx, dword [ebp - 0x26c]
mov dword [ebp - 0x384], edx
mov eax, dword [ebp - 0x384]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 3]
push eax
call dword [0x49712c]
mov ecx, dword [ebp - 0x20]
add ecx, 3
mov dword [ebp - 0x20], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x270]
call fcn.004526f0
jmp 0x40fc3c
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x20]
movsx eax, byte [edx]
cmp eax, 0x6b
jne 0x411235
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x20]
movsx edx, byte [ecx + 1]
cmp edx, 0x77
jne 0x411235
mov eax, dword [ebp - 0x20]
add eax, 2
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x394]
mov dword [ecx + 0x40c], 0xc
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x394]
call fcn.00412300
mov dword [ebp - 0x2ec], eax
mov edx, dword [ebp - 0x2ec]
mov dword [ebp + 0xc], edx
push 0x497590
lea ecx, [ebp - 0x48]
call fcn.00452a30
jmp 0x40fc3c
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x20]
movsx ecx, byte [eax]
cmp ecx, 0x72
jne 0x411372
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x394]
call fcn.00412300
mov dword [ebp - 0x32c], eax
mov edx, dword [ebp - 0x32c]
mov dword [ebp + 0xc], edx
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
push 0x497590
lea ecx, [ebp - 0x48]
call fcn.00452a30
mov ecx, dword [ebp - 0x394]
mov edx, dword [ecx + 0x3d4]
mov eax, dword [ebp - 0x394]
add edx, dword [eax + 0x3e8]
mov ecx, dword [ebp - 0x394]
mov dword [ecx + 0x3d4], edx
mov edx, dword [ebp - 0x394]
mov dword [edx + 0x3ec], 0
mov eax, dword [ebp - 0x394]
mov byte [eax + 0x3f0], 0
mov ecx, dword [ebp - 0x394]
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x400]
mov dword [ecx + 0x3f8], eax
mov ecx, dword [ebp - 0x394]
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x404]
mov dword [ecx + 0x3fc], eax
mov ecx, dword [ebp - 0x394]
mov dword [ecx + 0xe4], 0
mov edx, dword [ebp - 0x394]
mov dword [edx + 0x40c], 0xe
mov eax, dword [ebp - 0x394]
mov ecx, dword [ebp - 0x394]
mov edx, dword [ecx + 0x50]
mov dword [eax + 0x3e8], edx
mov eax, dword [ebp - 0x394]
mov dword [eax + 0x408], 0
mov ecx, dword [ebp - 0x394]
mov dword [ecx + 0xa54], 0
lea edx, [ebp - 0x328]
push edx
mov ecx, dword [ebp - 0x394]
call fcn.00412510
lea eax, [ebp - 0x328]
push eax
mov ecx, dword [ebp - 0x394]
call fcn.004125e0
jmp 0x40fc3c
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x54]
mov cl, byte [eax]
mov byte [ebp - 0x24], cl
mov byte [ebp - 0x23], 0
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x54]
movzx eax, byte [edx]
cmp eax, 0x81
jl 0x4113ae
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x54]
movzx edx, byte [ecx]
cmp edx, 0xfe
jle 0x4113cb
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x54]
movzx ecx, byte [eax]
cmp ecx, 0xe0
jge 0x4113cb
mov dword [ebp - 0x398], 0
jmp 0x4113d5
mov dword [ebp - 0x398], 1
cmp dword [ebp - 0x398], 0
jne 0x411465
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x54]
movsx eax, byte [edx]
test eax, eax
je 0x411465
push 0x4976b0
lea ecx, [ebp - 0x24]
push ecx
call dword [0x4970e0]
test eax, eax
je 0x411465
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x54]
movsx eax, byte [edx]
cmp eax, 0x40
je 0x411465
push 1
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x394]
mov edx, dword [ecx + 0xa58]
push edx
mov ecx, dword [ebp - 0x394]
call fcn.00412650
mov dword [ebp - 0x330], eax
mov eax, dword [ebp - 0x58]
add eax, dword [ebp - 0x330]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x54]
add ecx, 1
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x54]
mov al, byte [edx]
mov byte [ebp - 0x24], al
mov byte [ebp - 0x23], 0
jmp 0x41138d
mov ecx, dword [ebp - 0x394]
mov edx, dword [ecx + 0x3e0]
add edx, dword [ebp - 0x58]
cmp edx, 0x294
jbe 0x411701
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x394]
mov edx, dword [ecx + 0x3d0]
mov dword [eax], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x394]
mov edx, dword [ecx + 0x3d4]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x394]
mov ecx, dword [eax + 0x3d4]
mov edx, dword [ebp - 0x394]
add ecx, dword [edx + 0x3e8]
mov eax, dword [ebp - 0x394]
mov dword [eax + 0x3d4], ecx
mov ecx, dword [ebp - 0x394]
mov edx, dword [ecx + 0x3dc]
mov eax, dword [ebp - 0x394]
add edx, dword [eax + 0x3e8]
mov ecx, dword [ebp - 0x394]
mov dword [ecx + 0x3dc], edx
cmp dword [ebp + 0x14], 1
jne 0x411526
push 0
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x18]
push eax
push 0x4976b8
mov ecx, dword [ebp - 0x394]
mov edx, dword [ecx + 0xa58]
push edx
mov ecx, dword [ebp - 0x394]
call fcn.00412650
mov ecx, dword [ebp - 0x394]
mov dword [ecx + 0x3e0], eax
jmp 0x411536
mov edx, dword [ebp - 0x394]
mov dword [edx + 0x3e0], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x388], eax
mov ecx, dword [ebp - 0x388]
push ecx
mov edx, dword [ebp + 0xc]
add edx, 0x10
push edx
call dword [0x49712c]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0xc8], 1
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x3ec]
mov dword [ecx + 0xc4], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x3f8]
mov dword [ecx + 8], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x3fc]
mov dword [ecx + 0xc], eax
push 0x3c
mov ecx, dword [ebp - 0x394]
add ecx, 0xc
push ecx
mov edx, dword [ebp + 0xc]
add edx, 0x88
push edx
call fcn.00467bc0
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x394]
mov edx, dword [ecx + 0x3e8]
mov dword [eax + 0x88], edx
mov eax, dword [ebp - 0x394]
mov ecx, dword [eax + 0x3e8]
sar ecx, 1
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x8c], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x394]
mov dl, byte [ecx + 0x3f0]
mov byte [eax + 0x9c], dl
mov eax, dword [ebp - 0x394]
mov ecx, dword [eax + 0xa54]
shl ecx, 4
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0xa54]
shl eax, 4
mov edx, dword [ebp - 0x394]
lea eax, [edx + eax + 0x410]
mov edx, dword [ebp - 0x394]
mov edx, dword [edx + ecx + 0x410]
mov ecx, eax
call dword [edx + 0xc]
push eax
mov eax, dword [ebp + 0xc]
add eax, 0xa4
push eax
call dword [0x49712c]
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0xcc], 0
jne 0x4116bd
push 0xd0
call fcn.00468207
add esp, 4
mov dword [ebp - 0x35c], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x35c]
mov dword [edx + 0xcc], eax
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0xcc], 0
jne 0x4116a4
push 0x30
mov ecx, 0x4bd504
mov edx, dword [0x4bd504]
call dword [edx + 0xc]
push eax
push 0x49737c
push 0
call dword [0x497194]
push 0
call fcn.004681c7
push 0xd0
push 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xcc]
push ecx
call fcn.00468010
add esp, 0xc
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xcc]
push edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x394]
call fcn.0040fbb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.004526f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004526f0
jmp 0x41222d
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x20]
movzx edx, byte [ecx]
cmp edx, 0x81
jl 0x411723
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x20]
movzx ecx, byte [eax]
cmp ecx, 0xfe
jle 0x41173f
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x20]
movzx eax, byte [edx]
cmp eax, 0xe0
jge 0x41173f
mov dword [ebp - 0x39c], 0
jmp 0x411749
mov dword [ebp - 0x39c], 1
cmp dword [ebp - 0x39c], 0
jne 0x411a1a
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x20]
movsx edx, byte [ecx]
test edx, edx
je 0x411a1a
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x20]
mov cl, byte [eax]
mov byte [ebp - 0x24], cl
mov byte [ebp - 0x23], 0
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp - 0x48]
call fcn.00452ad0
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x394]
mov ecx, dword [eax + 0x3d4]
mov dword [edx + 4], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x394]
mov ecx, dword [eax + 0x3e8]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x394]
mov ecx, dword [eax + 0x3f8]
mov dword [edx + 0x20], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x394]
mov ecx, dword [eax + 0x3fc]
mov dword [edx + 0x24], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x394]
mov ecx, dword [eax + 0xe4]
mov dword [edx + 0x28], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x394]
mov ecx, dword [eax + 0x40c]
mov dword [edx + 0x2c], ecx
mov edx, dword [ebp - 0x394]
mov dword [edx + 0x40c], 0xe
push 1
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x394]
mov ecx, dword [eax + 0xa58]
push ecx
mov ecx, dword [ebp - 0x394]
call fcn.00412650
mov dword [ebp - 0x334], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x334]
mov dword [edx + 8], eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x18], 1
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x394]
mov ecx, dword [eax + 0x3f4]
mov dword [edx + 0x1c], ecx
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x3e0]
mov ecx, dword [ebp - 0x394]
add eax, dword [ecx + 0x3d8]
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x334]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x394]
mov edx, dword [ecx + 0x3d8]
add edx, dword [ebp - 0x334]
mov eax, dword [ebp - 0x394]
mov dword [eax + 0x3d8], edx
mov ecx, dword [ebp - 0x394]
cmp dword [ecx + 0x408], 1
jne 0x411951
mov edx, dword [ebp - 0x394]
mov eax, dword [ebp - 0x394]
mov ecx, dword [edx + 0x3e8]
cmp ecx, dword [eax + 0x50]
je 0x411951
mov edx, dword [ebp - 0x394]
mov eax, dword [ebp - 0x394]
mov ecx, dword [edx + 0x3e8]
cmp ecx, dword [eax + 0x50]
jle 0x411928
mov edx, dword [ebp - 0x394]
mov eax, dword [ebp - 0x394]
mov ecx, dword [edx + 0x3e8]
sub ecx, dword [eax + 0x50]
mov edx, dword [ebp - 0x394]
mov esi, dword [edx + 0x3dc]
sub esi, ecx
mov eax, dword [ebp - 0x394]
mov eax, dword [eax + 0x3e8]
cdq
mov ecx, 0xa
idiv ecx
add esi, eax
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x14], esi
jmp 0x41194f
mov eax, dword [ebp - 0x394]
mov ecx, dword [ebp - 0x394]
mov edx, dword [eax + 0x50]
sub edx, dword [ecx + 0x3e8]
mov eax, dword [ebp - 0x394]
add edx, dword [eax + 0x3dc]
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x14], edx
jmp 0x411963
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x394]
mov ecx, dword [eax + 0x3dc]
mov dword [edx + 0x14], ecx
mov edx, dword [ebp + 0x10]
cmp dword [edx + 0x30], 0
jne 0x4119c8
push 0x34
call fcn.00468207
add esp, 4
mov dword [ebp - 0x360], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x360]
mov dword [eax + 0x30], ecx
mov edx, dword [ebp + 0x10]
cmp dword [edx + 0x30], 0
jne 0x4119b5
push 0x30
mov ecx, 0x4bd504
mov eax, dword [0x4bd504]
call dword [eax + 0xc]
push eax
push 0x49737c
push 0
call dword [0x497194]
push 0
call fcn.004681c7
push 0x34
push 0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x30]
push edx
call fcn.00468010
add esp, 0xc
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x338], ecx
mov edx, dword [ebp - 0x338]
mov dword [ebp + 0x10], edx
mov eax, dword [ebp + 0x10]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
push 0x4976b0
lea edx, [ebp - 0x24]
push edx
call dword [0x4970e0]
test eax, eax
jne 0x411a05
jmp 0x411a1a
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x20]
movsx ecx, byte [eax]
cmp ecx, 0x40
jne 0x411a15
jmp 0x411a1a
jmp 0x411701
jmp 0x40fc3c
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x20]
movsx eax, byte [edx]
test eax, eax
jne 0x411be6
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x3d0]
mov dword [ecx], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x3d4]
mov dword [ecx + 4], eax
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0xc8], 1
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x394]
mov ecx, dword [eax + 0x3ec]
mov dword [edx + 0xc4], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x394]
mov ecx, dword [eax + 0x3f8]
mov dword [edx + 8], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x394]
mov ecx, dword [eax + 0x3fc]
mov dword [edx + 0xc], ecx
push 0x3c
mov edx, dword [ebp - 0x394]
add edx, 0xc
push edx
mov eax, dword [ebp + 0xc]
add eax, 0x88
push eax
call fcn.00467bc0
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x3e8]
mov dword [ecx + 0x88], eax
mov ecx, dword [ebp - 0x394]
mov edx, dword [ecx + 0x3e8]
sar edx, 1
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x8c], edx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x394]
mov al, byte [edx + 0x3f0]
mov byte [ecx + 0x9c], al
mov ecx, dword [ebp - 0x394]
mov edx, dword [ecx + 0xa54]
shl edx, 4
mov eax, dword [ebp - 0x394]
mov ecx, dword [eax + 0xa54]
shl ecx, 4
mov eax, dword [ebp - 0x394]
lea ecx, [eax + ecx + 0x410]
mov eax, dword [ebp - 0x394]
mov edx, dword [eax + edx + 0x410]
call dword [edx + 0xc]
push eax
mov eax, dword [ebp + 0xc]
add eax, 0xa4
push eax
call dword [0x49712c]
mov ecx, dword [ebp - 0x394]
mov edx, dword [ecx + 0x3d4]
mov eax, dword [ebp - 0x394]
add edx, dword [eax + 0x3e8]
mov ecx, dword [ebp - 0x394]
mov dword [ecx + 0x3d4], edx
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x3dc]
mov ecx, dword [ebp - 0x394]
add eax, dword [ecx + 0x3e8]
mov edx, dword [ebp - 0x394]
mov dword [edx + 0x3dc], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x38c], eax
mov ecx, dword [ebp - 0x38c]
push ecx
mov edx, dword [ebp + 0xc]
add edx, 0x10
push edx
call dword [0x49712c]
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0xcc], 0
je 0x411bc6
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xcc]
mov dword [edx + 0xc8], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.004526f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004526f0
jmp 0x41222d
mov eax, dword [ebp - 0x394]
mov ecx, dword [eax + 0x3e0]
add ecx, dword [ebp - 0x38]
cmp ecx, 0x294
jb 0x412212
mov dword [ebp - 0x33c], 0
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x20]
movzx eax, byte [edx]
cmp eax, 0x81
jl 0x411c2c
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x20]
movzx edx, byte [ecx]
cmp edx, 0xfe
jle 0x411c49
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x20]
movzx ecx, byte [eax]
cmp ecx, 0xe0
jge 0x411c49
mov dword [ebp - 0x3a0], 0
jmp 0x411c53
mov dword [ebp - 0x3a0], 1
cmp dword [ebp - 0x3a0], 1
jne 0x411fad
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x20]
mov al, byte [edx]
mov byte [ebp - 0x24], al
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x20]
mov dl, byte [ecx + 1]
mov byte [ebp - 0x23], dl
mov byte [ebp - 0x22], 0
push 0x4976ac
lea eax, [ebp - 0x24]
push eax
call dword [0x497134]
test eax, eax
je 0x411dbc
push 0x4976a8
lea ecx, [ebp - 0x24]
push ecx
call dword [0x497134]
test eax, eax
je 0x411dbc
push 0x4976a4
lea edx, [ebp - 0x24]
push edx
call dword [0x497134]
test eax, eax
je 0x411dbc
push 0x4976a0
lea eax, [ebp - 0x24]
push eax
call dword [0x497134]
test eax, eax
je 0x411dbc
push 0x49769c
lea ecx, [ebp - 0x24]
push ecx
call dword [0x497134]
test eax, eax
je 0x411dbc
push 0x497698
lea edx, [ebp - 0x24]
push edx
call dword [0x497134]
test eax, eax
je 0x411dbc
push 0x497694
lea eax, [ebp - 0x24]
push eax
call dword [0x497134]
test eax, eax
je 0x411dbc
push 0x497690
lea ecx, [ebp - 0x24]
push ecx
call dword [0x497134]
test eax, eax
je 0x411dbc
push 0x49768c
lea edx, [ebp - 0x24]
push edx
call dword [0x497134]
test eax, eax
je 0x411dbc
push 0x497688
lea eax, [ebp - 0x24]
push eax
call dword [0x497134]
test eax, eax
je 0x411dbc
push 0x497684
lea ecx, [ebp - 0x24]
push ecx
call dword [0x497134]
test eax, eax
je 0x411dbc
push 0x497680
lea edx, [ebp - 0x24]
push edx
call dword [0x497134]
test eax, eax
je 0x411dbc
push 0x49767c
lea eax, [ebp - 0x24]
push eax
call dword [0x497134]
test eax, eax
je 0x411dbc
push 0x497678
lea ecx, [ebp - 0x24]
push ecx
call dword [0x497134]
test eax, eax
je 0x411dbc
push 0x497674
lea edx, [ebp - 0x24]
push edx
call dword [0x497134]
test eax, eax
jne 0x411fa6
cmp dword [ebp - 0x33c], 2
jge 0x411fa6
mov eax, dword [ebp - 0x33c]
add eax, 1
mov dword [ebp - 0x33c], eax
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00452ad0
push 0
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0xa58]
push eax
mov ecx, dword [ebp - 0x394]
call fcn.00412650
mov dword [ebp - 0x340], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x38]
mov dword [ecx], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x394]
mov edx, dword [ecx + 0x3d4]
mov dword [eax + 4], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x394]
mov edx, dword [ecx + 0x3e8]
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x340]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x3e0]
mov ecx, dword [ebp - 0x394]
add eax, dword [ecx + 0x3d8]
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x10], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x394]
mov edx, dword [ecx + 0x3dc]
mov dword [eax + 0x14], edx
mov eax, dword [ebp + 0x10]
mov dword [eax + 0x18], 1
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x3f4]
mov dword [ecx + 0x1c], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x3f8]
mov dword [ecx + 0x20], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x3fc]
mov dword [ecx + 0x24], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0xe4]
mov dword [ecx + 0x28], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x40c]
mov dword [ecx + 0x2c], eax
mov ecx, dword [ebp - 0x394]
mov dword [ecx + 0x40c], 0xe
mov edx, dword [ebp - 0x38]
add edx, dword [ebp - 0x340]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x394]
mov ecx, dword [eax + 0x3d8]
add ecx, dword [ebp - 0x340]
mov edx, dword [ebp - 0x394]
mov dword [edx + 0x3d8], ecx
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x30], 0
jne 0x411f7c
push 0x34
call fcn.00468207
add esp, 4
mov dword [ebp - 0x364], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x364]
mov dword [ecx + 0x30], edx
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x30], 0
jne 0x411f69
push 0x30
mov ecx, 0x4bd504
mov edx, dword [0x4bd504]
call dword [edx + 0xc]
push eax
push 0x49737c
push 0
call dword [0x497194]
push 0
call fcn.004681c7
push 0x34
push 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x30]
push ecx
call fcn.00468010
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x344], eax
mov ecx, dword [ebp - 0x344]
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x18], 0
mov eax, dword [ebp - 0x20]
add eax, 2
mov dword [ebp - 0x20], eax
jmp 0x411fa8
jmp 0x411fad
jmp 0x411c0b
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x3d0]
mov dword [ecx], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x3d4]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x394]
mov edx, dword [ecx + 0x3d4]
mov eax, dword [ebp - 0x394]
add edx, dword [eax + 0x3e8]
mov ecx, dword [ebp - 0x394]
mov dword [ecx + 0x3d4], edx
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x3e8]
mov ecx, dword [ebp - 0x394]
mov edx, dword [ecx + 0x3dc]
lea eax, [eax + edx + 4]
mov ecx, dword [ebp - 0x394]
mov dword [ecx + 0x3dc], eax
cmp dword [ebp + 0x14], 1
jne 0x412057
push 0
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x18]
push eax
push 0x4976b8
mov ecx, dword [ebp - 0x394]
mov edx, dword [ecx + 0xa58]
push edx
mov ecx, dword [ebp - 0x394]
call fcn.00412650
mov ecx, dword [ebp - 0x394]
mov dword [ecx + 0x3e0], eax
jmp 0x412067
mov edx, dword [ebp - 0x394]
mov dword [edx + 0x3e0], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x390], eax
mov ecx, dword [ebp - 0x390]
push ecx
mov edx, dword [ebp + 0xc]
add edx, 0x10
push edx
call dword [0x49712c]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0xc8], 1
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x3ec]
mov dword [ecx + 0xc4], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x3f8]
mov dword [ecx + 8], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0x3fc]
mov dword [ecx + 0xc], eax
push 0x3c
mov ecx, dword [ebp - 0x394]
add ecx, 0xc
push ecx
mov edx, dword [ebp + 0xc]
add edx, 0x88
push edx
call fcn.00467bc0
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x394]
mov edx, dword [ecx + 0x3e8]
mov dword [eax + 0x88], edx
mov eax, dword [ebp - 0x394]
mov ecx, dword [eax + 0x3e8]
sar ecx, 1
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x8c], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x394]
mov dl, byte [ecx + 0x3f0]
mov byte [eax + 0x9c], dl
mov eax, dword [ebp - 0x394]
mov ecx, dword [eax + 0xa54]
shl ecx, 4
mov edx, dword [ebp - 0x394]
mov eax, dword [edx + 0xa54]
shl eax, 4
mov edx, dword [ebp - 0x394]
lea eax, [edx + eax + 0x410]
mov edx, dword [ebp - 0x394]
mov edx, dword [edx + ecx + 0x410]
mov ecx, eax
call dword [edx + 0xc]
push eax
mov eax, dword [ebp + 0xc]
add eax, 0xa4
push eax
call dword [0x49712c]
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0xcc], 0
jne 0x4121ee
push 0xd0
call fcn.00468207
add esp, 4
mov dword [ebp - 0x368], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x368]
mov dword [edx + 0xcc], eax
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0xcc], 0
jne 0x4121d5
push 0x30
mov ecx, 0x4bd504
mov edx, dword [0x4bd504]
call dword [edx + 0xc]
push eax
push 0x49737c
push 0
call dword [0x497194]
push 0
call fcn.004681c7
push 0xd0
push 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xcc]
push ecx
call fcn.00468010
add esp, 0xc
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xcc]
push edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x394]
call fcn.0040fbb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.004526f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004526f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x60]
xor ecx, dword [ebp + 4]
call fcn.00467ff6
pop esi
mov esp, ebp
pop ebp
ret 0x10