Function at 0x4e1db0
Capabilities:
Check os version
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x54905f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x194
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1b4]
push edi
call fcn.004a9fc0
mov ebx, eax
add esp, 4
mov ecx, 0x599bf0
mov dword [esp + 0x70], ebx
call fcn.004504f0
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], eax
call fcn.004733a0
mov esi, 0x54d910
mov dword [esp + 0x30], esi
lea ecx, [esp + 0xa0]
mov dword [esp + 0x1ac], 0
call fcn.004733a0
mov dword [esp + 0xa0], esi
lea ecx, [esp + 0x78]
mov byte [esp + 0x1ac], 1
call fcn.004733a0
mov dword [esp + 0x78], esi
lea ecx, [esp + 0xb4]
mov byte [esp + 0x1ac], 2
call fcn.004733a0
mov dword [esp + 0xb4], esi
lea ecx, [esp + 0x54]
mov byte [esp + 0x1ac], 3
call fcn.005185f1
lea ecx, [esp + 0xdc]
mov byte [esp + 0x1ac], 4
call fcn.005185f1
cmp ebx, 5
mov byte [esp + 0x1ac], 5
je 0x4e52e2
cmp ebx, 8
je 0x4e52e2
cmp ebx, 1
je 0x4e52e2
cmp edi, 0x352
jne 0x4e55ff
mov eax, dword [esp + 0x1c0]
lea edi, [eax - 1]
test edi, edi
jl 0x4e55ff
mov ecx, dword [esp + 0x1bc]
mov ebp, dword [esp + 0x1d4]
cmp ebp, 1
mov esi, dword [ecx]
jne 0x4e1ef6
cmp byte [esi + edi], 0x23
jne 0x4e1ef6
xor ebx, ebx
cmp edi, ebx
jle 0x4e1ee5
cmp byte [esi + edi - 1], 0x23
je 0x4e55ff
mov ecx, dword [esp + 0x1bc]
call fcn.00519991
jmp 0x4e1f7d
mov ecx, dword [esp + 0x1b8]
xor ebx, ebx
xor edx, edx
cmp ecx, ebx
sete dl
push edx
push ebx
push 1
lea eax, [esi + edi]
push 1
push eax
push esi
call fcn.004e12e0
add esp, 0x18
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x4e55ff
mov ecx, esi
sub ecx, eax
sub eax, esi
lea edx, [ecx + edi + 1]
mov ecx, dword [esp + 0x1bc]
push edx
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00515f16
mov esi, dword [esp + 0x1bc]
push eax
mov ecx, esi
mov byte [esp + 0x1b0], 6
call fcn.00519af3
lea ecx, [esp + 0x70]
mov byte [esp + 0x1ac], 5
call fcn.00519a06
mov ecx, dword [esi]
cmp dword [ecx - 8], ebx
je 0x4e55ff
cmp ebp, ebx
je 0x4e23d0
mov edx, dword [esp + 0x1bc]
push 0x2e
mov eax, dword [edx]
push eax
mov dword [esp + 0x18], eax
call fcn.005042d0
add esp, 8
cmp eax, ebx
mov dword [esp + 0x94], eax
je 0x4e1fa3
mov byte [eax], 0
mov eax, dword [0x596a5c]
mov dword [esp + 0x4c], eax
mov eax, dword [0x599f5c]
mov ebp, dword [esp + 0x1cc]
shr eax, 2
mov byte [esp + 0x1ac], 7
mov dword [esp + 0x9c], eax
mov dword [esp + 0x90], ebx
mov ecx, dword [esp + 0x1d8]
push ecx
call fcn.004de9a0
mov eax, dword [esp + 0x94]
add esp, 4
cmp eax, 1
jne 0x4e2007
mov eax, dword [esp + 0x94]
test eax, eax
mov dword [esp + 0x10], eax
je 0x4e2382
mov edx, eax
inc edx
mov dword [esp + 0x10], edx
lea eax, [esp + 0xd0]
lea ecx, [esp + 0x10]
push eax
push ecx
call fcn.004dd1b0
add esp, 8
mov ebx, 1
cmp al, 0x3b
mov byte [esp + 0x14], al
mov dword [esp + 0x1c], ebx
je 0x4e2031
cmp al, 0x3a
jne 0x4e2062
mov eax, dword [esp + 0xd0]
mov edx, dword [0x5999b4]
mov ecx, dword [esp + 0x1d8]
xor ebx, ebx
test eax, eax
mov eax, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
push eax
sete bl
push ecx
push edx
mov dword [esp + 0x2c], ebx
call dword [0x59a39c]
mov eax, dword [esp + 0x90]
xor edi, edi
cmp eax, edi
jne 0x4e227e
mov eax, edi
push 0
push eax
mov ecx, 0x599e50
inc edi
call fcn.004d2670
test eax, eax
je 0x4e20d8
push eax
mov eax, dword [0x599e50]
mov ecx, 0x599e50
call dword [eax + 0x14]
mov esi, eax
cmp byte [esi], 0
je 0x4e2073
mov ecx, dword [esp + 0x1d8]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push ebx
push esi
push ecx
push edx
push eax
call fcn.004de920
add esp, 0x14
test eax, eax
je 0x4e2073
mov ecx, dword [ebp + 8]
push esi
push ecx
mov ecx, ebp
call fcn.00518855
mov ecx, dword [esp + 0x1d0]
push 0xe
call fcn.00473660
jmp 0x4e2073
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x50], 0
test eax, eax
jle 0x4e235c
mov eax, dword [esp + 0x50]
mov edx, dword [0x599f3c]
mov ecx, dword [esp + 0x44]
push ecx
mov eax, dword [edx + eax*4]
push eax
mov dword [esp + 0x2c], eax
call fcn.004de630
add esp, 8
test eax, eax
je 0x4e2261
mov eax, dword [esp + 0x24]
xor edi, edi
mov ecx, dword [eax + 0x54]
mov esi, dword [eax + 0x58]
test ecx, ecx
jle 0x4e2201
mov ecx, dword [esi + 0x14]
test ecx, 0x400000
je 0x4e21f2
test cl, 3
jne 0x4e21f2
mov edx, dword [esp + 0x44]
push edx
push esi
push eax
call fcn.004de670
add esp, 0xc
test eax, eax
je 0x4e21ee
mov eax, dword [esp + 0x94]
test eax, eax
jne 0x4e219f
mov eax, dword [esi]
mov ecx, dword [esp + 0x1d8]
mov edx, dword [esp + 0x10]
push ebx
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
call fcn.004de920
add esp, 0x14
test eax, eax
je 0x4e21ee
mov eax, dword [esi]
mov ecx, dword [ebp + 8]
push eax
push ecx
mov ecx, ebp
call fcn.00518855
mov ecx, dword [esp + 0x1d0]
push 2
jmp 0x4e21e9
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4e21c2
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x4e21c2
shr eax, 2
push esi
push eax
push ecx
call fcn.004743b0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4e21ee
mov ecx, dword [esi]
mov edx, dword [esp + 0x1d8]
mov eax, dword [esp + 0x10]
push ebx
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
call fcn.004e1d50
add esp, 0x14
test eax, eax
je 0x4e21ee
push esi
lea ecx, [esp + 0x34]
call fcn.00473660
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x54]
inc edi
add esi, 0x38
cmp edi, ecx
jl 0x4e212a
mov ecx, dword [eax + 0x84]
mov esi, dword [eax + 0x88]
xor edi, edi
test ecx, ecx
jle 0x4e2261
mov edx, dword [esi]
mov eax, dword [esp + 0x1d8]
mov ecx, dword [esp + 0x10]
push ebx
push edx
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
call fcn.004de920
add esp, 0x14
test eax, eax
je 0x4e2251
mov eax, dword [esi]
mov ecx, dword [ebp + 8]
push eax
push ecx
mov ecx, ebp
call fcn.00518855
mov ecx, dword [esp + 0x1d0]
push 0xa
call fcn.00473660
mov eax, dword [esp + 0x24]
inc edi
add esi, 0x20
cmp edi, dword [eax + 0x84]
jl 0x4e2213
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x9c]
inc eax
cmp eax, ecx
mov dword [esp + 0x50], eax
jl 0x4e20f3
jmp 0x4e235c
mov eax, dword [esp + 0x40]
mov dword [esp + 0x20], edi
shr eax, 2
dec eax
mov dword [esp + 0x98], eax
js 0x4e235c
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
xor ebx, ebx
mov edi, dword [ecx + edx*4]
mov ecx, dword [edi + 0x30]
mov eax, dword [edi + 0x34]
test ecx, ecx
jle 0x4e2344
lea esi, [eax + 8]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi]
mov edx, dword [esp + 0x1d8]
push eax
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
call fcn.004de920
add esp, 0x14
test eax, eax
je 0x4e2335
mov eax, dword [esp + 0x98]
test eax, eax
jle 0x4e2302
mov edx, dword [edi]
lea ecx, [esp + 0x4c]
push edx
call fcn.00519b43
push 0x58c264
lea ecx, [esp + 0x50]
call fcn.00519d96
jmp 0x4e230b
lea ecx, [esp + 0x4c]
call fcn.00519991
mov eax, dword [esi]
lea ecx, [esp + 0x4c]
push eax
call fcn.00519d96
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x4c]
push ecx
push eax
mov ecx, ebp
call fcn.00518881
mov ecx, dword [esp + 0x1d0]
push 0xa
call fcn.00473660
mov eax, dword [edi + 0x30]
inc ebx
add esi, 0x1c
cmp ebx, eax
jl 0x4e22b5
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x98]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jle 0x4e2297
mov eax, dword [esp + 0x90]
inc eax
cmp eax, 2
mov dword [esp + 0x90], eax
jl 0x4e1fd1
mov eax, dword [esp + 0x94]
test eax, eax
je 0x4e2382
mov byte [eax], 0x2e
cmp dword [ebp + 8], 1
jne 0x4e23ba
mov eax, dword [ebp + 4]
mov edx, dword [esp + 0x1bc]
mov eax, dword [eax]
mov ecx, dword [edx]
push eax
push ecx
call fcn.00501dbe
add esp, 8
test eax, eax
jne 0x4e23ba
push 0xffffffffffffffff
push eax
mov ecx, ebp
call fcn.00518684
mov ecx, dword [esp + 0x1d0]
call fcn.004735a0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1ac], 5
call fcn.00519a06
jmp 0x4e55ff
lea ecx, [esp + 0x104]
call fcn.005185f1
mov edi, dword [esp + 0x1bc]
mov byte [esp + 0x1ac], 8
push 0x2e
mov ecx, edi
call fcn.00519e81
mov esi, eax
cmp esi, 0xffffffff
je 0x4e2496
lea eax, [esp + 0x70]
push esi
push eax
mov ecx, edi
call fcn.00516028
mov ecx, dword [esp + 0x10c]
push eax
push ecx
lea ecx, [esp + 0x10c]
mov byte [esp + 0x1b4], 9
call fcn.00518881
lea ecx, [esp + 0x70]
mov byte [esp + 0x1ac], 8
call fcn.00519a06
mov edx, dword [edi]
mov ecx, edi
mov eax, dword [edx - 8]
sub eax, esi
dec eax
push eax
lea eax, [esp + 0x70]
push eax
call fcn.00515fac
push eax
mov ecx, edi
mov byte [esp + 0x1b0], 0xa
call fcn.00519af3
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1ac], 8
call fcn.00519a06
mov ecx, dword [edi]
cmp dword [ecx - 8], ebx
jne 0x4e23eb
mov edx, dword [esp + 0x10c]
push 0x599360
push edx
lea ecx, [esp + 0x10c]
call fcn.00518855
jmp 0x4e24ab
mov eax, dword [esp + 0x10c]
push edi
push eax
lea ecx, [esp + 0x10c]
call fcn.00518881
mov eax, dword [esp + 0x10c]
mov ebp, eax
cmp eax, ebx
mov dword [esp + 0x90], ebp
jne 0x4e24d8
lea ecx, [esp + 0x104]
mov byte [esp + 0x1ac], 5
call fcn.00518624
jmp 0x4e55ff
xor edi, edi
cmp eax, ebx
jle 0x4e2617
mov ecx, dword [esp + 0x108]
lea edx, [ecx + edi*4]
mov ecx, dword [esp + 0x1bc]
push edx
call fcn.00519af3
mov ecx, dword [esp + 0x1bc]
push 0x5b
xor esi, esi
call fcn.00519e81
cmp eax, 0xffffffff
je 0x4e2548
mov esi, dword [esp + 0x1bc]
push eax
lea eax, [esp + 0x74]
mov ecx, esi
push eax
call fcn.00516028
push eax
mov ecx, esi
mov byte [esp + 0x1b0], 0xb
call fcn.00519af3
lea ecx, [esp + 0x70]
mov byte [esp + 0x1ac], 8
call fcn.00519a06
mov esi, 1
cmp dword [esp + 0x1b8], ebx
jne 0x4e25ec
mov ecx, dword [esp + 0x1bc]
push 0x28
call fcn.00519e81
cmp eax, 0xffffffff
jne 0x4e257e
mov ecx, dword [esp + 0x1bc]
push 0x592094
call fcn.005160c2
cmp eax, 0xffffffff
je 0x4e25ec
lea ecx, [ebp - 1]
cmp edi, ecx
je 0x4e24bf
mov esi, dword [esp + 0x1bc]
lea edx, [esp + 0x9c]
push eax
push edx
mov ecx, esi
call fcn.00516028
push eax
lea eax, [esp + 0x70]
push 0x28
push eax
mov byte [esp + 0x1b8], 0xc
call fcn.00515ccd
push eax
mov ecx, esi
mov byte [esp + 0x1b0], 0xd
call fcn.00519af3
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1ac], 0xc
call fcn.00519a06
lea ecx, [esp + 0x9c]
mov byte [esp + 0x1ac], 8
call fcn.00519a06
jmp 0x4e25f0
cmp esi, ebx
je 0x4e260e
mov esi, dword [esp + 0x1bc]
mov ecx, esi
call fcn.00516416
mov ecx, dword [esp + 0x108]
push esi
lea ecx, [ecx + edi*4]
call fcn.00519af3
inc edi
cmp edi, ebp
jl 0x4e24e2
mov ecx, 0x599bf0
mov dword [esp + 0x8c], ebx
call fcn.004558d0
mov esi, eax
mov ecx, 0x599bf0
mov dword [esp + 0xf4], esi
call fcn.004558e0
cmp esi, ebx
mov dword [esp + 0x70], eax
je 0x4e2690
mov eax, dword [esp + 0x1c4]
cmp eax, ebx
je 0x4e2690
mov edx, eax
mov eax, dword [edx + 0x40]
cmp eax, ebx
je 0x4e2690
push eax
call fcn.004d25c0
add esp, 4
cmp eax, 0x2000000
jne 0x4e2690
mov ecx, dword [esp + 0x1c4]
lea eax, [esp + 0x8c]
push ebx
push eax
mov edx, dword [ecx + 0x40]
mov ecx, 0x599e34
push edx
call fcn.004d2e80
test eax, eax
jne 0x4e2690
mov dword [esp + 0x8c], ebx
mov eax, dword [0x596a5c]
mov dword [esp + 0x2c], eax
push ebx
mov ecx, 0x599bf0
mov byte [esp + 0x1b0], 0xe
call fcn.00450c80
mov ecx, 0x599bf0
mov dword [esp + 0x4c], eax
call fcn.0044fad0
mov dword [esp + 0x94], eax
mov eax, dword [0x599f5c]
shr eax, 2
cmp ebp, ebx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ebx
jle 0x4e519d
mov ebx, dword [esp + 0x1cc]
mov esi, dword [esp + 0x1bc]
mov ebp, dword [esp + 0x9c]
mov edi, 0x54d7d0
jmp 0x4e270e
mov ebx, dword [esp + 0x1cc]
mov esi, dword [esp + 0x1bc]
mov edi, 0x54d7d0
mov ecx, dword [esp + 0x1d8]
push ecx
call fcn.004de9a0
add esp, 4
lea ecx, [esp + 0xa0]
call fcn.004735a0
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov eax, ecx
push ecx
neg eax
sbb eax, eax
lea ecx, [esp + 0xa4]
and eax, edx
push eax
call fcn.00473c60
lea ecx, [esp + 0x30]
call fcn.004735a0
lea ecx, [esp + 0xb4]
call fcn.004735a0
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x80]
mov eax, ecx
push ecx
neg eax
sbb eax, eax
lea ecx, [esp + 0xb8]
and eax, edx
push eax
call fcn.00473c60
lea ecx, [esp + 0x78]
call fcn.004735a0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0xe4]
call fcn.00518684
lea edx, [esp + 0x54]
lea ecx, [esp + 0xdc]
push edx
call fcn.005187cd
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x5c]
call fcn.00518684
mov eax, dword [esp + 0x108]
lea ecx, [eax + ebp*4]
push ecx
mov ecx, esi
call fcn.00519af3
mov ecx, dword [esp + 0x1b8]
mov eax, dword [esi]
test ecx, ecx
mov dword [esp + 0x10], eax
jne 0x4e27f3
cmp byte [eax], 0x28
jne 0x4e27f3
mov esi, 1
inc eax
mov dword [esp + 0xd8], esi
mov dword [esp + 0x10], eax
jmp 0x4e27fc
xor esi, esi
mov dword [esp + 0xd8], esi
lea edx, [esp + 0xd0]
lea eax, [esp + 0x10]
push edx
push eax
call fcn.004dd1b0
add esp, 8
cmp al, 0x3b
mov byte [esp + 0x14], al
mov dword [esp + 0x1c], 1
je 0x4e2825
cmp al, 0x3a
jne 0x4e2856
mov edx, dword [esp + 0xd0]
mov eax, dword [esp + 0x14]
xor ecx, ecx
test edx, edx
mov edx, dword [0x5999b4]
sete cl
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x1d8]
push edx
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
call dword [0x59a39c]
mov ecx, dword [esp + 0x90]
lea eax, [ecx - 1]
cmp ebp, eax
jge 0x4e3dd4
mov eax, dword [esp + 0xb0]
shr eax, 2
mov dword [esp + 0xfc], eax
jne 0x4e321e
test ebp, ebp
jne 0x4e5239
test esi, esi
je 0x4e2b65
mov ebp, dword [esp + 0x1d8]
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
xor esi, esi
lea ecx, [esp + 0x28]
mov eax, esi
push ecx
push eax
mov ecx, 0x599de0
inc esi
call fcn.004d2de0
test eax, eax
je 0x4e2993
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 8]
test eax, eax
je 0x4e2920
push eax
call fcn.004d25a0
add esp, 4
xor ecx, ecx
cmp eax, 0x40000000
sete cl
mov eax, ecx
test eax, eax
je 0x4e2920
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c8]
mov edx, dword [ecx + 8]
cmp edx, dword [eax + 8]
jne 0x4e28a0
mov eax, dword [0x593d2c]
mov ecx, dword [ecx]
push eax
push ecx
call fcn.00501dbe
add esp, 8
test eax, eax
je 0x4e28a0
mov ecx, dword [esp + 0x28]
mov eax, dword [0x593d30]
push eax
mov ecx, dword [ecx]
push ecx
call fcn.00501dbe
add esp, 8
test eax, eax
je 0x4e28a0
mov edx, dword [esp + 0x28]
push edi
mov eax, dword [edx]
push eax
mov eax, dword [esp + 0x18]
push ebp
push eax
push ebx
call fcn.004e1d50
add esp, 0x14
test eax, eax
je 0x4e28a0
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x10]
lea ecx, [esp + 0x30]
push edx
call fcn.00473660
push 0
lea ecx, [esp + 0x7c]
call fcn.00473660
mov ecx, dword [esp + 0x28]
push 0xffff
push 0
lea eax, [esp + 0x34]
mov edx, dword [ecx + 0x10]
push 0
push eax
push edx
mov ecx, 0x599bf0
call fcn.00451440
mov ecx, dword [esp + 0x5c]
lea eax, [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x5c]
call fcn.00518881
jmp 0x4e28a0
xor esi, esi
lea edx, [esp + 0xcc]
mov eax, esi
push edx
push eax
mov ecx, 0x599e18
inc esi
call fcn.004d2de0
test eax, eax
je 0x4e2a27
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0x10]
push edi
mov eax, dword [eax]
push eax
push ebp
push ecx
push ebx
call fcn.004e1d50
add esp, 0x14
test eax, eax
je 0x4e2995
mov edx, dword [esp + 0xcc]
lea ecx, [esp + 0x30]
mov eax, dword [edx + 0xc]
push eax
call fcn.00473660
push 0
lea ecx, [esp + 0x7c]
call fcn.00473660
mov edx, dword [esp + 0xcc]
push 0xffff
push 0
lea ecx, [esp + 0x34]
mov eax, dword [edx + 0xc]
push 0
push ecx
push eax
mov ecx, 0x599bf0
call fcn.00451440
mov edx, dword [esp + 0x5c]
lea ecx, [esp + 0x2c]
push ecx
push edx
lea ecx, [esp + 0x5c]
call fcn.00518881
jmp 0x4e2995
mov eax, dword [esp + 0x98]
xor ebx, ebx
test eax, eax
jle 0x4e517f
mov eax, dword [0x599f3c]
mov ecx, dword [esp + 0x44]
push ecx
mov eax, dword [eax + ebx*4]
push eax
mov dword [esp + 0x2c], eax
call fcn.004de630
add esp, 8
test eax, eax
je 0x4e2b50
mov eax, dword [esp + 0x24]
xor ebp, ebp
mov ecx, dword [eax + 0x64]
mov edi, dword [eax + 0x68]
test ecx, ecx
jle 0x4e2b50
mov edx, dword [esp + 0x44]
push edx
push edi
push eax
call fcn.004de6d0
add esp, 0xc
cmp eax, 1
jne 0x4e2b3f
test byte [edi + 0xe], 0xc
jne 0x4e2b3f
cmp word [edi + 0xc], 0xffff
je 0x4e2b3f
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi]
mov edx, dword [esp + 0x1d8]
push eax
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
call fcn.004e1d50
add esp, 0x14
test eax, eax
je 0x4e2b3f
mov esi, dword [edi + 0x10]
push esi
call fcn.004ded00
add esp, 4
cmp eax, 3
jne 0x4e2af6
mov edx, esi
shr edx, 0x10
jne 0x4e2af6
lea eax, [ebx + 1]
and esi, 0xffff
and eax, 0xffff
shl eax, 0x10
or esi, eax
test ebx, ebx
jle 0x4e2af6
or esi, 0x20000000
push esi
lea ecx, [esp + 0x34]
call fcn.00473660
push 0
lea ecx, [esp + 0x7c]
call fcn.00473660
push 0xffff
push 0
lea ecx, [esp + 0x34]
push 0
and esi, 0xdfffffff
push ecx
push esi
push 0
mov ecx, 0x599b30
call fcn.004654a0
mov eax, dword [esp + 0x5c]
lea edx, [esp + 0x2c]
push edx
push eax
lea ecx, [esp + 0x5c]
call fcn.00518881
mov eax, dword [esp + 0x24]
inc ebp
add edi, 0x24
cmp ebp, dword [eax + 0x64]
jl 0x4e2a6e
mov eax, dword [esp + 0x98]
inc ebx
cmp ebx, eax
jl 0x4e2a38
jmp 0x4e517f
mov eax, dword [esp + 0xf4]
test eax, eax
je 0x4e2c34
mov eax, dword [esp + 0x1b8]
test eax, eax
jne 0x4e2c34
mov ebp, dword [esp + 0x1d8]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
xor esi, esi
lea ecx, [esp + 0x48]
mov eax, esi
push ecx
push eax
mov ecx, 0x599e34
inc esi
call fcn.004d2de0
test eax, eax
je 0x4e2c34
lea edx, [esi - 1]
mov ecx, 0x599e34
push edx
call fcn.004d2e20
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x4e2be4
mov edx, dword [esp + 0x38]
test edx, edx
je 0x4e2be4
shr ecx, 2
push eax
push ecx
push edx
call fcn.004743b0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4e2b94
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x10]
push edi
mov eax, dword [eax + 0xc]
push eax
push ebp
push ecx
push ebx
call fcn.004e1d50
add esp, 0x14
test eax, eax
je 0x4e2b94
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x30]
push edx
call fcn.00473660
push 0
lea ecx, [esp + 0x7c]
call fcn.00473660
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x5c]
add eax, 0xc
push eax
push ecx
lea ecx, [esp + 0x5c]
call fcn.00518881
jmp 0x4e2b94
mov eax, dword [esp + 0x1c4]
test eax, eax
je 0x4e2d0f
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x4e2d0f
mov ebp, dword [esp + 0x1d8]
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
xor esi, esi
lea edx, [esp + 0x68]
mov eax, esi
push edx
push eax
mov ecx, 0x599dfc
inc esi
call fcn.004d2de0
test eax, eax
je 0x4e2d0f
lea eax, [esi - 1]
mov ecx, 0x599dfc
push eax
call fcn.004d2e20
push eax
mov dword [esp + 0x1c], eax
call fcn.004d25a0
add esp, 4
cmp eax, 0x40000000
jne 0x4e2c5f
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4e2cc3
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x4e2cc3
mov edx, dword [esp + 0x18]
shr eax, 2
push edx
push eax
push ecx
call fcn.004743b0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4e2c5f
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x10]
push edi
mov eax, dword [eax]
push eax
push ebp
push ecx
push ebx
call fcn.004e1d50
add esp, 0x14
test eax, eax
je 0x4e2c5f
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x30]
push edx
call fcn.00473660
push 1
lea ecx, [esp + 0x7c]
call fcn.00473660
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x5c]
push eax
push ecx
lea ecx, [esp + 0x5c]
call fcn.00518881
jmp 0x4e2c5f
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x4e2f0e
mov eax, dword [esp + 0x1b8]
test eax, eax
jne 0x4e2f0e
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4e2d58
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x4e2d58
shr eax, 2
push 0x10004
push eax
push ecx
call fcn.004743b0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4e2e58
mov ebx, dword [esp + 0x4c]
xor edi, edi
mov eax, dword [ebx + 0x24]
mov esi, dword [ebx + 0x28]
test eax, eax
jle 0x4e2e58
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x94]
push edx
push esi
push eax
call fcn.004de6d0
add esp, 0xc
test eax, eax
je 0x4e2dba
cmp word [esi + 0xc], 0x3f5
jne 0x4e2dba
test byte [esi + 0xe], 0x10
jne 0x4e2dba
mov ecx, dword [esi]
mov edx, dword [esp + 0x1d8]
mov eax, dword [esp + 0x10]
push ebp
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
call fcn.004e1d50
add esp, 0x14
test eax, eax
jne 0x4e2dca
mov eax, dword [ebx + 0x24]
inc edi
add esi, 0x14
cmp edi, eax
jl 0x4e2d70
jmp 0x4e2e58
push 0x10004
lea ecx, [esp + 0x34]
call fcn.00473660
push 0
lea ecx, [esp + 0x7c]
call fcn.00473660
mov edx, dword [esp + 0x8c]
push 0x58c264
add edx, 0xc
lea eax, [esp + 0x124]
push edx
push eax
call fcn.00519c4f
mov ecx, dword [esi]
lea edx, [esp + 0x11c]
push ecx
push eax
push edx
mov byte [esp + 0x1b8], 0xf
call fcn.00519c4f
push eax
mov eax, dword [esp + 0x60]
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1b4], 0x10
call fcn.00518881
lea ecx, [esp + 0x11c]
mov byte [esp + 0x1ac], 0xf
call fcn.00519a06
lea ecx, [esp + 0x120]
mov byte [esp + 0x1ac], 0xe
call fcn.00519a06
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
mov edi, 1
mov ecx, dword [esp + 0x8c]
mov eax, edi
push 0
push eax
add ecx, 0x14
inc edi
call fcn.004d2670
mov esi, eax
test esi, esi
je 0x4e2f0e
mov eax, dword [esp + 0x40]
mov ecx, dword [esi]
test eax, eax
mov dword [esp + 0x18], ecx
je 0x4e2ead
mov edx, dword [esp + 0x38]
test edx, edx
je 0x4e2ead
shr eax, 2
push ecx
push eax
push edx
call fcn.004743b0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4e2e65
mov edx, dword [esp + 0x8c]
push esi
mov eax, dword [edx + 0x14]
lea ecx, [edx + 0x14]
call dword [eax + 0x14]
mov esi, eax
cmp byte [esi], 0
je 0x4e2e65
mov ecx, dword [esp + 0x1d8]
mov edx, dword [esp + 0x10]
push ebx
push esi
push ecx
push edx
push ebp
call fcn.004e1d50
add esp, 0x14
test eax, eax
je 0x4e2e65
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x30]
push eax
call fcn.00473660
push 0
lea ecx, [esp + 0x7c]
call fcn.00473660
mov ecx, dword [esp + 0x5c]
push esi
push ecx
lea ecx, [esp + 0x5c]
call fcn.00518855
jmp 0x4e2e65
mov ebp, dword [esp + 0x1c8]
test ebp, ebp
je 0x4e3093
xor ebx, ebx
lea edi, [ebp + 0x14]
mov eax, ebx
push 0
push eax
mov ecx, edi
inc ebx
call fcn.004d2670
mov esi, eax
test esi, esi
je 0x4e2fd8
mov eax, dword [esi]
push eax
mov dword [esp + 0x1c], eax
call fcn.004ded00
add esp, 4
cmp eax, 2
je 0x4e2f52
cmp eax, 3
jne 0x4e2f22
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4e2f79
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x4e2f79
mov edx, dword [esp + 0x18]
shr eax, 2
push edx
push eax
push ecx
call fcn.004743b0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4e2f22
mov eax, dword [edi]
push esi
mov ecx, edi
call dword [eax + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x1d8]
mov esi, eax
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
push esi
push edx
push eax
push ecx
call fcn.004e1d50
add esp, 0x14
test eax, eax
je 0x4e2f22
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x30]
push edx
call fcn.00473660
push 0
lea ecx, [esp + 0x7c]
call fcn.00473660
mov eax, dword [esp + 0x5c]
push esi
push eax
lea ecx, [esp + 0x5c]
call fcn.00518855
jmp 0x4e2f22
xor ebx, ebx
lea edi, [ebp + 0x34]
mov eax, ebx
push 0
push eax
mov ecx, edi
inc ebx
call fcn.004d2670
mov esi, eax
test esi, esi
je 0x4e3093
mov eax, dword [esi]
push eax
mov dword [esp + 0x1c], eax
call fcn.004ded00
add esp, 4
cmp eax, 2
je 0x4e300d
cmp eax, 3
jne 0x4e2fdd
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4e3034
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x4e3034
mov edx, dword [esp + 0x18]
shr eax, 2
push edx
push eax
push ecx
call fcn.004743b0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4e2fdd
mov eax, dword [edi]
push esi
mov ecx, edi
call dword [eax + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x1d8]
mov esi, eax
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
push esi
push edx
push eax
push ecx
call fcn.004e1d50
add esp, 0x14
test eax, eax
je 0x4e2fdd
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x30]
push edx
call fcn.00473660
push 0
lea ecx, [esp + 0x7c]
call fcn.00473660
mov eax, dword [esp + 0x5c]
push esi
push eax
lea ecx, [esp + 0x5c]
call fcn.00518855
jmp 0x4e2fdd
mov eax, dword [esp + 0x1c4]
test eax, eax
je 0x4e315d
mov ebp, dword [esp + 0x1c]
xor ebx, ebx
lea edi, [eax + 0xc]
mov eax, ebx
push 0
push eax
mov ecx, edi
inc ebx
call fcn.004d2670
mov esi, eax
test esi, esi
je 0x4e315d
mov eax, dword [esi]
push eax
mov dword [esp + 0x1c], eax
call fcn.004ded00
add esp, 4
cmp eax, 2
je 0x4e30db
cmp eax, 3
jne 0x4e30ab
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4e3102
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x4e3102
mov edx, dword [esp + 0x18]
shr eax, 2
push edx
push eax
push ecx
call fcn.004743b0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4e30ab
mov eax, dword [edi]
push esi
mov ecx, edi
call dword [eax + 0x14]
mov ecx, dword [esp + 0x1d8]
mov edx, dword [esp + 0x10]
mov esi, eax
mov eax, dword [esp + 0x14]
push ebp
push esi
push ecx
push edx
push eax
call fcn.004e1d50
add esp, 0x14
test eax, eax
je 0x4e30ab
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x34]
call fcn.00473660
push 0
lea ecx, [esp + 0x7c]
call fcn.00473660
mov edx, dword [esp + 0x5c]
push esi
push edx
lea ecx, [esp + 0x5c]
call fcn.00518855
jmp 0x4e30ab
xor edi, edi
mov eax, edi
push 0
push eax
mov ecx, 0x599dc0
inc edi
call fcn.004d2670
mov esi, eax
test esi, esi
je 0x4e517f
mov eax, dword [esi]
push eax
mov dword [esp + 0x1c], eax
call fcn.004ded00
add esp, 4
cmp eax, 2
je 0x4e3192
cmp eax, 3
jne 0x4e315f
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4e31b9
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x4e31b9
mov edx, dword [esp + 0x18]
shr eax, 2
push edx
push eax
push ecx
call fcn.004743b0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4e315f
mov eax, dword [0x599dc0]
push esi
mov ecx, 0x599dc0
call dword [eax + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x1d8]
mov esi, eax
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
push esi
push edx
push eax
push ecx
call fcn.004e1d50
add esp, 0x14
test eax, eax
je 0x4e315f
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x30]
push edx
call fcn.00473660
push 0
lea ecx, [esp + 0x7c]
call fcn.00473660
mov eax, dword [esp + 0x5c]
push esi
push eax
lea ecx, [esp + 0x5c]
call fcn.00518855
jmp 0x4e315f
test eax, eax
mov dword [esp + 0x50], 0
jle 0x4e517f
mov ecx, dword [esp + 0xa8]
mov esi, dword [esp + 0x50]
push 1
lea eax, [esp + 0x1c]
mov edx, dword [ecx + esi*4]
push 1
push eax
mov ecx, 0x599bf0
mov dword [esp + 0x24], edx
call fcn.00448a50
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0x18]
push edx
mov ebx, dword [ecx + esi*4]
call fcn.004ded00
add esp, 4
cmp eax, 2
jne 0x4e3957
mov eax, dword [esp + 0x18]
push eax
call fcn.004ddec0
add esp, 4
cmp eax, 2
jne 0x4e353c
mov eax, dword [esp + 0x1b8]
test eax, eax
jne 0x4e3db7
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x48]
push 0
push ecx
push edx
mov ecx, 0x599e34
call fcn.004d2e80
test eax, eax
je 0x4e352e
mov ebx, dword [esp + 0xd8]
test ebx, ebx
jne 0x4e3374
mov ebp, dword [esp + 0x1c]
mov edi, 1
mov eax, edi
push 0
push eax
mov eax, dword [esp + 0x50]
inc edi
lea ecx, [eax + 0x14]
call fcn.004d2670
mov esi, eax
test esi, esi
je 0x4e3378
mov eax, dword [esp + 0x40]
mov ecx, dword [esi]
test eax, eax
mov dword [esp + 0x18], ecx
je 0x4e3313
mov edx, dword [esp + 0x38]
test edx, edx
je 0x4e3313
shr eax, 2
push ecx
push eax
push edx
call fcn.004743b0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4e32ce
mov ecx, dword [esp + 0x48]
push esi
add ecx, 0x14
mov edx, dword [ecx]
call dword [edx + 0x14]
mov esi, eax
cmp byte [esi], 0
je 0x4e32ce
mov eax, dword [esp + 0x1d8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ebp
push esi
push eax
push ecx
push edx
call fcn.004e1d50
add esp, 0x14
test eax, eax
je 0x4e32ce
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x30]
push eax
call fcn.00473660
push 0
lea ecx, [esp + 0x7c]
call fcn.00473660
mov ecx, dword [esp + 0x5c]
push esi
push ecx
lea ecx, [esp + 0x5c]
call fcn.00518855
jmp 0x4e32ce
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x48]
mov eax, dword [edx + 8]
test eax, eax
je 0x4e352e
lea ecx, [esp + 0x100]
push 0
push ecx
push eax
mov ecx, 0x599dfc
call fcn.004d2e80
cmp eax, 1
jne 0x4e352e
test ebx, ebx
jne 0x4e3472
mov ebx, dword [esp + 0x14]
xor edi, edi
mov edx, dword [esp + 0x100]
mov eax, edi
push 0
push eax
lea ecx, [edx + 0xc]
inc edi
call fcn.004d2670
mov esi, eax
test esi, esi
je 0x4e352e
mov eax, dword [esi]
push eax
mov dword [esp + 0x1c], eax
call fcn.004ded00
add esp, 4
cmp eax, 2
je 0x4e33eb
cmp eax, 3
jne 0x4e33b3
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4e3412
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x4e3412
mov edx, dword [esp + 0x18]
shr eax, 2
push edx
push eax
push ecx
call fcn.004743b0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4e33b3
mov eax, dword [esp + 0x100]
push esi
mov edx, dword [eax + 0xc]
lea ecx, [eax + 0xc]
call dword [edx + 0x14]
mov ecx, dword [esp + 0x10]
mov esi, eax
mov eax, dword [esp + 0x1d8]
push ebp
push esi
push eax
push ecx
push ebx
call fcn.004e1d50
add esp, 0x14
test eax, eax
je 0x4e33b3
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x30]
push edx
call fcn.00473660
push 0
lea ecx, [esp + 0x7c]
call fcn.00473660
mov eax, dword [esp + 0x5c]
push esi
push eax
lea ecx, [esp + 0x5c]
call fcn.00518855
jmp 0x4e33b3
mov eax, dword [esp + 0x100]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
jne 0x4e3484
xor esi, esi
jmp 0x4e3487
mov esi, dword [eax + 0x34]
mov eax, dword [eax + 0x3c]
shr eax, 2
test eax, eax
jle 0x4e352e
mov edi, eax
mov edx, dword [esi]
lea ecx, [esp + 0x28]
push 0
push ecx
push edx
mov ecx, 0x599de0
call fcn.004d2e80
test eax, eax
je 0x4e3524
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1d8]
mov edx, dword [esp + 0x10]
push ebp
mov eax, dword [eax]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
call fcn.004e1d50
add esp, 0x14
test eax, eax
je 0x4e3524
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0x10]
lea ecx, [esp + 0x30]
push eax
call fcn.00473660
push 0
lea ecx, [esp + 0x7c]
call fcn.00473660
mov eax, dword [esp + 0x28]
push 0xffff
push 0
lea edx, [esp + 0x34]
mov ecx, dword [eax + 0x10]
push 0
push edx
push ecx
mov ecx, 0x599bf0
call fcn.00451440
mov eax, dword [esp + 0x5c]
lea edx, [esp + 0x2c]
push edx
push eax
lea ecx, [esp + 0x5c]
call fcn.00518881
add esi, 4
dec edi
jne 0x4e3497
mov eax, 0x10001
mov dword [esp + 0x18], eax
jmp 0x4e3964
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004ddec0
add esp, 4
cmp eax, 1
jne 0x4e36b4
mov eax, dword [esp + 0xd8]
test eax, eax
jne 0x4e3db7
mov eax, dword [esp + 0x18]
lea edx, [esp + 0xc8]
push 0
push edx
push eax
mov ecx, 0x599da4
call fcn.004d2e80
test eax, eax
je 0x4e3db7
mov ecx, dword [esp + 0xc8]
lea ebx, [ecx + 0xc]
test ebx, ebx
je 0x4e3db7
xor ebp, ebp
mov eax, ebp
push 0
push eax
mov ecx, ebx
inc ebp
call fcn.004d2670
mov esi, eax
test esi, esi
je 0x4e3db7
mov edx, dword [ebx]
push esi
mov ecx, ebx
call dword [edx + 0x14]
mov esi, dword [esi]
mov edi, eax
push esi
mov dword [esp + 0x1c], esi
call fcn.004ded00
add esp, 4
cmp eax, 2
je 0x4e35d0
cmp eax, 3
jne 0x4e3596
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4e35f7
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x4e35f7
mov edx, dword [esp + 0x18]
shr eax, 2
push edx
push eax
push ecx
call fcn.004743b0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4e3596
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1d8]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
push edi
push ecx
push edx
push eax
call fcn.004e1d50
add esp, 0x14
test eax, eax
je 0x4e3596
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x34]
call fcn.00473660
push 0
lea ecx, [esp + 0x7c]
call fcn.00473660
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x50]
push 0x58c264
lea ecx, [edx + eax*4]
lea edx, [esp + 0x11c]
push ecx
push edx
call fcn.00519c4f
push edi
push eax
lea eax, [esp + 0x134]
mov byte [esp + 0x1b4], 0x11
push eax
call fcn.00519c4f
mov ecx, dword [esp + 0x5c]
push eax
push ecx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1b4], 0x12
call fcn.00518881
lea ecx, [esp + 0x12c]
mov byte [esp + 0x1ac], 0x11
call fcn.00519a06
lea ecx, [esp + 0x118]
mov byte [esp + 0x1ac], 0xe
call fcn.00519a06
jmp 0x4e3596
cmp eax, 3
jne 0x4e3db7
cmp dword [esp + 0xd8], 1
jne 0x4e3db7
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x68]
push 0
push edx
push eax
mov ecx, 0x599dfc
call fcn.004d2e80
test eax, eax
je 0x4e3db7
test bl, 1
je 0x4e3802
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx + 0x3c]
mov edx, dword [ecx + 0x3c]
shr eax, 2
test edx, edx
jne 0x4e3707
xor ecx, ecx
jmp 0x4e370a
mov ecx, dword [ecx + 0x34]
test eax, eax
jle 0x4e3db7
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
mov esi, ecx
mov edi, eax
mov edx, dword [esi]
lea ecx, [esp + 0xd4]
push 0
push ecx
push edx
mov ecx, 0x599de0
call fcn.004d2e80
test eax, eax
je 0x4e37f3
mov ecx, dword [esp + 0xd4]
mov eax, dword [0x593d2c]
push eax
mov ecx, dword [ecx]
push ecx
call fcn.00501dbe
add esp, 8
test eax, eax
je 0x4e37f3
mov edx, dword [esp + 0xd4]
mov eax, dword [0x593d30]
push eax
mov ecx, dword [edx]
push ecx
call fcn.00501dbe
add esp, 8
test eax, eax
je 0x4e37f3
mov eax, dword [esp + 0xd4]
mov ecx, dword [esp + 0x1d8]
mov edx, dword [esp + 0x10]
push ebx
mov eax, dword [eax]
push eax
push ecx
push edx
push ebp
call fcn.004e1d50
add esp, 0x14
test eax, eax
je 0x4e37f3
mov eax, dword [esp + 0xd4]
lea ecx, [esp + 0x30]
mov eax, dword [eax + 0x10]
push eax
call fcn.00473660
push 0
lea ecx, [esp + 0x7c]
call fcn.00473660
mov edx, dword [esp + 0xd4]
push 0xffff
push 0
lea ecx, [esp + 0x34]
mov eax, dword [edx + 0x10]
push 0
push ecx
push eax
mov ecx, 0x599bf0
call fcn.00451440
mov edx, dword [esp + 0x5c]
lea ecx, [esp + 0x2c]
push ecx
push edx
lea ecx, [esp + 0x5c]
call fcn.00518881
add esi, 4
dec edi
jne 0x4e371e
jmp 0x4e3db7
lea ecx, [esp + 0x168]
call fcn.004733a0
lea ecx, [esp + 0x140]
mov byte [esp + 0x1ac], 0x13
call fcn.004733a0
lea ecx, [esp + 0x17c]
mov byte [esp + 0x1ac], 0x14
call fcn.005185f1
lea eax, [esp + 0x140]
lea ecx, [esp + 0x17c]
push eax
push 0
push 0
push ecx
mov ecx, dword [esp + 0x78]
lea edx, [esp + 0x178]
push 1
push edx
mov byte [esp + 0x1c4], 0x15
call fcn.004ce6a0
mov ebx, dword [esp + 0x178]
mov esi, dword [esp + 0x150]
mov ecx, dword [esp + 0x148]
shr ebx, 2
neg esi
sbb esi, esi
xor edi, edi
and esi, ecx
test ebx, ebx
jle 0x4e3903
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x180]
mov ecx, dword [esp + 0x1d8]
mov edx, dword [esp + 0x10]
push ebp
mov eax, dword [eax + edi*4]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
call fcn.004e1d50
add esp, 0x14
test eax, eax
je 0x4e38fe
mov eax, dword [esi + edi*4]
lea ecx, [esp + 0x30]
push eax
call fcn.00473660
push 0
lea ecx, [esp + 0x7c]
call fcn.00473660
mov edx, dword [esi + edi*4]
push 0xffff
push 0
lea ecx, [esp + 0x34]
push 0
push ecx
push edx
mov ecx, 0x599bf0
call fcn.00451440
mov ecx, dword [esp + 0x5c]
lea eax, [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x5c]
call fcn.00518881
inc edi
cmp edi, ebx
jl 0x4e388d
lea ecx, [esp + 0x17c]
mov byte [esp + 0x1ac], 0x14
call fcn.00518624
mov esi, 0x54d7d0
lea ecx, [esp + 0x140]
mov byte [esp + 0x1ac], 0x13
mov dword [esp + 0x140], esi
call fcn.004735a0
lea ecx, [esp + 0x168]
mov byte [esp + 0x1ac], 0xe
mov dword [esp + 0x168], esi
call fcn.004735a0
jmp 0x4e3db7
cmp eax, 3
jne 0x4e3db7
mov eax, dword [esp + 0x18]
mov ecx, eax
shr ecx, 0x1d
and ecx, 1
mov dword [esp + 0x6c], ecx
je 0x4e398d
lea edx, [esp + 0x24]
and eax, 0xdfffffff
push edx
push eax
mov ecx, 0x599b30
mov dword [esp + 0x20], eax
call fcn.004abd40
jmp 0x4e399d
lea ecx, [esp + 0x24]
push ecx
push eax
mov ecx, 0x599bf0
call fcn.00450cd0
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x20], ebx
je 0x4e3db7
mov eax, dword [esp + 0xd8]
xor edi, edi
cmp eax, edi
jne 0x4e3c52
cmp dword [esp + 0x1b8], edi
jne 0x4e3af5
mov eax, dword [esp + 0x40]
cmp eax, edi
je 0x4e39f4
mov ecx, dword [esp + 0x38]
cmp ecx, edi
je 0x4e39f4
shr eax, 2
push 0x10004
push eax
push ecx
call fcn.004743b0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4e3af5
mov eax, dword [ebx + 0x24]
mov esi, dword [ebx + 0x28]
cmp eax, edi
jle 0x4e3af5
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x24]
push edx
push esi
push eax
call fcn.004de6d0
add esp, 0xc
test eax, eax
je 0x4e3a4d
cmp word [esi + 0xc], 0x3f5
jne 0x4e3a4d
test byte [esi + 0xe], 0x10
jne 0x4e3a4d
mov ecx, dword [esi]
mov edx, dword [esp + 0x1d8]
mov eax, dword [esp + 0x10]
push ebx
push ecx
push edx
push eax
push ebp
call fcn.004e1d50
add esp, 0x14
test eax, eax
jne 0x4e3a5f
mov ecx, dword [esp + 0x20]
inc edi
add esi, 0x14
cmp edi, dword [ecx + 0x24]
jl 0x4e3a0a
jmp 0x4e3af1
push 0x10004
lea ecx, [esp + 0x34]
call fcn.00473660
push 0
lea ecx, [esp + 0x7c]
call fcn.00473660
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x50]
push 0x58c264
lea ecx, [edx + eax*4]
lea edx, [esp + 0x138]
push ecx
push edx
call fcn.00519c4f
mov ecx, dword [esi]
lea edx, [esp + 0x13c]
push ecx
push eax
push edx
mov byte [esp + 0x1b8], 0x16
call fcn.00519c4f
push eax
mov eax, dword [esp + 0x60]
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1b4], 0x17
call fcn.00518881
lea ecx, [esp + 0x13c]
mov byte [esp + 0x1ac], 0x16
call fcn.00519a06
lea ecx, [esp + 0x134]
mov byte [esp + 0x1ac], 0xe
call fcn.00519a06
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 0x30]
mov edi, dword [ebx + 0x34]
test eax, eax
mov dword [esp + 0x20], 0
jle 0x4e3db7
mov ebp, dword [esp + 0x50]
test byte [edi + 0x14], 2
jne 0x4e3c36
mov esi, dword [edi]
mov ecx, esi
shr ecx, 0x10
jne 0x4e3b42
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x6c]
shr edx, 0x10
shl edx, 0x10
and esi, 0xffff
or esi, edx
test eax, eax
je 0x4e3b42
or esi, 0x20000000
push esi
call fcn.004ded00
add esp, 4
cmp eax, 2
je 0x4e3b59
cmp eax, 3
jne 0x4e3c36
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4e3b80
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x4e3b80
shr eax, 2
push esi
push eax
push ecx
call fcn.004743b0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4e3c36
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 8]
mov edx, dword [esp + 0x1d8]
push eax
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
call fcn.004e1d50
add esp, 0x14
test eax, eax
je 0x4e3c36
push esi
lea ecx, [esp + 0x34]
call fcn.00473660
push 0
lea ecx, [esp + 0x7c]
call fcn.00473660
mov edx, dword [esp + 0xe0]
push 0x58c264
lea ecx, [esp + 0x12c]
lea eax, [edx + ebp*4]
push eax
push ecx
call fcn.00519c4f
mov edx, dword [edi + 8]
mov byte [esp + 0x1ac], 0x18
push edx
push eax
lea eax, [esp + 0x140]
push eax
call fcn.00519c4f
mov ecx, dword [esp + 0x5c]
push eax
push ecx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1b4], 0x19
call fcn.00518881
lea ecx, [esp + 0x138]
mov byte [esp + 0x1ac], 0x18
call fcn.00519a06
lea ecx, [esp + 0x128]
mov byte [esp + 0x1ac], 0xe
call fcn.00519a06
mov eax, dword [esp + 0x20]
mov ecx, dword [ebx + 0x30]
inc eax
add edi, 0x1c
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x4e3b0f
jmp 0x4e3db7
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x74], edi
cmp dword [esp + 0x74], 1
jne 0x4e3c8b
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x14]
test al, 0x40
je 0x4e3db7
test al, 0x10
jne 0x4e3db7
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x20]
xor edi, edi
mov eax, dword [edx + 0xc]
test eax, eax
jle 0x4e3da5
mov ebp, dword [esp + 0x44]
mov ebx, edx
mov eax, dword [ebx + 0x10]
push ebp
mov eax, dword [eax + edi*4]
lea edx, [eax + eax*8]
mov eax, dword [ecx + 0x68]
lea esi, [eax + edx*4]
push esi
push ecx
call fcn.004de6d0
add esp, 0xc
cmp eax, 1
jne 0x4e3d95
test byte [esi + 0xe], 0xc
jne 0x4e3d95
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi]
mov eax, dword [esp + 0x1d8]
push ecx
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
call fcn.004e1d50
add esp, 0x14
test eax, eax
je 0x4e3d95
mov esi, dword [esi + 0x10]
push esi
call fcn.004ded00
add esp, 4
cmp eax, 3
jne 0x4e3d4c
mov eax, esi
shr eax, 0x10
jne 0x4e3d4c
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x6c]
shr ecx, 0x10
shl ecx, 0x10
and esi, 0xffff
or esi, ecx
test eax, eax
je 0x4e3d4c
push 0xffff
push 0
lea edx, [esp + 0x34]
push 0
push edx
push esi
push 0
mov ecx, 0x599b30
call fcn.004654a0
or esi, 0x20000000
push esi
lea ecx, [esp + 0x34]
call fcn.00473660
push 0
lea ecx, [esp + 0x7c]
call fcn.00473660
test esi, 0x20000000
jne 0x4e3d82
push 0xffff
push 0
lea eax, [esp + 0x34]
push 0
push eax
push esi
mov ecx, 0x599bf0
call fcn.00451440
mov edx, dword [esp + 0x5c]
lea ecx, [esp + 0x2c]
push ecx
push edx
lea ecx, [esp + 0x5c]
call fcn.00518881
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0x24]
inc edi
cmp edi, eax
jl 0x4e3ca2
mov eax, dword [esp + 0x74]
inc eax
cmp eax, 1
mov dword [esp + 0x74], eax
jle 0x4e3c5a
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0xfc]
inc eax
cmp eax, ecx
mov dword [esp + 0x50], eax
jl 0x4e322e
jmp 0x4e517f
cmp ecx, 1
jne 0x4e45a8
mov ebp, dword [esp + 0x1c]
mov edi, 0x595b9c
mov esi, dword [edi]
mov eax, dword [esp + 0x1d8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ebp
push esi
push eax
push ecx
push edx
call fcn.004de920
add esp, 0x14
test eax, eax
je 0x4e3e22
mov eax, dword [ebx + 8]
push esi
push eax
mov ecx, ebx
call fcn.00518855
mov ecx, dword [esp + 0x1d0]
push 0xa
call fcn.00473660
add edi, 4
cmp edi, 0x595ba4
jl 0x4e3de6
mov eax, dword [esp + 0x1b8]
test eax, eax
jne 0x4e3f85
mov edi, dword [esp + 0x14]
xor esi, esi
lea ecx, [esp + 0x28]
mov eax, esi
push ecx
push eax
mov ecx, 0x599de0
inc esi
call fcn.004d2de0
test eax, eax
je 0x4e3f16
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 8]
test eax, eax
je 0x4e3ec2
push eax
call fcn.004d25a0
add esp, 4
xor ecx, ecx
cmp eax, 0x40000000
sete cl
mov eax, ecx
test eax, eax
je 0x4e3ec2
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c8]
mov edx, dword [ecx + 8]
cmp edx, dword [eax + 8]
jne 0x4e3e42
mov eax, dword [0x593d2c]
mov ecx, dword [ecx]
push eax
push ecx
call fcn.00501dbe
add esp, 8
test eax, eax
je 0x4e3e42
mov ecx, dword [esp + 0x28]
mov eax, dword [0x593d30]
push eax
mov ecx, dword [ecx]
push ecx
call fcn.00501dbe
add esp, 8
test eax, eax
je 0x4e3e42
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4e3e42
mov ecx, dword [esp + 0x10]
push ebp
push eax
mov eax, dword [esp + 0x1e0]
push eax
push ecx
push edi
call fcn.004de920
add esp, 0x14
test eax, eax
je 0x4e3e42
mov edx, dword [esp + 0x28]
mov eax, dword [ebx + 8]
push edx
push eax
mov ecx, ebx
call fcn.00518881
mov ecx, dword [esp + 0x1d0]
push 0
call fcn.00473660
jmp 0x4e3e42
xor esi, esi
lea ecx, [esp + 0xcc]
mov eax, esi
push ecx
push eax
mov ecx, 0x599e18
inc esi
call fcn.004d2de0
test eax, eax
je 0x4e3f85
mov edx, dword [esp + 0xcc]
mov eax, dword [edx]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4e3f18
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ebp
push eax
mov eax, dword [esp + 0x1e0]
push eax
push ecx
push edx
call fcn.004de920
add esp, 0x14
test eax, eax
je 0x4e3f18
mov eax, dword [esp + 0xcc]
mov ecx, dword [ebx + 8]
push eax
push ecx
mov ecx, ebx
call fcn.00518881
mov ecx, dword [esp + 0x1d0]
push 0x10
call fcn.00473660
jmp 0x4e3f18
mov eax, dword [esp + 0x1c4]
test eax, eax
je 0x4e402a
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x4e402a
mov edi, dword [esp + 0x14]
xor esi, esi
lea edx, [esp + 0x68]
mov eax, esi
push edx
push eax
mov ecx, 0x599dfc
inc esi
call fcn.004d2de0
test eax, eax
je 0x4e402a
lea eax, [esi - 1]
mov ecx, 0x599dfc
push eax
call fcn.004d2e20
push eax
mov dword [esp + 0x1c], eax
call fcn.004d25a0
add esp, 4
cmp eax, 0x40000000
jne 0x4e3fa5
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4e3fa5
mov edx, dword [esp + 0x1d8]
push ebp
push eax
mov eax, dword [esp + 0x18]
push edx
push eax
push edi
call fcn.004de920
add esp, 0x14
test eax, eax
je 0x4e3fa5
mov ecx, dword [esp + 0x68]
mov edx, dword [ebx + 8]
push ecx
push edx
mov ecx, ebx
call fcn.00518881
mov ecx, dword [esp + 0x1d0]
push 0x12
call fcn.00473660
jmp 0x4e3fa5
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x4e4220
mov eax, dword [esp + 0x1b8]
test eax, eax
jne 0x4e4220
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x24], ecx
xor edi, edi
mov edx, dword [eax + 0xc]
test edx, edx
jle 0x4e40e6
mov ebx, dword [esp + 0x1cc]
mov ebp, eax
jmp 0x4e4073
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + edi*4]
mov edx, dword [ecx + 0x68]
lea eax, [eax + eax*8]
lea esi, [edx + eax*4]
mov eax, dword [esp + 0x44]
push eax
push esi
push ecx
call fcn.004de6d0
add esp, 0xc
cmp eax, 1
jne 0x4e40de
test byte [esi + 0xe], 0xc
jne 0x4e40de
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi]
mov eax, dword [esp + 0x1d8]
push ecx
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
call fcn.004de920
add esp, 0x14
test eax, eax
je 0x4e40de
mov esi, dword [esi]
mov eax, dword [ebx + 8]
push esi
push eax
mov ecx, ebx
call fcn.00518855
mov ecx, dword [esp + 0x1d0]
push 0xc
call fcn.00473660
mov eax, dword [ebp + 0xc]
inc edi
cmp edi, eax
jl 0x4e406f
mov eax, dword [esp + 0x4c]
xor ebx, ebx
mov ecx, dword [eax + 0x24]
mov esi, dword [eax + 0x28]
test ecx, ecx
jle 0x4e416f
mov ebp, dword [esp + 0x1d0]
mov edi, dword [esp + 0x1cc]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x94]
push eax
push esi
push ecx
call fcn.004de6d0
add esp, 0xc
cmp eax, 1
jne 0x4e4162
test byte [esi + 0xe], 0x10
jne 0x4e4162
mov edx, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [esp + 0x1d8]
push edx
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
call fcn.004de920
add esp, 0x14
test eax, eax
je 0x4e4162
mov eax, dword [esi]
mov ecx, dword [edi + 8]
push eax
push ecx
mov ecx, edi
call fcn.00518855
push 7
mov ecx, ebp
call fcn.00473660
mov ecx, dword [esp + 0x4c]
inc ebx
add esi, 0x14
cmp ebx, dword [ecx + 0x24]
jl 0x4e4104
mov ebp, dword [esp + 0x1cc]
mov ebx, 1
mov edx, dword [esp + 0x8c]
mov eax, ebx
push 0
push eax
lea ecx, [edx + 0x14]
inc ebx
call fcn.004d2670
mov esi, eax
test esi, esi
je 0x4e4220
mov ecx, dword [esp + 0x8c]
lea eax, [ebx - 1]
push eax
add ecx, 0x14
call fcn.004d30a0
mov edi, eax
cmp edi, 1
jne 0x4e41bc
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4e417b
mov edx, dword [esp + 0x8c]
push esi
mov eax, dword [edx + 0x14]
lea ecx, [edx + 0x14]
call dword [eax + 0x14]
mov esi, eax
cmp byte [esi], 0
je 0x4e417b
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x1d8]
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
push esi
push edx
push eax
push ecx
call fcn.004de920
add esp, 0x14
test eax, eax
je 0x4e417b
mov edx, dword [ebp + 8]
push esi
push edx
mov ecx, ebp
call fcn.00518855
mov ecx, dword [esp + 0x1d0]
xor eax, eax
test edi, edi
setne al
add eax, 5
push eax
call fcn.00473660
jmp 0x4e417b
mov ebp, dword [esp + 0x1d0]
mov edi, dword [esp + 0x1cc]
mov ebx, 0x595ba4
mov ecx, dword [esp + 0x1c]
mov esi, dword [ebx]
mov edx, dword [esp + 0x1d8]
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
push esi
push edx
push eax
push ecx
call fcn.004de920
add esp, 0x14
test eax, eax
je 0x4e426e
mov eax, dword [edi + 8]
push esi
push eax
mov ecx, edi
call fcn.00518855
push 0xb
mov ecx, ebp
call fcn.00473660
add ebx, 4
cmp ebx, 0x595bac
jl 0x4e4233
mov eax, dword [esp + 0x1b8]
test eax, eax
jne 0x4e4355
mov eax, dword [esp + 0x98]
mov dword [esp + 0x20], 0
test eax, eax
jle 0x4e4355
mov edx, dword [0x599f3c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x44]
mov eax, dword [edx + eax*4]
push ecx
push eax
mov dword [esp + 0x2c], eax
call fcn.004de630
add esp, 8
test eax, eax
je 0x4e433d
mov eax, dword [esp + 0x24]
xor ebx, ebx
mov ecx, dword [eax + 0x64]
mov esi, dword [eax + 0x68]
test ecx, ecx
jle 0x4e433d
mov edx, dword [esp + 0x44]
push edx
push esi
push eax
call fcn.004de6d0
add esp, 0xc
cmp eax, 1
jne 0x4e4330
test byte [esi + 0xe], 0xc
jne 0x4e4330
cmp word [esi + 0xc], 0xffff
je 0x4e4330
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi]
mov edx, dword [esp + 0x1d8]
push eax
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
call fcn.004de920
add esp, 0x14
test eax, eax
je 0x4e4330
mov eax, dword [esi]
mov ecx, dword [edi + 8]
push eax
push ecx
mov ecx, edi
call fcn.00518855
push 0xb
mov ecx, ebp
call fcn.00473660
mov eax, dword [esp + 0x24]
inc ebx
add esi, 0x24
cmp ebx, dword [eax + 0x64]
jl 0x4e42d2
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x98]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x4e429f
mov eax, dword [esp + 0x1c8]
test eax, eax
je 0x4e4437
mov edx, eax
xor ebp, ebp
lea ebx, [edx + 0x14]
mov eax, ebp
push 0
push eax
mov ecx, ebx
inc ebp
call fcn.004d2670
test eax, eax
je 0x4e43cb
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 0x14]
mov esi, eax
cmp byte [esi], 0
je 0x4e436b
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1d8]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
push esi
push ecx
push edx
push eax
call fcn.004de920
add esp, 0x14
test eax, eax
je 0x4e436b
mov ecx, dword [edi + 8]
push esi
push ecx
mov ecx, edi
call fcn.00518855
mov ecx, dword [esp + 0x1d0]
push 1
call fcn.00473660
jmp 0x4e436b
mov edx, dword [esp + 0x1c8]
xor ebp, ebp
lea ebx, [edx + 0x34]
mov eax, ebp
push 0
push eax
mov ecx, ebx
inc ebp
call fcn.004d2670
test eax, eax
je 0x4e4437
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 0x14]
mov esi, eax
cmp byte [esi], 0
je 0x4e43d7
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1d8]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
push esi
push ecx
push edx
push eax
call fcn.004de920
add esp, 0x14
test eax, eax
je 0x4e43d7
mov ecx, dword [edi + 8]
push esi
push ecx
mov ecx, edi
call fcn.00518855
mov ecx, dword [esp + 0x1d0]
push 3
call fcn.00473660
jmp 0x4e43d7
mov ebx, dword [esp + 0x1c4]
test ebx, ebx
je 0x4e44a7
xor ebp, ebp
add ebx, 0xc
mov eax, ebp
push 0
push eax
mov ecx, ebx
inc ebp
call fcn.004d2670
test eax, eax
je 0x4e44a7
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 0x14]
mov esi, eax
cmp byte [esi], 0
je 0x4e4447
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1d8]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
push esi
push ecx
push edx
push eax
call fcn.004de920
add esp, 0x14
test eax, eax
je 0x4e4447
mov ecx, dword [edi + 8]
push esi
push ecx
mov ecx, edi
call fcn.00518855
mov ecx, dword [esp + 0x1d0]
push 8
call fcn.00473660
jmp 0x4e4447
xor ebx, ebx
mov eax, ebx
push 0
push eax
mov ecx, 0x599dc0
inc ebx
call fcn.004d2670
test eax, eax
je 0x4e4513
mov edx, dword [0x599dc0]
push eax
mov ecx, 0x599dc0
call dword [edx + 0x14]
mov esi, eax
cmp byte [esi], 0
je 0x4e44a9
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1d8]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
push esi
push ecx
push edx
push eax
call fcn.004de920
add esp, 0x14
test eax, eax
je 0x4e44a9
mov ecx, dword [edi + 8]
push esi
push ecx
mov ecx, edi
call fcn.00518855
mov ecx, dword [esp + 0x1d0]
push 9
call fcn.00473660
jmp 0x4e44a9
mov eax, dword [esp + 0xf4]
test eax, eax
je 0x4e517f
mov eax, dword [esp + 0x1b8]
test eax, eax
jne 0x4e517f
xor esi, esi
lea edx, [esp + 0x48]
mov eax, esi
push edx
push eax
mov ecx, 0x599e34
inc esi
call fcn.004d2de0
test eax, eax
je 0x4e517f
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4e4533
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x1d8]
push ecx
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push edx
push eax
push ecx
call fcn.004de920
add esp, 0x14
test eax, eax
je 0x4e4533
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x1cc]
add edx, 0xc
mov eax, dword [ecx + 8]
push edx
push eax
call fcn.00518881
mov ecx, dword [esp + 0x1d0]
push 4
call fcn.00473660
jmp 0x4e4533
mov eax, dword [esp + 0xb0]
shr eax, 2
mov dword [esp + 0xfc], eax
je 0x4e5239
xor esi, esi
test eax, eax
jle 0x4e505b
mov ecx, dword [esp + 0xa8]
push 1
lea eax, [esp + 0x1c]
push 1
mov edx, dword [ecx + esi*4]
push eax
mov ecx, 0x599bf0
mov dword [esp + 0x24], edx
call fcn.00448a50
mov ecx, dword [esp + 0xbc]
mov eax, dword [esp + 0x18]
push eax
mov edx, dword [ecx + esi*4]
mov dword [esp + 0x70], edx
call fcn.004ded00
mov ecx, dword [esp + 0xf8]
add esp, 4
cmp ecx, 1
jne 0x4e4956
cmp eax, 2
jne 0x4e4d13
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004ddec0
add esp, 4
cmp eax, 2
jne 0x4e495f
mov eax, dword [esp + 0x1b8]
test eax, eax
jne 0x4e504b
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x48]
push 0
push edx
push eax
mov ecx, 0x599e34
call fcn.004d2e80
test eax, eax
je 0x4e4948
mov dword [esp + 0x20], 1
mov ecx, dword [esp + 0x20]
push 0
mov eax, ecx
inc ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x4c]
push eax
add ecx, 0x14
call fcn.004d2670
mov edi, eax
test edi, edi
je 0x4e4780
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x48]
dec edx
push edx
lea ecx, [eax + 0x14]
call fcn.004d30a0
mov ebp, eax
cmp ebp, 1
jne 0x4e46ae
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4e4669
mov eax, dword [esp + 0x40]
mov ecx, dword [edi]
test eax, eax
mov dword [esp + 0x18], ecx
je 0x4e46d7
mov edx, dword [esp + 0x38]
test edx, edx
je 0x4e46d7
shr eax, 2
push ecx
push eax
push edx
call fcn.004743b0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4e4669
mov ecx, dword [esp + 0x48]
push edi
add ecx, 0x14
mov edx, dword [ecx]
call dword [edx + 0x14]
mov edi, eax
cmp byte [edi], 0
je 0x4e4669
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1d8]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
push edi
push ecx
push edx
push eax
call fcn.004de920
add esp, 0x14
test eax, eax
je 0x4e4669
mov ecx, dword [esp + 0xa8]
mov edx, dword [ecx + esi*4]
lea ecx, [esp + 0x30]
push edx
call fcn.00473660
mov eax, dword [esp + 0xbc]
mov ecx, dword [eax + esi*4]
push ecx
lea ecx, [esp + 0x7c]
call fcn.00473660
mov edx, dword [esp + 0xe0]
mov ecx, dword [esp + 0x5c]
lea eax, [edx + esi*4]
push eax
push ecx
lea ecx, [esp + 0x5c]
call fcn.00518881
mov edx, dword [ebx + 8]
push edi
push edx
mov ecx, ebx
call fcn.00518855
mov ecx, dword [esp + 0x1d0]
xor eax, eax
test ebp, ebp
setne al
add eax, 5
push eax
call fcn.00473660
jmp 0x4e4669
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx + 8]
test eax, eax
je 0x4e4948
lea edx, [esp + 0xf8]
push 0
push edx
push eax
mov ecx, 0x599dfc
call fcn.004d2e80
cmp eax, 1
jne 0x4e4948
xor ebp, ebp
mov eax, ebp
push 0
push eax
mov eax, dword [esp + 0x100]
inc ebp
lea ecx, [eax + 0xc]
call fcn.004d2670
test eax, eax
je 0x4e4867
mov ecx, dword [esp + 0xf8]
push eax
add ecx, 0xc
mov edx, dword [ecx]
call dword [edx + 0x14]
mov edi, eax
cmp byte [edi], 0
je 0x4e47af
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1d8]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
push edi
push ecx
push edx
push eax
call fcn.004de920
add esp, 0x14
test eax, eax
je 0x4e47af
mov ecx, dword [esp + 0xa8]
mov edx, dword [ecx + esi*4]
lea ecx, [esp + 0x30]
push edx
call fcn.00473660
mov eax, dword [esp + 0xbc]
mov ecx, dword [eax + esi*4]
push ecx
lea ecx, [esp + 0x7c]
call fcn.00473660
mov edx, dword [esp + 0xe0]
mov ecx, dword [esp + 0x5c]
lea eax, [edx + esi*4]
push eax
push ecx
lea ecx, [esp + 0x5c]
call fcn.00518881
mov edx, dword [ebx + 8]
push edi
push edx
mov ecx, ebx
call fcn.00518855
mov ecx, dword [esp + 0x1d0]
push 8
call fcn.00473660
jmp 0x4e47af
mov eax, dword [esp + 0xf8]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
jne 0x4e4879
xor ecx, ecx
jmp 0x4e487c
mov ecx, dword [eax + 0x34]
mov eax, dword [eax + 0x3c]
shr eax, 2
test eax, eax
jle 0x4e4948
mov edi, ecx
mov ebp, eax
mov ecx, dword [edi]
lea eax, [esp + 0x28]
push 0
push eax
push ecx
mov ecx, 0x599de0
call fcn.004d2e80
test eax, eax
je 0x4e493e
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4e493e
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x1d8]
push ecx
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push edx
push eax
push ecx
call fcn.004de920
add esp, 0x14
test eax, eax
je 0x4e493e
mov edx, dword [esp + 0xa8]
lea ecx, [esp + 0x30]
mov eax, dword [edx + esi*4]
push eax
call fcn.00473660
mov eax, dword [esp + 0xbc]
lea ecx, [esp + 0x78]
mov eax, dword [eax + esi*4]
push eax
call fcn.00473660
mov ecx, dword [esp + 0xe0]
mov edx, dword [esp + 0x5c]
lea eax, [ecx + esi*4]
lea ecx, [esp + 0x54]
push eax
push edx
call fcn.00518881
mov ecx, dword [esp + 0x28]
mov eax, dword [ebx + 8]
push ecx
push eax
mov ecx, ebx
call fcn.00518881
mov ecx, dword [esp + 0x1d0]
push 0
call fcn.00473660
add edi, 4
dec ebp
jne 0x4e488e
mov eax, 0x10001
mov dword [esp + 0x18], eax
jmp 0x4e4d20
cmp eax, 2
jne 0x4e4d13
mov edx, dword [esp + 0x18]
push edx
call fcn.004ddec0
add esp, 4
cmp eax, 1
jne 0x4e4a50
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0xc8]
push 0
push eax
push ecx
mov ecx, 0x599da4
call fcn.004d2e80
test eax, eax
je 0x4e504b
xor ebp, ebp
mov edx, dword [esp + 0xc8]
mov eax, ebp
push 0
push eax
lea ecx, [edx + 0xc]
inc ebp
call fcn.004d2670
test eax, eax
je 0x4e504b
mov ecx, dword [esp + 0xc8]
push eax
add ecx, 0xc
mov edx, dword [ecx]
call dword [edx + 0x14]
mov edi, eax
cmp byte [edi], 0
je 0x4e4998
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1d8]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
push edi
push ecx
push edx
push eax
call fcn.004de920
add esp, 0x14
test eax, eax
je 0x4e4998
mov ecx, dword [esp + 0xa8]
mov edx, dword [ecx + esi*4]
lea ecx, [esp + 0x30]
push edx
call fcn.00473660
mov eax, dword [esp + 0xbc]
mov ecx, dword [eax + esi*4]
push ecx
lea ecx, [esp + 0x7c]
call fcn.00473660
mov edx, dword [esp + 0xe0]
mov ecx, dword [esp + 0x5c]
lea eax, [edx + esi*4]
push eax
push ecx
lea ecx, [esp + 0x5c]
call fcn.00518881
mov edx, dword [ebx + 8]
push edi
push edx
mov ecx, ebx
call fcn.00518855
mov ecx, dword [esp + 0x1d0]
push 0xd
call fcn.00473660
jmp 0x4e4998
mov eax, dword [esp + 0x18]
push eax
call fcn.004ddec0
add esp, 4
cmp eax, 3
jne 0x4e504b
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x68]
push 0
push ecx
push edx
mov ecx, 0x599dfc
call fcn.004d2e80
test eax, eax
je 0x4e504b
test byte [esp + 0x6c], 1
je 0x4e4bc8
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx + 0x3c]
mov edx, dword [ecx + 0x3c]
shr eax, 2
test edx, edx
jne 0x4e4aa4
xor ecx, ecx
jmp 0x4e4aa7
mov ecx, dword [ecx + 0x34]
test eax, eax
jle 0x4e504b
mov ebp, dword [esp + 0x1d0]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0xf0]
push 0
push eax
mov edx, dword [ecx]
mov ecx, 0x599de0
push edx
call fcn.004d2e80
test eax, eax
je 0x4e4ba9
mov ecx, dword [esp + 0xf0]
mov eax, dword [0x593d2c]
push eax
mov ecx, dword [ecx]
push ecx
call fcn.00501dbe
add esp, 8
test eax, eax
je 0x4e4ba9
mov edx, dword [esp + 0xf0]
mov eax, dword [0x593d30]
push eax
mov ecx, dword [edx]
push ecx
call fcn.00501dbe
add esp, 8
test eax, eax
je 0x4e4ba9
mov eax, dword [esp + 0xf0]
mov edi, dword [eax]
cmp byte [edi], 0
je 0x4e4ba9
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x1d8]
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
push edi
push edx
push eax
push ecx
call fcn.004de920
add esp, 0x14
test eax, eax
je 0x4e4ba9
mov edx, dword [esp + 0xa8]
lea ecx, [esp + 0x30]
mov eax, dword [edx + esi*4]
push eax
call fcn.00473660
mov eax, dword [esp + 0xbc]
lea ecx, [esp + 0x78]
mov eax, dword [eax + esi*4]
push eax
call fcn.00473660
mov ecx, dword [esp + 0xe0]
mov edx, dword [esp + 0x5c]
lea eax, [ecx + esi*4]
lea ecx, [esp + 0x54]
push eax
push edx
call fcn.00518881
mov eax, dword [ebx + 8]
push edi
push eax
mov ecx, ebx
call fcn.00518855
push 0xc
mov ecx, ebp
call fcn.00473660
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x6c]
add ecx, 4
dec eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x6c], eax
jne 0x4e4abe
jmp 0x4e504b
lea ecx, [esp + 0x154]
call fcn.004733a0
lea ecx, [esp + 0x190]
mov byte [esp + 0x1ac], 0x1a
call fcn.005185f1
push 0
push 0
lea eax, [esp + 0x198]
push 0
push eax
lea ecx, [esp + 0x164]
push 1
push ecx
mov ecx, dword [esp + 0x80]
mov byte [esp + 0x1c4], 0x1b
call fcn.004ce6a0
mov eax, dword [esp + 0x164]
mov dword [esp + 0x20], 0
shr eax, 2
test eax, eax
mov dword [esp + 0x6c], eax
jle 0x4e4cdb
mov ebp, dword [esp + 0x1d0]
mov edx, dword [esp + 0x194]
mov eax, dword [esp + 0x20]
mov edi, dword [edx + eax*4]
cmp byte [edi], 0
je 0x4e4cc6
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x1d8]
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
push edi
push edx
push eax
push ecx
call fcn.004de920
add esp, 0x14
test eax, eax
je 0x4e4cc6
mov edx, dword [esp + 0xa8]
lea ecx, [esp + 0x30]
mov eax, dword [edx + esi*4]
push eax
call fcn.00473660
mov eax, dword [esp + 0xbc]
lea ecx, [esp + 0x78]
mov eax, dword [eax + esi*4]
push eax
call fcn.00473660
mov ecx, dword [esp + 0xe0]
mov edx, dword [esp + 0x5c]
lea eax, [ecx + esi*4]
lea ecx, [esp + 0x54]
push eax
push edx
call fcn.00518881
mov eax, dword [ebx + 8]
push edi
push eax
mov ecx, ebx
call fcn.00518855
push 0xc
mov ecx, ebp
call fcn.00473660
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x6c]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x4e4c39
lea ecx, [esp + 0x190]
mov byte [esp + 0x1ac], 0x1a
call fcn.00518624
lea ecx, [esp + 0x154]
mov byte [esp + 0x1ac], 0xe
mov dword [esp + 0x154], 0x54d7d0
call fcn.004735a0
jmp 0x4e504b
cmp eax, 3
jne 0x4e504b
mov eax, dword [esp + 0x18]
test eax, 0x20000000
je 0x4e4d42
lea ecx, [esp + 0x24]
and eax, 0xdfffffff
push ecx
push eax
mov ecx, 0x599b30
mov dword [esp + 0x20], eax
call fcn.004abd40
jmp 0x4e4d52
lea edx, [esp + 0x24]
mov ecx, 0x599bf0
push edx
push eax
call fcn.00450cd0
mov ebp, eax
test ebp, ebp
je 0x4e504b
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x24]
push eax
push ebp
push ecx
call fcn.004de670
add esp, 0xc
test eax, eax
je 0x4e504b
mov eax, dword [esp + 0x1b8]
test eax, eax
jne 0x4e4e5c
mov eax, dword [ebp + 0x24]
mov edi, dword [ebp + 0x28]
test eax, eax
mov dword [esp + 0x20], 0
jle 0x4e4e5c
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x24]
push edx
push edi
push eax
call fcn.004de6d0
add esp, 0xc
cmp eax, 1
jne 0x4e4e45
test byte [edi + 0xe], 0x10
jne 0x4e4e45
mov ecx, dword [esp + 0x1c]
mov edx, dword [edi]
mov eax, dword [esp + 0x1d8]
push ecx
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
call fcn.004de920
add esp, 0x14
test eax, eax
je 0x4e4e45
mov eax, dword [esp + 0xa8]
lea ecx, [esp + 0x30]
mov eax, dword [eax + esi*4]
push eax
call fcn.00473660
mov ecx, dword [esp + 0xbc]
mov eax, dword [ecx + esi*4]
lea ecx, [esp + 0x78]
push eax
call fcn.00473660
mov edx, dword [esp + 0xe0]
lea ecx, [esp + 0x54]
lea eax, [edx + esi*4]
push eax
mov eax, dword [esp + 0x60]
push eax
call fcn.00518881
mov eax, dword [edi]
mov ecx, dword [ebx + 8]
push eax
push ecx
mov ecx, ebx
call fcn.00518855
mov ecx, dword [esp + 0x1d0]
push 7
call fcn.00473660
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 0x24]
inc eax
add edi, 0x14
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x4e4d9c
mov eax, dword [ebp + 0x30]
mov edi, dword [ebp + 0x34]
test eax, eax
mov dword [esp + 0x20], 0
jle 0x4e4f19
add edi, 8
test byte [edi + 0xc], 2
jne 0x4e4f02
mov ecx, dword [esp + 0x1c]
mov edx, dword [edi]
mov eax, dword [esp + 0x1d8]
push ecx
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
call fcn.004de920
add esp, 0x14
test eax, eax
je 0x4e4f02
mov eax, dword [esp + 0xa8]
lea ecx, [esp + 0x30]
mov eax, dword [eax + esi*4]
push eax
call fcn.00473660
mov ecx, dword [esp + 0xbc]
mov eax, dword [ecx + esi*4]
lea ecx, [esp + 0x78]
push eax
call fcn.00473660
mov edx, dword [esp + 0xe0]
lea ecx, [esp + 0x54]
lea eax, [edx + esi*4]
push eax
mov eax, dword [esp + 0x60]
push eax
call fcn.00518881
mov eax, dword [edi]
mov ecx, dword [ebx + 8]
push eax
push ecx
mov ecx, ebx
call fcn.00518855
mov ecx, dword [esp + 0x1d0]
push 0xd
call fcn.00473660
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 0x30]
inc eax
add edi, 0x1c
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x4e4e75
mov eax, dword [esp + 0x1b8]
test eax, eax
jne 0x4e504b
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x74], 0
cmp dword [esp + 0x74], 1
jne 0x4e4f5d
mov eax, dword [ebp + 0x14]
test al, 0x40
je 0x4e504b
test al, 0x10
jne 0x4e504b
mov ecx, dword [esp + 0x94]
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x24], ecx
mov eax, dword [ebp + 0xc]
xor ebx, ebx
test eax, eax
jle 0x4e5032
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + ebx*4]
mov edx, dword [ecx + 0x68]
lea eax, [eax + eax*8]
lea edi, [edx + eax*4]
mov eax, dword [esp + 0x44]
push eax
push edi
push ecx
call fcn.004de6d0
add esp, 0xc
cmp eax, 1
jne 0x4e5022
test byte [edi + 0xe], 0xc
jne 0x4e5022
mov ecx, dword [esp + 0x1c]
mov edx, dword [edi]
mov eax, dword [esp + 0x1d8]
push ecx
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
call fcn.004de920
add esp, 0x14
test eax, eax
je 0x4e5022
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + esi*4]
push ecx
lea ecx, [esp + 0x34]
call fcn.0040cc00
push esi
lea ecx, [esp + 0xb8]
call fcn.0040cbc0
mov edx, dword [eax]
lea ecx, [esp + 0x78]
push edx
call fcn.0040cc00
push esi
lea ecx, [esp + 0xe0]
call fcn.004c4940
push eax
lea ecx, [esp + 0x58]
call fcn.004c4a20
mov eax, dword [edi]
mov ecx, dword [esp + 0x1cc]
push eax
call fcn.004c4910
mov ecx, dword [esp + 0x1d0]
push 0xc
call fcn.0040cc00
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x24]
inc ebx
cmp ebx, eax
jl 0x4e4f6a
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x1cc]
inc eax
cmp eax, 1
mov dword [esp + 0x74], eax
jle 0x4e4f34
mov eax, dword [esp + 0xfc]
inc esi
cmp esi, eax
jl 0x4e45c9
lea ecx, [esp + 0x30]
call fcn.0040cc30
mov edi, eax
test edi, edi
jle 0x4e5135
push 0
lea ecx, [esp + 0x34]
call fcn.0040cbc0
mov ecx, dword [eax]
mov esi, 1
cmp edi, esi
mov dword [esp + 0x18], ecx
jl 0x4e5135
push esi
lea ecx, [esp + 0x34]
call fcn.0040cbc0
mov edx, dword [eax]
mov eax, dword [esp + 0x18]
cmp edx, eax
jne 0x4e50aa
inc esi
cmp esi, edi
jle 0x4e508c
jmp 0x4e5135
mov ecx, ebx
call fcn.004e56c0
mov ebp, eax
xor esi, esi
test ebp, ebp
jl 0x4e5135
push 0x58c264
push esi
lea ecx, [esp + 0x5c]
call fcn.004c4940
push eax
lea eax, [esp + 0x12c]
push eax
call fcn.00519c4f
mov edi, eax
push esi
mov ecx, ebx
mov byte [esp + 0x1b0], 0x1c
call fcn.004c4940
push eax
lea ecx, [esp + 0x134]
push edi
push ecx
call fcn.00519be9
push eax
push esi
mov ecx, ebx
mov byte [esp + 0x1b4], 0x1d
call fcn.004c4ae0
lea ecx, [esp + 0x130]
mov byte [esp + 0x1ac], 0x1c
call fcn.00519a06
lea ecx, [esp + 0x124]
mov byte [esp + 0x1ac], 0xe
call fcn.00519a06
inc esi
cmp esi, ebp
jle 0x4e50b9
mov ecx, ebx
call fcn.004e56b0
cmp eax, 1
jne 0x4e517f
push 0
mov ecx, ebx
call fcn.004c4940
mov edx, dword [esp + 0x90]
push eax
lea ecx, [esp + 0x108]
lea eax, [edx - 1]
push eax
call fcn.004c4940
push eax
call fcn.004e56e0
test al, al
je 0x4e517f
mov ecx, ebx
call fcn.004e56d0
mov ecx, dword [esp + 0x1d0]
call fcn.0040cba0
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x90]
inc ebp
cmp ebp, eax
mov dword [esp + 0x9c], ebp
jl 0x4e26fb
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1ac], 8
call fcn.00519a06
lea ecx, [esp + 0x104]
mov byte [esp + 0x1ac], 5
call fcn.00518624
lea ecx, [esp + 0xdc]
mov byte [esp + 0x1ac], 4
call fcn.00518624
lea ecx, [esp + 0x54]
mov byte [esp + 0x1ac], 3
call fcn.00518624
lea ecx, [esp + 0xb4]
mov byte [esp + 0x1ac], 2
call fcn.00408a20
lea ecx, [esp + 0x78]
mov byte [esp + 0x1ac], 1
call fcn.00408a20
lea ecx, [esp + 0xa0]
mov byte [esp + 0x1ac], 0
call fcn.00408a20
lea ecx, [esp + 0x30]
mov dword [esp + 0x1ac], 0xffffffff
call fcn.00408a20
jmp 0x4e568c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1ac], 8
call fcn.00519a06
lea ecx, [esp + 0x104]
mov byte [esp + 0x1ac], 5
call fcn.00518624
lea ecx, [esp + 0xdc]
mov byte [esp + 0x1ac], 4
call fcn.00518624
lea ecx, [esp + 0x54]
mov byte [esp + 0x1ac], 3
call fcn.00518624
lea ecx, [esp + 0xb4]
mov byte [esp + 0x1ac], 2
mov dword [esp + 0xb4], edi
call fcn.004735a0
lea ecx, [esp + 0x78]
mov byte [esp + 0x1ac], 1
mov dword [esp + 0x78], edi
call fcn.004735a0
lea ecx, [esp + 0xa0]
mov byte [esp + 0x1ac], 0
mov dword [esp + 0xa0], edi
call fcn.004735a0
mov dword [esp + 0x1ac], 0xffffffff
mov dword [esp + 0x30], edi
jmp 0x4e5683
mov eax, dword [esp + 0x1bc]
lea ecx, [esp + 0xd0]
lea edx, [esp + 0x10]
push ecx
mov eax, dword [eax]
push edx
mov dword [esp + 0x18], eax
call fcn.004dd1b0
add esp, 8
cmp al, 0x3b
mov byte [esp + 0x14], al
mov dword [esp + 0x1c], 1
je 0x4e5318
cmp al, 0x3a
jne 0x4e5349
mov ebp, dword [esp + 0xd0]
mov ecx, dword [0x5999b4]
mov edx, dword [esp + 0x14]
xor eax, eax
test ebp, ebp
sete al
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1d8]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
call dword [0x59a39c]
mov ebp, dword [esp + 0x1d0]
mov edi, dword [esp + 0x1cc]
cmp ebx, 5
je 0x4e53ea
cmp ebx, 8
je 0x4e54a3
push 0
push 0
push 0
mov ecx, 0x599b30
call fcn.0045d6a0
mov edx, dword [0x59a468]
xor ebx, ebx
lea eax, [edx - 1]
test eax, eax
mov dword [esp + 0x98], eax
jl 0x4e55ff
mov eax, dword [0x59a464]
mov esi, dword [eax + ebx*4]
cmp byte [esi], 0
je 0x4e53d9
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x1d8]
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
push esi
push edx
push eax
push ecx
call fcn.004de920
add esp, 0x14
test eax, eax
je 0x4e53d9
mov eax, dword [edi + 8]
push esi
push eax
mov ecx, edi
call fcn.00518855
push 0x13
mov ecx, ebp
call fcn.00473660
mov eax, dword [esp + 0x98]
inc ebx
cmp ebx, eax
jle 0x4e5393
jmp 0x4e55ff
mov eax, dword [0x593f68]
test eax, eax
je 0x4e543e
mov ebx, 0x593f68
mov edx, dword [esp + 0x1c]
mov esi, dword [ebx + 4]
mov eax, dword [esp + 0x1d8]
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x18]
push esi
push eax
push ecx
push edx
call fcn.004de920
add esp, 0x14
test eax, eax
je 0x4e5434
mov eax, dword [edi + 8]
push esi
push eax
mov ecx, edi
call fcn.00518855
push 0x11
mov ecx, ebp
call fcn.00473660
mov eax, dword [ebx + 0x10]
add ebx, 0x10
test eax, eax
jne 0x4e53f8
xor ebx, ebx
lea ecx, [esp + 0xc8]
mov eax, ebx
push ecx
push eax
mov ecx, 0x599da4
inc ebx
call fcn.004d2de0
test eax, eax
je 0x4e54a3
mov edx, dword [esp + 0xc8]
mov esi, dword [edx]
cmp byte [esi], 0
je 0x4e5440
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1d8]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
push esi
push ecx
push edx
push eax
call fcn.004de920
add esp, 0x14
test eax, eax
je 0x4e5440
mov ecx, dword [edi + 8]
push esi
push ecx
mov ecx, edi
call fcn.00518855
push 0x12
mov ecx, ebp
call fcn.00473660
jmp 0x4e5440
mov ebp, dword [esp + 0x1c4]
xor ebx, ebx
lea edx, [esp + 0x68]
mov eax, ebx
push edx
push eax
mov ecx, 0x599dfc
inc ebx
call fcn.004d2de0
test eax, eax
je 0x4e5520
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x4e54ac
cmp dword [esp + 0x70], 8
jne 0x4e54d9
cmp eax, ebp
je 0x4e54ac
mov esi, dword [eax]
cmp byte [esi], 0
je 0x4e54ac
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1d8]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
push esi
push ecx
push edx
push eax
call fcn.004de920
add esp, 0x14
test eax, eax
je 0x4e54ac
mov ecx, dword [edi + 8]
push esi
push ecx
mov ecx, edi
call fcn.00518855
mov ecx, dword [esp + 0x1d0]
push 0x12
call fcn.00473660
jmp 0x4e54ac
cmp dword [esp + 0x70], 5
jne 0x4e55ff
mov eax, dword [0x599f5c]
mov dword [esp + 0x50], 0
shr eax, 2
test eax, eax
mov dword [esp + 0x90], eax
jle 0x4e55ff
mov ebp, dword [esp + 0x1d0]
mov eax, dword [esp + 0x50]
mov edx, dword [0x599f3c]
mov ecx, dword [esp + 0x44]
push ecx
mov eax, dword [edx + eax*4]
push eax
mov dword [esp + 0x2c], eax
call fcn.004de630
add esp, 8
test eax, eax
je 0x4e55e7
mov eax, dword [esp + 0x24]
xor ebx, ebx
mov ecx, dword [eax + 0x54]
mov esi, dword [eax + 0x58]
test ecx, ecx
jle 0x4e55e7
mov edx, dword [esp + 0x44]
push edx
push esi
push eax
call fcn.004de670
add esp, 0xc
test eax, eax
je 0x4e55da
test byte [esi + 0x14], 3
jne 0x4e55da
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi]
mov edx, dword [esp + 0x1d8]
push eax
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
call fcn.004de920
add esp, 0x14
test eax, eax
je 0x4e55da
mov eax, dword [esi]
mov ecx, dword [edi + 8]
push eax
push ecx
mov ecx, edi
call fcn.00518855
push 2
mov ecx, ebp
call fcn.00473660
mov eax, dword [esp + 0x24]
inc ebx
add esi, 0x38
cmp ebx, dword [eax + 0x54]
jl 0x4e5584
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x90]
inc eax
cmp eax, ecx
mov dword [esp + 0x50], eax
jl 0x4e5555
lea ecx, [esp + 0xdc]
mov byte [esp + 0x1ac], 4
call fcn.00518624
lea ecx, [esp + 0x54]
mov byte [esp + 0x1ac], 3
call fcn.00518624
mov esi, 0x54d7d0
lea ecx, [esp + 0xb4]
mov byte [esp + 0x1ac], 2
mov dword [esp + 0xb4], esi
call fcn.004735a0
lea ecx, [esp + 0x78]
mov byte [esp + 0x1ac], 1
mov dword [esp + 0x78], esi
call fcn.004735a0
lea ecx, [esp + 0xa0]
mov byte [esp + 0x1ac], 0
mov dword [esp + 0xa0], esi
call fcn.004735a0
mov dword [esp + 0x1ac], 0xffffffff
mov dword [esp + 0x30], esi
lea ecx, [esp + 0x30]
call fcn.004735a0
mov ecx, dword [esp + 0x1a4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1a0
ret