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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x478b78]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
or ecx, 0xffffffff
or dword [ebp - 0xd4], ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
xor esi, esi
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp + 0x24]
push edi
mov dword [ebp - 0xd0], eax
mov eax, 0x7fff
push 3
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0x90], eax
pop eax
mov dword [ebp - 0x78], eax
xor eax, eax
inc eax
mov dword [ebp - 0xf8], ecx
push 2
mov dword [ebp - 0xec], ebx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0xa0], esi
mov dword [ebp - 0x84], esi
mov dword [ebp - 0xe8], esi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x108], esi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x114], esi
mov dword [ebp - 0xdc], esi
mov dword [ebp - 0xf0], esi
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0x104], esi
mov dword [ebp - 0xd8], esi
mov dword [ebp - 0x110], esi
mov dword [ebp - 0xc8], esi
pop ecx
cmp dword [ebp + 0x28], esi
je 0x41f5ab
mov eax, dword [0x49eec0]
inc eax
push eax
push ecx
mov dword [0x49eec0], eax
call 0x474f58
push ebx
call dword [0x4780bc]
mov edi, eax
mov eax, dword [ebp + 0x18]
push 2
pop edx
mov ebx, dword [edi + 0x8c]
cmp ebx, eax
mov dword [edi + 0x60], esi
cmovl eax, ebx
mov dword [edi + 0x64], esi
sub ebx, dword [edi + 0x90]
xor ecx, ecx
mov dword [ebp + 0x18], eax
mov eax, dword [edi + 0x34]
cmp eax, edx
mov dword [ebp - 0x38], ebx
sete cl
mov dword [ebp - 0xcc], ecx
xor ecx, ecx
cmp eax, 0x22
sete cl
mov dword [ebp - 0x6c], ecx
sub eax, esi
je 0x41f630
sub eax, edx
je 0x41f630
sub eax, 0x16
je 0x41f622
sub eax, edx
je 0x41f614
sub eax, 6
je 0x41f622
sub eax, edx
je 0x41f630
xor ecx, ecx
inc ecx
mov dword [ebp - 0x70], ecx
jmp 0x41f636
lea eax, [ebx + 1]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x108], eax
xor ecx, ecx
mov dword [edi + 0x70], esi
inc ecx
mov dword [ebp - 0xa8], ecx
jmp 0x41f633
xor ecx, ecx
inc ecx
mov dword [ebp - 0x70], esi
cmp ebx, ecx
jne 0x41f643
cmp dword [edi + 0x68], 0xffffffff
jne 0x41f643
mov dword [edi + 0x68], esi
lea eax, [edi + 0x10]
test byte [eax], 8
je 0x41f657
mov dword [ebp - 0xf0], ecx
mov dword [ebp - 0x10c], esi
push esi
push 8
push eax
call 0x4798c4
mov ecx, dword [ebp + 0x18]
xor eax, eax
sub ecx, dword [ebp + 0x14]
push 3
cmp ecx, 1
mov dword [ebp - 0x60], ecx
pop edx
cmove edx, eax
mov eax, dword [edi + 0x34]
add eax, 0xfffffffd
mov dword [ebp - 0x88], edx
cmp eax, 0x1f
ja 0x41f7db
movzx eax, byte [eax + 0x413a2d]
jmp dword [eax*4 + 0x413a05]
xor eax, eax
inc eax
cmp edx, 3
je 0x41f7e9
mov dword [ebp - 0x10c], esi
mov edx, dword [ebp - 0x38]
xor ecx, ecx
mov dword [ebp - 0x48], eax
inc ecx
xor eax, eax
mov dword [ebp - 0xb4], esi
cmp edx, ecx
mov dword [ebp - 0xe4], esi
mov ebx, esi
mov dword [ebp - 0x54], esi
setg al
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0x70], ebx
jne 0x41f831
cmp dword [ebp - 0xa8], ebx
jne 0x41f831
mov eax, dword [edi + 0x84]
add eax, dword [edi + 0x78]
add eax, dword [edi + 0x70]
mov dword [ebp - 0xf4], eax
jmp 0x41f837
mov dword [ebp - 0xf4], esi
mov eax, dword [ebp + 0x14]
mov ecx, eax
cmp ecx, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x80], eax
jge 0x41fb4b
push eax
push edi
call fcn.0042c081
mov ecx, eax
mov dword [ebp - 0x28], ecx
lea edx, [ecx + 0x30]
mov eax, dword [edx + 0xc]
sub eax, dword [edx + 4]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x58], eax
cmp dword [ecx + 0x90], esi
je 0x41f8d0
cmp dword [ecx + 0x10], esi
jl 0x41f8d0
lea eax, [ebp - 0x100]
push eax
push dword [ecx + 0x10]
push 0x66
push dword [ebp + 0xc]
call 0x449f4f
test eax, eax
jne 0x41f8ca
push dword [ebp - 0x100]
call dword [0x4780bc]
mov ecx, eax
movsx eax, word [edi]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x80]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], esi
push dword [ebp - 0x100]
call dword [0x4780b8]
push dword [ebp - 0x100]
call 0x44b4b4
push dword [ebp - 0x100]
call 0x44b6d7
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x44], esi
push 4
lea eax, [ecx + 0xd4]
pop ebx
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x4c], ebx
mov ecx, dword [eax - 0x10]
cmp ecx, 0xffffffff
je 0x41f989
lea eax, [ebp - 0x94]
push eax
push ecx
push 0x6b
push dword [ebp + 0xc]
call 0x449f4f
test eax, eax
je 0x41f91d
push dword [ebp - 0xec]
call 0x44933e
mov eax, dword [ebp - 0x8c]
or dword [eax - 0x10], 0xffffffff
mov dword [eax], esi
jmp 0x41f989
push dword [ebp - 0x94]
call dword [0x4780bc]
push dword [ebp - 0x94]
mov dword [ebp - 0x74], eax
call 0x44b4b4
mov eax, dword [ebp - 0x74]
mov edx, dword [ebp - 0x8c]
inc dword [eax + 0x10]
mov eax, dword [edx]
test eax, eax
js 0x41f96c
xor ecx, ecx
inc ecx
cmp eax, ecx
jg 0x41f96c
mov ebx, dword [ebp - 0x74]
movsx ecx, word [edi]
imul eax, eax, 0x50
mov dword [eax + ebx + 0x48], ecx
mov ecx, ebx
imul eax, dword [edx], 0x50
mov edx, dword [ebp - 0x80]
mov ebx, dword [ebp - 0x4c]
mov dword [eax + ecx + 0x4c], edx
push dword [ebp - 0x94]
call dword [0x4780b8]
push dword [ebp - 0x94]
call 0x44b6d7
mov eax, dword [ebp - 0x8c]
add eax, 4
sub ebx, 1
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x4c], ebx
jne 0x41f8e2
mov ecx, dword [ebp - 0x28]
mov ebx, esi
test dword [ecx + 0xf4], 0x100
je 0x41faea
push ecx
push edi
call fcn.0042c16b
cmp eax, 0xffffffff
je 0x41fad0
lea ecx, [ebp - 0x50]
push ecx
push eax
push 0x65
push dword [ebp + 0xc]
call 0x449f4f
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x41fb6e
push dword [ebp - 0x50]
call dword [0x4780bc]
mov ecx, eax
mov dword [ebp - 0x4c], ecx
mov eax, dword [ecx + 0x34]
sub eax, 0x18
je 0x41fa18
push 2
pop edx
sub eax, edx
je 0x41fa18
sub eax, 6
je 0x41fa18
mov eax, dword [ebp - 0x28]
push esi
push pe_nt_image_headers32
add eax, 0xf4
push eax
call 0x4798c4
jmp 0x41fabd
mov eax, dword [ecx + 0x8c]
dec eax
push eax
push ecx
call fcn.0042c081
mov edx, eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x74], edx
mov ecx, dword [edx + 0x38]
sub ecx, dword [edx + 0x30]
mov edx, dword [ebp - 0x2c]
mov eax, dword [eax + 0x38]
sub eax, dword [edx]
mov edx, dword [ebp - 0x74]
cmp ecx, eax
je 0x41fa5a
xor eax, eax
inc eax
push eax
push 2
pop eax
push eax
mov eax, dword [ebp - 0x4c]
add eax, 0x10
push eax
call 0x4798c4
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x3c]
sub ecx, dword [eax + 0x34]
mov eax, dword [edx + 0x3c]
sub eax, dword [edx + 0x34]
cmp eax, ecx
je 0x41fa93
xor eax, eax
inc eax
push eax
push 2
pop eax
push eax
mov eax, dword [ebp - 0x4c]
add eax, 0x10
push eax
call 0x4798c4
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x74]
mov eax, dword [edx + 0x3c]
mov dword [ecx + 0x3c], eax
mov eax, dword [edx + 0x34]
mov dword [ecx + 0x34], eax
mov eax, dword [ebp - 0x4c]
test byte [eax + 0x10], 2
je 0x41faa7
xor eax, eax
inc eax
mov dword [ebp - 0xc0], eax
jmp 0x41fab5
mov eax, dword [eax + 0x4c]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0xc0], ebx
je 0x41fabd
push dword [ebp - 0x50]
call 0x44b4b4
push dword [ebp - 0x50]
call dword [0x4780b8]
push dword [ebp - 0x50]
call 0x44b6d7
jmp 0x41faea
mov ecx, dword [ebp - 0x28]
cmp dword [ecx], 0xffffffff
jne 0x41faea
push esi
push pe_nt_image_headers32
lea eax, [ecx + 0xf4]
push eax
call 0x4798c4
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0xa8], ebx
je 0x41fb06
mov ecx, dword [ebp - 0x90]
cmp eax, ecx
cmovl ecx, eax
mov dword [ebp - 0x90], ecx
cmp dword [ebp - 0x48], ebx
je 0x41fb1e
mov dword [ebp - 0x48], esi
cmp eax, dword [ebp - 0xb4]
jle 0x41fb35
mov dword [ebp - 0xb4], eax
jmp 0x41fb35
mov ecx, dword [ebp - 0xe4]
cmp eax, ecx
cmovg ecx, eax
xor eax, eax
inc eax
mov dword [ebp - 0xe4], ecx
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp eax, dword [ebp + 0x18]
jl 0x41f84b
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x38]
cmp dword [ebp - 0xcc], esi
je 0x41fb8a
xor eax, eax
inc eax
cmp ecx, eax
jle 0x41fb82
mov eax, dword [edi + 0x80]
add eax, dword [ebp - 0xe4]
add eax, dword [ebp - 0xb4]
jmp 0x41fb9f
push dword [ebp - 0xec]
call dword [0x4780b8]
mov eax, dword [ebp - 0x44]
jmp 0x4215f8
mov eax, dword [ebp - 0xb4]
jmp 0x41fb9f
mov ecx, dword [ebp - 0xb4]
mov eax, ecx
cmp dword [ebp - 0xe4], ecx
cmovg eax, dword [ebp - 0xe4]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x6c], esi
je 0x41fbb7
xor ecx, ecx
inc ecx
cmp edx, ecx
jle 0x41fbb7
add eax, dword [edi + 0x84]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp + 0x14]
cdq
sub eax, edx
mov edx, dword [ebp + 0x18]
sar eax, 1
mov dword [ebp - 0x9c], eax
xor eax, eax
inc eax
mov dword [ebp - 0x98], eax
jmp 0x421165
cmp dword [edi + 0x34], 0x1a
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0xac], esi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x40], esi
je 0x41fc2a
cmp dword [edi + 0x34], 0x20
je 0x41fc04
xor eax, eax
cmp ecx, dword [ebp + 0x14]
jmp 0x41fc59
test ecx, ecx
jne 0x41fc25
cmp dword [ebp - 0x104], ecx
jne 0x41fc25
or dword [ebp - 0x74], 0xffffffff
lea ecx, [edx - 1]
xor eax, eax
mov dword [ebp - 0x3c], ecx
inc eax
mov dword [ebp - 0x104], eax
jmp 0x41fc5c
mov dword [ebp - 0x60], esi
jmp 0x41fc5f
cmp ecx, dword [ebp - 0x108]
jne 0x41fc55
cmp dword [ebp - 0x104], 0
jne 0x41fc55
lea eax, [ecx - 1]
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x74], eax
lea ecx, [edx - 1]
xor eax, eax
mov dword [ebp - 0x3c], ecx
inc eax
mov dword [ebp - 0x104], eax
jmp 0x41fc5f
xor eax, eax
test ecx, ecx
sete al
mov dword [ebp - 0x60], eax
push ecx
push edi
call fcn.0042c081
mov ebx, eax
lea eax, [ebp - 0x24]
push eax
push ebx
mov dword [ebp - 0x28], ebx
call fcn.0041f468
mov eax, dword [ebx + 0xf4]
mov ecx, eax
and ecx, 4
mov dword [ebx + 0x14], esi
mov dword [ebp - 0x90], ecx
and eax, 0x80
mov ecx, dword [ebp - 0x30]
add ecx, dword [ebp - 0x54]
cmp dword [ebp - 0x60], 0
mov dword [ebp - 0x8c], eax
mov dword [ebx + 0x18], esi
mov dword [ebp - 0x30], ecx
jne 0x41fcac
add ecx, dword [ebx + 0x58]
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0xa8], 0
lea ecx, [ebx + 0x30]
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x2c], ecx
je 0x41fd67
test eax, eax
je 0x41fd67
cmp dword [edi + 0x2c], 0xffffffff
je 0x41fd59
lea eax, [ebp - 0x50]
push eax
push dword [edi + 0x2c]
push 0x65
push dword [ebp + 0xc]
call 0x449f4f
mov esi, eax
mov dword [ebp - 0x44], esi
test esi, esi
jne 0x4215ea
push dword [ebp - 0x50]
call dword [0x4780bc]
push dword [edi + 0x30]
push eax
call fcn.0042c081
mov esi, eax
push dword [esi + 0x3c]
push dword [esi + 0x38]
push dword [esi + 0x34]
push dword [esi + 0x30]
push dword [ebp - 0x2c]
call dword [0x47c000]
push dword [esi + 0xf0]
lea eax, [ebx + 0xe4]
push dword [esi + 0xec]
push dword [esi + 0xe8]
push dword [esi + 0xe4]
push eax
call dword [0x47c000]
mov eax, dword [esi + 0x60]
mov dword [ebx + 0x60], eax
mov eax, dword [esi + 0x64]
mov dword [ebx + 0x64], eax
push dword [ebp - 0x50]
call dword [0x4780b8]
xor esi, esi
jmp 0x41fd64
push esi
push esi
push esi
push esi
push ecx
call dword [0x47c000]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
mov dword [ebp - 0xa4], eax
lea eax, [ebx + 0x2c]
test dword [eax], 0x800
mov dword [ebp - 0x48], eax
je 0x41fd88
mov edx, dword [ecx + 0xc]
sub edx, dword [ecx + 4]
jmp 0x41fdbe
cmp dword [ebp - 0x6c], 0
je 0x41fdb8
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x38]
jne 0x41fdb8
mov eax, dword [ebp - 0x7c]
push esi
push esi
push esi
push esi
push ecx
mov dword [ebp - 0x80], eax
call dword [0x47c000]
mov eax, dword [ebp - 0x30]
sub eax, dword [edi + 0x7c]
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x64], eax
jmp 0x41fdc1
mov edx, dword [ebx + 0xf0]
mov dword [ebp - 0x80], edx
cmp dword [ebp - 0x98], 0
jne 0x41fddb
mov eax, dword [edi + 0x80]
add eax, dword [ebp - 0xb4]
add edx, eax
mov dword [ebp - 0x80], edx
push ebx
push edi
call fcn.0042c16b
mov dword [ebp - 0x4c], eax
cmp eax, 0xffffffff
je 0x420c3c
push dword [ebp - 0xec]
call dword [0x4780b8]
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x4c]
push 0x65
push dword [ebp + 0xc]
call 0x449f4f
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x4215f8
inc eax
push eax
push dword [ebp - 0x50]
call 0x44b6da
push dword [ebp - 0x50]
call 0x44b4b4
push dword [ebp - 0x50]
call dword [0x4780bc]
mov ebx, eax
mov dword [ebp - 0xbc], ebx
cmp dword [ebx + 0x34], 0x13
je 0x41fe6c
cmp dword [ebx + 0x34], 0x1c
jne 0x41fe94
mov eax, dword [ebx + 0x8c]
dec eax
push eax
push ebx
call fcn.0042c081
cmp dword [ebp - 0x8c], 0
mov ecx, eax
jne 0x41fe94
mov eax, dword [ecx + 0xec]
sub eax, dword [ecx + 0xe4]
jmp 0x41fe7b
cmp dword [ebp - 0x8c], 0
jne 0x41fe94
mov eax, dword [ebx + 0x24]
sub eax, dword [ebx + 0x1c]
cmp eax, dword [ebp - 0xa4]
je 0x41fe94
xor eax, eax
inc eax
push eax
push 2
pop eax
push eax
lea eax, [ebx + 0x10]
push eax
call 0x4798c4
mov eax, dword [ebx + 0x34]
push 0x18
pop ecx
push 2
sub eax, ecx
pop ecx
je 0x41feae
sub eax, ecx
je 0x41feae
sub eax, 6
jne 0x41ff98
mov eax, dword [ebp - 0x78]
cmp eax, 0xffffffff
je 0x41ff83
xor edx, edx
inc edx
cmp eax, edx
je 0x41fefd
cmp eax, ecx
jne 0x41ff98
cmp dword [ebp - 0xd8], 0
push 0x20
pop edi
je 0x41fee1
mov eax, dword [ebp + 0x14]
cmp dword [ebp - 0x3c], eax
push 0x18
pop eax
cmovg edi, eax
cmp dword [ebx + 0x34], edi
je 0x41ff98
push edx
push ecx
lea eax, [ebx + 0x10]
push eax
call 0x4798c4
mov dword [ebx + 0x34], edi
jmp 0x41ff98
cmp dword [ebp - 0xd8], 0
push 0x18
pop eax
mov ecx, eax
mov dword [ebp - 0x48], ecx
je 0x41ff68
mov eax, dword [edi + 0x34]
sub eax, 3
je 0x41ff4b
push 2
pop edi
sub eax, edi
je 0x41ff27
sub eax, 3
je 0x41ff37
sub eax, 7
jne 0x41ff6b
mov eax, dword [ebp + 0x14]
cmp dword [ebp - 0x3c], eax
jle 0x41ff6b
push 0x20
pop ecx
mov dword [ebp - 0x48], ecx
jmp 0x41ff6b
mov eax, dword [ebp + 0x14]
xor edx, edx
inc eax
inc edx
cmp dword [ebp - 0x3c], eax
jle 0x41ff68
push 0x20
pop ecx
mov dword [ebp - 0x48], ecx
jmp 0x41ff68
mov edi, dword [ebp + 0x14]
mov edx, dword [ebp - 0x3c]
lea eax, [edi + 1]
cmp edx, eax
je 0x41ff5f
lea eax, [edi + 3]
cmp edx, eax
jne 0x41ff65
push 0x20
pop ecx
mov dword [ebp - 0x48], ecx
xor edx, edx
inc edx
push 2
pop edi
cmp dword [ebx + 0x34], ecx
je 0x41ff98
push edx
push edi
lea eax, [ebx + 0x10]
push eax
call 0x4798c4
mov eax, dword [ebp - 0x48]
mov dword [ebx + 0x34], eax
jmp 0x41ff98
xor eax, eax
inc eax
push eax
push ecx
lea eax, [ebx + 0x10]
push eax
call 0x4798c4
mov dword [ebx + 0x34], 0x19
movzx edi, byte [ebx + 0x10]
xor eax, eax
push dword [ebp - 0x50]
mov ebx, dword [ebx + 0x34]
inc eax
shr edi, 1
xor ecx, ecx
and edi, eax
mov eax, dword [ebp - 0xbc]
cmp dword [eax + 0x68], 3
sete cl
mov dword [ebp - 0xb8], ecx
call dword [0x4780b8]
cmp dword [ebp + 0x20], 0
push 1
pop eax
cmovne edi, eax
mov dword [ebp - 0x54], edi
test edi, edi
je 0x420001
push dword [ebp + 0x28]
push dword [ebp + 0x20]
push dword [ebp - 0xd0]
push dword [ebp - 0x50]
push dword [ebp + 0xc]
push dword [ebp - 0xfc]
call dword [ebx*4 + 0x49eee0]
mov edi, eax
mov dword [ebp - 0x44], edi
test edi, edi
jne 0x421184
push dword [ebp - 0xec]
call dword [0x4780bc]
push dword [ebp - 0x3c]
mov edi, eax
push edi
mov dword [ebp - 0xbc], edi
call fcn.0042c081
push dword [ebp - 0x50]
mov dword [ebp - 0x28], eax
call dword [0x4780bc]
cmp dword [ebp - 0xb8], 0
mov edx, eax
mov dword [ebp - 0x34], edx
je 0x420075
cmp dword [ebp - 0xf0], 0
jne 0x420075
cmp dword [ebp - 0x54], 0
jne 0x420075
mov eax, dword [edx + 0xa4]
mov ecx, dword [eax + edx + 0xc]
mov eax, dword [edx + 0x50]
add eax, ecx
cdq
sub eax, edx
mov edx, eax
sar edx, 1
sub edx, ecx
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx + 0xa0]
mov dword [ecx + 0x14], edx
mov dword [eax + ecx + 4], edx
mov dword [eax + ecx + 0xc], edx
mov edx, ecx
mov eax, dword [ebp - 0x28]
lea ecx, [eax + 0x30]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [edi + 0xa0]
add ecx, edi
mov dword [ebp - 0x48], ecx
cmp ebx, 0x10
jg 0x420221
je 0x420446
sub ebx, 4
je 0x4200bf
push 2
pop edx
sub ebx, edx
je 0x4200bf
sub ebx, 3
je 0x420446
sub ebx, 3
je 0x42013b
sub ebx, 1
jne 0x42024b
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x90], 0
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0xc8], ebx
jne 0x4201d5
mov ecx, dword [ebp - 0x2c]
push dword [ebp - 0x28]
push edi
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
cdq
and edx, 7
lea ebx, [edx + eax]
sar ebx, 3
call fcn.0042577c
test eax, eax
je 0x42011b
mov eax, dword [ebp - 0x28]
push ecx
push ecx
movsd xmm0, qword [eax + 0x124]
movsd qword [esp], xmm0
push dword [ebp - 0x2c]
call fcn.00428edc
cmp eax, ebx
jle 0x42011b
lea ebx, [eax + 3]
mov ecx, dword [ebp - 0x28]
test dword [ecx + 0x2c], 0x2800
jne 0x4201ca
mov eax, dword [ecx + 0x80]
add eax, ebx
mov dword [ecx + 0x60], eax
jmp 0x4201cd
cmp dword [ebp - 0x6c], 0
je 0x420150
mov eax, dword [ebp - 0x64]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x64], eax
mov ecx, eax
jmp 0x420191
test dword [eax + 0x2c], 0x2800
mov ecx, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x2c]
jne 0x420172
mov eax, dword [eax + 0x80]
sub eax, dword [ecx + 0x88]
sub eax, dword [ebx]
add eax, dword [ebx + 8]
jmp 0x420177
mov eax, dword [ebx + 8]
sub eax, dword [ebx]
cdq
sub eax, edx
sar eax, 1
mov dword [ecx + 0x60], eax
mov eax, dword [ebx + 8]
sub eax, dword [ebx]
jne 0x42018e
mov ebx, dword [ebp - 0x34]
mov ecx, dword [ebx + 0x14]
jmp 0x420194
mov ecx, dword [ecx + 0x60]
mov ebx, dword [ebp - 0x34]
mov edx, dword [ebx + 0xa0]
add edx, ebx
mov dword [ebx + 0x14], ecx
mov dword [edx + 4], ecx
mov dword [edx + 0xc], ecx
mov eax, dword [ebx + 0x98]
test eax, eax
jle 0x4201b6
imul eax, eax, 0x14
mov dword [eax + edx - 8], ecx
mov edx, dword [ebp - 0x28]
cmp ecx, dword [ebx + 0x24]
jle 0x420524
mov dword [ebx + 0x24], ecx
jmp 0x420524
mov dword [ecx + 0x60], ebx
mov ecx, dword [ebp - 0x48]
xor ebx, ebx
inc ebx
jmp 0x4201de
mov edx, dword [ebp - 0x28]
mov eax, dword [eax + 0x64]
mov dword [edx + 0x60], eax
cmp dword [ebp - 0x6c], 0
je 0x420502
mov eax, dword [ebp - 0x38]
cmp eax, ebx
mov ebx, dword [ebp - 0x34]
jle 0x420213
imul eax, eax, 0x14
mov eax, dword [eax + ecx + 4]
sub eax, dword [ecx + 0x18]
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, dword [ecx + 0x18]
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x28]
jmp 0x420524
mov eax, dword [ebp - 0x64]
cdq
and edx, 7
add eax, edx
sar eax, 3
jmp 0x420208
sub ebx, 0x12
je 0x420446
sub ebx, 4
je 0x4203a4
push 2
pop ecx
sub ebx, ecx
je 0x420357
sub ebx, ecx
je 0x4202de
sub ebx, 6
je 0x4202a4
mov ebx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebx + 8]
sub eax, dword [ebx]
cdq
sub eax, edx
sar eax, 1
test dword [ecx + 0x2c], 0x2800
mov dword [ecx + 0x60], eax
jne 0x420285
cmp dword [ecx + 0x10], esi
jl 0x420285
mov eax, dword [ecx + 0x80]
sub eax, dword [ecx + 0x88]
sub eax, dword [ebx]
add eax, dword [ebx + 8]
cdq
sub eax, edx
sar eax, 1
mov dword [ecx + 0x60], eax
cmp dword [ebp - 0x6c], 0
mov ebx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x40]
je 0x42029c
mov eax, dword [ebp - 0x64]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x28]
jmp 0x420527
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebx + 0x8c]
sub eax, ecx
push eax
push ebx
call fcn.0042c081
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x68], eax
mov eax, dword [ebx + 0x8c]
dec eax
push eax
push ebx
call fcn.0042c081
mov ecx, dword [ebp - 0x68]
sub ecx, dword [eax + 0x38]
mov dword [ebp - 0x68], ecx
xor ecx, ecx
inc ecx
mov dword [ebp - 0x40], ecx
jmp 0x420389
mov ebx, dword [edx + 0x8c]
mov eax, ebx
cdq
sub eax, edx
mov edx, eax
sar edx, 1
test edx, edx
jle 0x420309
mov eax, dword [ebp - 0x34]
imul ecx, edx, 0x14
add ecx, dword [eax + 0xa0]
mov eax, dword [ecx + eax - 8]
mov dword [ebp - 0xb0], eax
jmp 0x42030f
mov eax, dword [ebp - 0xb0]
add dword [ebp - 0x30], eax
lea eax, [ebx - 1]
cmp edx, eax
jge 0x420345
lea eax, [ebx - 2]
mov ebx, dword [ebp - 0x34]
push eax
push ebx
call fcn.0042c081
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x68], eax
mov eax, dword [ebx + 0x8c]
dec eax
push eax
push ebx
call fcn.0042c081
mov ecx, dword [ebp - 0x68]
sub ecx, dword [eax + 0x38]
mov dword [ebp - 0x68], ecx
jmp 0x420348
mov ebx, dword [ebp - 0x34]
xor eax, eax
inc eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 0x8c]
dec eax
jmp 0x42037f
mov ebx, dword [ebp - 0x34]
mov ecx, dword [ebx + 0x8c]
imul eax, ecx, 0x14
add eax, dword [ebx + 0xa0]
mov eax, dword [eax + ebx - 0x1c]
add dword [ebp - 0x30], eax
mov dword [ebp - 0xb0], eax
xor eax, eax
inc eax
mov dword [ebp - 0x40], eax
lea eax, [ecx - 1]
push eax
push ebx
call fcn.0042c081
mov ecx, dword [ebp - 0x40]
cmp dword [ebp - 0xc0], 0
mov edx, dword [ebp - 0x28]
jne 0x420527
mov eax, dword [eax + 0x60]
mov dword [edx + 0x60], eax
jmp 0x420527
cmp dword [ebp - 0x6c], 0
je 0x4203bf
mov eax, dword [ebp - 0x64]
mov ebx, dword [ebp - 0x34]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebx + 0x58]
mov dword [ebp - 0x64], eax
sub ecx, eax
jmp 0x420410
test dword [eax + 0x2c], 0x2800
mov ebx, dword [ebp - 0x2c]
jne 0x4203eb
mov eax, dword [eax + 0x80]
mov ecx, dword [ebp - 0x28]
sub eax, dword [ecx + 0x88]
sub eax, dword [ebx]
add eax, dword [ebx + 8]
cdq
sub eax, edx
mov edx, ecx
sar eax, 1
mov dword [ecx + 0x60], eax
jmp 0x4203fb
mov eax, dword [ebx + 8]
sub eax, dword [ebx]
cdq
sub eax, edx
mov edx, dword [ebp - 0x28]
sar eax, 1
mov dword [edx + 0x60], eax
mov eax, dword [ebx + 8]
sub eax, dword [ebx]
mov ebx, dword [ebp - 0x34]
jne 0x42040a
mov ecx, dword [ebx + 0x14]
jmp 0x420410
mov ecx, dword [ebx + 0x58]
sub ecx, dword [edx + 0x60]
mov edx, dword [ebx + 0xa0]
add edx, ebx
mov dword [ebx + 0x14], ecx
mov dword [edx + 4], ecx
mov dword [edx + 0xc], ecx
mov eax, dword [ebx + 0x98]
test eax, eax
jle 0x420432
imul eax, eax, 0x14
mov dword [eax + edx - 0x10], ecx
mov edx, dword [ebp - 0x28]
cmp ecx, dword [ebx + 0x1c]
jge 0x420524
mov dword [ebx + 0x1c], ecx
jmp 0x420524
xor ebx, ebx
mov dword [ebp - 0xc8], esi
inc ebx
cmp dword [ebp - 0x90], 0
mov dword [ebp - 0x110], ebx
jne 0x4204d2
mov ecx, dword [ebp - 0x2c]
push dword [ebp - 0x28]
push edi
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
cdq
and edx, 7
lea ebx, [edx + eax]
sar ebx, 3
call fcn.0042577c
test eax, eax
je 0x42049e
mov eax, dword [ebp - 0x28]
push ecx
push ecx
movsd xmm0, qword [eax + 0x124]
movsd qword [esp], xmm0
push dword [ebp - 0x2c]
call fcn.00428edc
cmp eax, ebx
jge 0x42049e
lea ebx, [eax + 3]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
test dword [edx + 0x2c], 0x2800
mov eax, dword [ecx + 8]
jne 0x4204c2
sub eax, dword [edx + 0x88]
sub eax, ebx
sub eax, dword [ecx]
mov ecx, dword [ebp - 0x48]
xor ebx, ebx
inc ebx
jmp 0x4204d8
sub eax, dword [ecx]
cdq
and edx, 7
add eax, edx
mov edx, dword [ebp - 0x28]
sar eax, 3
jmp 0x4204ba
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x64]
cmp dword [ebp - 0x6c], 0
mov dword [edx + 0x60], eax
je 0x420521
mov eax, dword [ebp - 0x38]
cmp eax, ebx
jle 0x42050a
imul eax, eax, 0x14
mov ebx, dword [eax + ecx + 4]
mov eax, ebx
sub eax, dword [ecx + 0x18]
cdq
and edx, 7
add eax, edx
sar eax, 3
sub ebx, eax
mov dword [ebp - 0x64], ebx
mov ebx, dword [ebp - 0x34]
jmp 0x42020b
mov ecx, dword [ebp - 0x64]
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
neg eax
add ecx, eax
mov dword [ebp - 0x64], ecx
jmp 0x420502
mov ebx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x40]
cmp dword [ebp - 0xb8], 0
je 0x420551
cmp dword [ebp - 0xf0], 0
jne 0x420554
mov eax, dword [ebx + 0x58]
sub eax, dword [ebx + 0x14]
mov dword [edx + 0x1c], eax
mov eax, dword [ebx + 0x5c]
sub eax, dword [ebx + 0x14]
mov dword [edx + 0x20], eax
mov eax, dword [ebx + 0x14]
mov dword [edx + 0x24], eax
mov dword [edx + 0x28], esi
cmp dword [ebp - 0x98], 0
jne 0x420597
mov eax, dword [edx + 0x64]
add eax, dword [ebp - 0xb0]
sub dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x40]
inc eax
cmp dword [ebp - 0x3c], eax
jg 0x42057b
cmp dword [ebp - 0x5c], 0
je 0x420597
mov eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0x5c]
mov ebx, dword [ebp - 0x30]
cmp ebx, eax
cmovl ebx, eax
mov eax, ebx
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
lea eax, [edx + 0x2c]
test dword [eax], 0x1000
mov dword [ebp - 0x48], eax
je 0x42068c
cmp dword [ebp - 0x54], 0
je 0x42066f
cmp dword [ebp - 0x8c], 0
jne 0x42066f
mov ecx, dword [ebp - 0x34]
mov ebx, dword [ebx + 0x24]
sub ebx, dword [ecx + 0x1c]
cmp dword [ecx + 0x34], 0x1c
jne 0x420600
mov eax, dword [ecx + 0x8c]
dec eax
push eax
push ecx
call fcn.0042c081
mov ebx, dword [eax + 0xec]
sub ebx, dword [eax + 0xe4]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x28]
call fcn.0042c0d1
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
add ebx, eax
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x38]
sub eax, dword [ecx]
cmp ebx, eax
je 0x420636
cmp dword [0x47cb78], 0
jne 0x420636
xor eax, eax
inc eax
push eax
push 2
mov dword [ebp - 0x114], eax
pop eax
push eax
push dword [ebp - 0x48]
call 0x4798c4
mov edx, dword [ebp - 0x28]
mov dword [edx + 0xfc], ebx
jmp 0x42063c
mov dword [edx + 0xfc], esi
mov ebx, dword [ebp - 0x34]
mov eax, esi
cmp dword [ebx + 0x34], 0x13
jne 0x42064c
mov eax, dword [ebx + 0x28]
jmp 0x420666
cmp dword [ebx + 0x34], 0x1c
jne 0x420669
mov eax, dword [ebx + 0x8c]
dec eax
push eax
push ebx
call fcn.0042c081
mov edx, dword [ebp - 0x28]
mov eax, dword [eax + 0x3c]
sub eax, dword [ebx + 0x20]
mov dword [edx + 0xf8], eax
mov eax, dword [ebp + 0x1c]
add eax, dword [ebp - 0x7c]
mov dword [ebx + 0x54], eax
mov eax, dword [edx + 0xf8]
add eax, dword [ebp - 0x7c]
mov dword [edx + 0x100], eax
jmp 0x4208f6
mov dword [edx + 0x100], esi
mov dword [edx + 0xf8], esi
mov dword [edx + 0xfc], esi
cmp dword [ebx + 0x98], esi
je 0x4207b2
test ecx, ecx
jne 0x4207ba
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x80]
mov ebx, dword [ebx + 0xa0]
add ebx, ecx
sub eax, dword [ecx + 0x84]
sub eax, dword [ecx + 0x78]
sub eax, dword [ecx + 0x70]
sub eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x7c]
mov dword [ebx], eax
test byte [edi + 0x10], 0x20
jne 0x4206eb
xor eax, eax
inc eax
push eax
push eax
lea eax, [ebx + 0x10]
push eax
call 0x4798c4
mov edx, dword [ebp - 0x28]
cmp dword [ebp - 0x110], 0
je 0x420720
cmp dword [edx + 0xf0], 0
je 0x420720
push dword [ebp - 0xc8]
push edx
call fcn.0041f3d1
mov ecx, dword [ebp - 0x28]
test eax, eax
jne 0x420723
mov eax, dword [ecx + 0x3c]
sub eax, dword [ecx + 0x34]
sub eax, dword [ecx + 0xf0]
add dword [ebx], eax
jmp 0x420723
mov ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x90], 0
je 0x420765
mov eax, dword [edi + 0x34]
add eax, 0xfffffffd
cmp eax, 0x1d
ja 0x420765
movzx eax, byte [eax + 0x413a59]
jmp dword [eax*4 + 0x413a4d]
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebx]
mov dword [ecx + 0x20], eax
mov eax, dword [ebp - 0x7c]
add eax, dword [ebp + 0x1c]
cmp dword [ebp - 0xb8], 0
mov dword [ecx + 0x54], eax
je 0x4208f6
cmp dword [ebp - 0xf0], 0
je 0x42090f
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x4208f6
add dword [ecx + 0x14], eax
mov eax, dword [ecx + 0x14]
mov dword [ebx + 4], eax
mov eax, dword [ecx + 0x14]
mov dword [ebx + 0xc], eax
mov ebx, ecx
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x4208f6
cmp dword [ebp - 0x98], 0
mov ecx, dword [ebp + 0x1c]
mov dword [ebx + 0x54], ecx
jne 0x4207da
mov eax, dword [edi + 0x80]
add eax, dword [ebp - 0xb4]
add eax, ecx
mov dword [ebx + 0x54], eax
mov eax, dword [ebx + 0x64]
mov dword [ebp - 0xac], eax
mov eax, dword [ebx + 0x60]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x7c]
sub eax, dword [ebx + 0x54]
add eax, ecx
cmp dword [ebp - 0xc0], 0
mov dword [ebp - 0x54], eax
jne 0x4208f6
mov dword [ebx + 0x28], eax
mov eax, esi
mov dword [ebp - 0x118], esi
cmp dword [ebx + 0x8c], esi
jle 0x4208f6
mov edi, dword [ebp - 0x54]
push eax
push ebx
call fcn.0042c081
push eax
push ebx
mov dword [ebp - 0x54], eax
call fcn.0042c16b
cmp eax, 0xffffffff
je 0x4208dd
lea ecx, [ebp - 0x94]
push ecx
push eax
push 0x65
push dword [ebp + 0xc]
call 0x449f4f
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x4208dd
push dword [ebp - 0x94]
call 0x44b4b4
push dword [ebp - 0x94]
call dword [0x4780bc]
mov ebx, eax
mov eax, dword [ebp - 0x54]
mov edx, dword [ebx + 0x84]
add edx, dword [ebx + 0x78]
add edx, dword [ebx + 0x70]
mov dword [ebx + 0x54], edi
mov ecx, dword [eax + 0xf0]
add ecx, dword [eax + 0x34]
mov eax, dword [ebx + 0x28]
sub ecx, edi
add eax, edi
sub ecx, edx
add edx, eax
mov dword [ebx + 0x20], ecx
mov eax, dword [ebp - 0x34]
cmp edx, dword [eax + 0x28]
jle 0x42089f
mov dword [eax + 0x28], edx
cmp dword [ebx + 0x34], 0x13
je 0x4208c3
cmp dword [ebx + 0x34], 0x1c
je 0x4208c3
mov eax, dword [ebp - 0x54]
test byte [eax + 0xf4], 4
jne 0x4208c3
mov ecx, dword [ebx + 0xa0]
mov eax, dword [ebx + 0x20]
mov dword [ebx + ecx], eax
push dword [ebp - 0x94]
call dword [0x4780b8]
push dword [ebp - 0x94]
call 0x44b6d7
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x118]
inc eax
mov dword [ebp - 0x118], eax
cmp eax, dword [ebx + 0x8c]
jl 0x42081b
mov ecx, dword [ebp - 0xb8]
xor eax, eax
cmp dword [ebp - 0xf0], eax
cmovne ecx, eax
mov dword [ebp - 0xb8], ecx
jmp 0x420915
mov ecx, dword [ebp - 0xb8]
test ecx, ecx
je 0x420949
mov eax, dword [ebp - 0x88]
xor ecx, ecx
mov ebx, dword [ebp - 0x28]
inc ecx
cmp eax, ecx
je 0x420935
add eax, 0xfffffffe
cmp eax, ecx
ja 0x42093b
mov eax, dword [ebx + 0x20]
jmp 0x420938
mov eax, dword [ebx + 0x1c]
mov dword [ebx + 0x28], eax
mov ecx, dword [ebx + 0x28]
mov edx, dword [ebx + 0x60]
add ecx, dword [ebx + 0x24]
mov ebx, dword [ebp - 0x34]
jmp 0x420955
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x34]
mov edx, dword [eax + 0x60]
mov ecx, dword [ebx + 0x14]
mov edi, dword [ebp - 0x28]
sub ecx, edx
mov eax, dword [ebx + 0x24]
sub eax, ecx
mov dword [ebp - 0x54], ecx
mov dword [edi + 0x14], eax
mov eax, ecx
sub eax, dword [ebx + 0x1c]
cmp dword [ebp - 0x40], 0
mov dword [edi + 0x18], eax
mov edi, dword [ebp - 0xbc]
je 0x420988
mov ebx, dword [ebp - 0x28]
sub eax, dword [ebp - 0xb0]
mov dword [ebx + 0x18], eax
mov ebx, dword [ebp - 0x34]
cmp dword [ebp - 0xe8], 0
jle 0x420b49
mov eax, dword [ebx + 0xa4]
push ecx
push dword [ebx + 0x94]
add eax, ebx
push eax
mov eax, dword [edi + 0xa4]
push dword [edi + 0x94]
add eax, edi
push eax
call fcn.0042a867
mov ebx, eax
mov eax, dword [ebp - 0x28]
add ebx, dword [0x47cbbc]
cmp dword [ebp - 0x60], 0
jne 0x4209cd
add ebx, dword [eax + 0x58]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x60], esi
cmp edx, ebx
jge 0x420a52
cmp dword [ebp - 0xb8], 0
je 0x420a10
mov ecx, ebx
sub ecx, edx
mov edx, dword [eax + 0x28]
mov eax, edx
mov dword [ebp - 0x60], ecx
sub eax, ecx
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x28], eax
mov ecx, dword [ecx + 0x1c]
cmp eax, ecx
jge 0x420a08
mov eax, dword [ebp - 0x28]
sub edx, ecx
mov dword [ebp - 0x60], edx
mov dword [eax + 0x28], ecx
jmp 0x420a0b
mov edx, dword [ebp - 0x60]
sub ebx, edx
mov edx, dword [ebp - 0x30]
mov eax, ebx
sub eax, edx
mov dword [ebp - 0xbc], eax
test eax, eax
jle 0x420a46
mov eax, dword [ebp - 0xf8]
test eax, eax
js 0x420a46
push eax
push edi
call fcn.0042c081
mov ecx, dword [eax + 0x28]
test ecx, ecx
jns 0x420a46
add ecx, dword [ebp - 0xbc]
xor edx, edx
test ecx, ecx
cmovg ecx, edx
mov dword [eax + 0x28], ecx
mov edx, ebx
mov ebx, dword [ebp - 0x60]
mov dword [ebp - 0x30], edx
neg ebx
jmp 0x420ac5
jle 0x420abb
mov eax, dword [ebp - 0xf8]
cmp eax, dword [ebp - 0xd4]
jne 0x420ac0
push eax
push edi
call fcn.0042c081
mov edx, dword [ebp - 0x30]
mov ecx, eax
xor eax, eax
sub edx, ebx
inc eax
mov dword [ebp - 0xbc], edx
mov ebx, dword [ecx + 0x28]
cmp dword [ebp - 0xe8], eax
jne 0x420a9f
mov edx, dword [ecx + 0x1c]
cmp ebx, edx
jle 0x420ab0
mov eax, ebx
sub eax, dword [ebp - 0xbc]
mov dword [ecx + 0x28], eax
cmp eax, edx
jge 0x420ab0
mov dword [ecx + 0x28], edx
jmp 0x420ab0
test ebx, ebx
jle 0x420ab0
mov eax, ebx
sub eax, edx
push 0
pop edx
cmovs eax, edx
mov dword [ecx + 0x28], eax
sub ebx, dword [ecx + 0x28]
add dword [ecx + 0x14], ebx
sub dword [ecx + 0x18], ebx
jmp 0x420ac2
mov ebx, dword [ebp - 0x60]
jmp 0x420ac5
mov ebx, esi
mov edx, dword [ebp - 0x30]
cmp dword [ebp - 0x98], 0
je 0x420b15
cmp dword [ebp - 0x40], 0
je 0x420af0
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x30]
test edx, edx
je 0x420b18
mov ecx, dword [ebp - 0x5c]
add eax, edx
sub ecx, dword [edi + 0x7c]
cmp eax, ecx
jge 0x420b15
mov eax, ecx
sub eax, edx
jmp 0x420b05
mov eax, dword [ebp - 0x48]
test dword [eax], 0x1000
je 0x420b0a
mov eax, dword [ebp - 0x5c]
sub eax, dword [edi + 0x7c]
cmp edx, eax
jge 0x420b15
mov dword [ebp - 0x30], eax
jmp 0x420b18
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 0x60]
mov eax, dword [ebp - 0x30]
jmp 0x420ade
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x34]
sub eax, ebx
push eax
push dword [ecx + 0x94]
mov eax, dword [ecx + 0xa4]
add eax, ecx
push eax
mov eax, dword [edi + 0xa4]
push dword [edi + 0x94]
add eax, edi
push eax
call fcn.0042b0c0
jmp 0x420bd0
cmp dword [ebp - 0x98], 0
je 0x420b9d
cmp dword [ebp - 0x40], 0
je 0x420b7a
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x30]
test edx, edx
je 0x420ba0
mov ecx, dword [ebp - 0x5c]
add eax, edx
sub ecx, dword [edi + 0x7c]
cmp eax, ecx
jge 0x420b9a
mov eax, ecx
mov ecx, dword [ebp - 0x54]
sub eax, edx
mov dword [ebp - 0x30], eax
jmp 0x420ba0
mov eax, dword [ebp - 0x48]
test dword [eax], 0x1000
je 0x420b95
mov eax, dword [ebp - 0x5c]
sub eax, dword [edi + 0x7c]
cmp dword [ebp - 0x30], eax
jge 0x420b9d
mov dword [ebp - 0x30], eax
jmp 0x420ba0
mov eax, dword [ebp - 0x30]
jmp 0x420b62
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x6c], 0
je 0x420ba9
mov eax, dword [ebp - 0x64]
sub eax, ecx
push eax
mov eax, dword [ebx + 0xa4]
push ebx
push dword [ebx + 0x94]
add eax, ebx
push eax
mov eax, dword [edi + 0xa4]
push dword [edi + 0x94]
add eax, edi
push eax
call fcn.0042a7a9
push dword [ebp - 0x50]
call dword [0x4780b8]
push esi
push dword [ebp - 0x50]
call 0x44b6da
push dword [ebp - 0x50]
call 0x44b6d7
cmp dword [ebp - 0x40], 0
je 0x420bfa
cmp dword [ebp - 0x58], 0
je 0x420c80
inc dword [ebp - 0xe8]
cmp dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xd4], eax
je 0x420c2b
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x28], esi
je 0x420c80
xor eax, eax
inc eax
mov dword [ebp - 0xdc], eax
jmp 0x420c80
or ecx, 0xffffffff
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0xf8], ecx
jmp 0x420c83
cmp dword [ebp - 0x98], 0
jne 0x420c66
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebx + 0x64]
mov eax, dword [ebp + 0x14]
inc eax
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x5c]
jg 0x420c5e
test eax, eax
je 0x420c66
cmp ecx, eax
cmovl ecx, eax
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x60], 0
je 0x420c80
mov eax, dword [edi + 0xa4]
push dword [edi + 0x94]
add eax, edi
push eax
call fcn.0042b3c5
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x98], 0
mov edx, dword [ebp - 0x30]
mov ebx, edx
je 0x420d49
cmp dword [ebp - 0x6c], 0
je 0x420cab
cmp eax, dword [ebp - 0x38]
jne 0x420cab
push dword [ebp - 0x7c]
push dword [ebp - 0x64]
push dword [ebp - 0x2c]
jmp 0x420cba
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ecx + 4]
neg eax
push eax
mov eax, edx
sub eax, dword [ecx]
push eax
push ecx
call dword [0x47c020]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edi + 0x7c]
mov edx, dword [ecx + 8]
sub edx, dword [ecx]
add edx, eax
add edx, dword [ebp - 0x68]
cmp dword [ebp - 0xcc], 0
mov dword [ebp - 0x54], edx
je 0x420dc3
cmp dword [ebp - 0x40], 0
mov dword [ebp - 0x98], esi
je 0x420d0c
mov edx, dword [ebp - 0xac]
test edx, edx
je 0x420dc3
sub eax, dword [ebp - 0xb0]
add eax, dword [ecx]
add eax, edx
mov dword [ebp - 0x5c], eax
jmp 0x420dc3
cmp dword [ebp - 0x4c], 0xffffffff
je 0x420dc3
mov ecx, dword [ebp - 0x48]
test dword [ecx], 0x1000
mov ecx, dword [ebp - 0x28]
je 0x420d31
mov edx, dword [ecx + 0x38]
add edx, eax
mov dword [ebp - 0x5c], edx
jmp 0x420dc6
mov edx, dword [ecx + 0x60]
add edx, eax
mov dword [ebp - 0x5c], edx
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x5c]
add eax, dword [edx]
mov dword [ebp - 0x5c], eax
jmp 0x420dc9
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edi + 0x80]
sub eax, dword [ecx + 4]
add eax, dword [ebp - 0xb4]
sub edx, dword [ecx]
push eax
push edx
push ecx
call dword [0x47c020]
mov ecx, dword [ebp - 0x28]
mov eax, dword [edi + 0x7c]
mov edx, dword [ecx + 0x64]
mov ecx, dword [ecx + 0x38]
add edx, eax
mov dword [ebp - 0x54], edx
xor edx, edx
inc edx
mov dword [ebp - 0x98], edx
mov edx, dword [ebp - 0x2c]
lea eax, [ecx + eax*2]
add eax, dword [ebp - 0x68]
mov dword [ebp - 0x5c], eax
mov eax, dword [edx]
sub eax, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xa0]
cmp eax, edx
cmovl edx, eax
mov eax, edx
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x68]
add eax, ecx
mov ecx, dword [ebp - 0x84]
cmp eax, ecx
cmovg ecx, eax
mov dword [ebp - 0x84], ecx
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
test dword [ecx + 0x2c], 0x1000
je 0x420de1
mov eax, dword [ecx + 0xf0]
add eax, dword [ecx + 0x34]
sub dword [ecx + 0x100], eax
cmp dword [ebp - 0xa8], 0
je 0x42104d
cmp dword [ebp - 0x4c], 0xffffffff
je 0x420e0f
mov eax, dword [ecx + 0x60]
add eax, dword [edx]
cmp dword [edi + 0x60], 0
je 0x420e04
cmp eax, dword [edi + 0x60]
jge 0x420e07
mov dword [edi + 0x60], eax
cmp dword [edi + 0x64], eax
jge 0x420e0f
mov dword [edi + 0x64], eax
mov edx, dword [ebp - 0x74]
mov eax, edx
mov ecx, dword [edi + 0x34]
mov dword [ebp - 0xac], eax
cmp ecx, 0x1a
jne 0x420ea9
cmp dword [ebp - 0x8c], 0
je 0x420e9c
lea eax, [edx + 1]
mov dword [ebp - 0xac], eax
test eax, eax
jle 0x42114a
dec eax
push eax
push edi
mov dword [ebp - 0x58], eax
call fcn.0042c081
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x4c], eax
push ecx
push eax
call fcn.0041f468
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ecx + 0xf4]
and eax, 4
je 0x421004
xor edx, edx
inc edx
cmp dword [ebp - 0xac], edx
jle 0x421004
mov eax, dword [ebp - 0x2c]
push 3
push esi
mov eax, dword [eax]
add eax, dword [ebp - 0x24]
push eax
mov eax, dword [ecx + 0x30]
add eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x9c]
push eax
push eax
push dword [ebp - 0x58]
jmp 0x421144
mov edx, dword [ebp - 0x108]
cmp dword [ebp - 0x3c], edx
jl 0x420e38
jmp 0x420ecc
push 0x18
pop edx
cmp ecx, edx
je 0x420e38
cmp ecx, 0x20
jne 0x42114a
cmp dword [ebp - 0x8c], 0
jne 0x42114a
mov edx, dword [ebp - 0x108]
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x420f5a
mov eax, dword [edi + 0x8c]
dec eax
push eax
push edi
call fcn.0042c081
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x4c], eax
push ecx
push eax
call fcn.0041f468
cmp dword [ebp - 0x90], 0
je 0x420f53
mov ecx, dword [edi + 0x8c]
sub ecx, dword [edi + 0x90]
dec ecx
test ecx, ecx
jle 0x420f31
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 8]
sub eax, dword [ebp - 0x1c]
push 3
push esi
push eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x38]
sub eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x9c]
push eax
push eax
push esi
jmp 0x421144
push dword [ebp - 0x28]
push edi
call fcn.0042c16b
cmp eax, 0xffffffff
je 0x420f53
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ecx]
add eax, dword [ebp - 0x24]
jmp 0x420f15
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
jmp 0x420f4e
cmp ecx, 0x1a
jne 0x420f68
cmp eax, edx
jne 0x420f68
push dword [ebp - 0x38]
jmp 0x420f6a
dec eax
push eax
push edi
call fcn.0042c081
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x58], eax
push ecx
push eax
call fcn.0041f468
cmp dword [ebp - 0x90], 0
je 0x420ffd
mov eax, dword [edi + 0x8c]
sub eax, dword [edi + 0x90]
mov ecx, dword [ebp - 0x3c]
dec eax
cmp ecx, eax
jge 0x420fbf
mov eax, dword [ebp - 0x2c]
push 3
push esi
mov eax, dword [eax + 8]
sub eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 0x38]
sub eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x9c]
push eax
push eax
push ecx
jmp 0x421144
push dword [ebp - 0x28]
push edi
call fcn.0042c16b
cmp eax, 0xffffffff
je 0x420ffd
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ecx]
add eax, dword [ebp - 0x24]
push 3
push esi
push eax
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 0x38]
sub eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x9c]
push eax
push eax
push dword [ebp - 0x3c]
jmp 0x421144
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
jmp 0x420fdc
test eax, eax
je 0x421036
push ecx
push edi
call fcn.0042c16b
mov ecx, dword [ebp - 0x4c]
cmp eax, 0xffffffff
je 0x421036
mov eax, dword [ebp - 0x2c]
push 3
push esi
mov eax, dword [eax]
add eax, dword [ebp - 0x24]
push eax
mov eax, dword [ecx + 0x38]
sub eax, dword [ecx + 0x30]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ecx + 0x30]
jmp 0x420e88
mov eax, dword [ebp - 0x2c]
push 3
push esi
mov eax, dword [eax]
add eax, dword [ebp - 0x24]
push eax
mov eax, dword [ecx + 0x38]
sub eax, dword [ebp - 0xc]
jmp 0x420e8b
mov edx, dword [ebp - 0x38]
lea eax, [edx - 1]
cmp dword [ebp - 0x3c], eax
jne 0x421069
xor eax, eax
inc eax
cmp edx, eax
jle 0x421069
mov edx, eax
mov dword [ebp - 0xac], edx
jmp 0x421071
mov edx, esi
mov dword [ebp - 0xac], esi
cmp dword [ebp - 0x90], 0
je 0x4210a5
cmp dword [ebp - 0x4c], 0xffffffff
jne 0x421086
cmp dword [ebp - 0x6c], 0
je 0x4210a5
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ecx + 0x60]
push 2
mov eax, dword [eax]
add eax, ecx
pop ecx
push ecx
push edx
push eax
push eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0xf0]
sub eax, dword [ebp - 0x18]
jmp 0x4210c2
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ecx + 0x64]
push 2
mov eax, dword [eax]
add eax, ecx
pop ecx
push ecx
push edx
push eax
push eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0xe8]
add eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x2c]
add eax, dword [ecx + 4]
push eax
mov eax, dword [edi + 0x84]
neg eax
push eax
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0xe0]
push eax
push edi
call fcn.0042ac5d
cmp dword [ebp - 0x6c], 0
je 0x42114a
xor eax, eax
inc eax
cmp dword [ebp - 0x38], eax
jle 0x42114a
mov eax, dword [ebp - 0x48]
test dword [eax], 0x2000
mov eax, dword [ebp - 0x28]
jne 0x421106
mov edx, dword [eax + 0x8c]
jmp 0x421108
mov edx, esi
mov ecx, dword [eax + 0x64]
mov eax, dword [ebp - 0x2c]
push 0x2001
push dword [ebp - 0xac]
mov eax, dword [eax]
add eax, ecx
mov ecx, dword [ebp - 0x2c]
push eax
push eax
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ecx + 4]
add eax, ecx
push eax
mov eax, dword [ebp - 0x80]
sub ecx, edx
dec eax
add eax, ecx
mov ecx, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x38]
lea eax, [ecx + eax*2]
add eax, dword [ebp - 0xe0]
push eax
push edi
call fcn.0042ac5d
mov eax, dword [ebp - 0x74]
mov edx, dword [ebp + 0x18]
cmp eax, dword [ebp - 0x3c]
je 0x421159
dec edx
mov dword [ebp + 0x18], edx
cmp dword [ebp - 0x30], 0xb40
jg 0x421193
lea ecx, [eax + 1]
mov dword [ebp - 0x3c], ecx
cmp ecx, edx
jl 0x41fbdc
cmp dword [ebp - 0xcc], 0
je 0x4211a6
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax + 0x38]
add ebx, dword [ebp - 0x68]
jmp 0x4211b1
push dword [ebp - 0x50]
call 0x44b6d7
mov eax, edi
jmp 0x4215f8
mov ecx, dword [ebp - 0xd0]
mov eax, dword [edi + 0x38]
push 0x67
pop esi
mov dword [ecx], eax
jmp 0x4215ea
mov eax, dword [ebp - 0x68]
add eax, dword [ebp - 0xa4]
add ebx, eax
cmp dword [ebp - 0x114], 0
mov dword [ebp - 0xa4], ebx
jne 0x4217e8
cmp dword [ebp - 0xdc], 0
jne 0x42160b
cmp dword [ebp - 0x84], ebx
push esi
cmovg ebx, dword [ebp - 0x84]
push edi
mov dword [ebp - 0xa4], ebx
call fcn.0042c081
mov ecx, dword [eax + 0x64]
mov eax, dword [eax + 0x30]
add ecx, 0xa
add eax, ecx
mov dword [edi + 0x58], eax
mov eax, dword [ebp - 0x38]
dec eax
push eax
push edi
call fcn.0042c081
and dword [ebp - 0xfc], 0
mov dword [ebp - 0xdc], eax
mov edx, dword [eax + 0x64]
mov ecx, dword [eax + 0x30]
add edx, 0xfffffff6
mov eax, dword [edi + 0x68]
add ecx, edx
mov edx, dword [edi + 0x58]
mov esi, ecx
sub esi, edx
mov dword [edi + 0x5c], ecx
cmp dword [ebp - 0x38], 1
cmove eax, dword [ebp - 0xfc]
cmp dword [ebp - 0xa8], 0
jne 0x4213e2
cmp eax, 0xffffffff
je 0x4213c9
test eax, eax
je 0x421311
cmp eax, 1
je 0x42130a
push 2
pop edx
cmp eax, edx
je 0x421303
cmp eax, 3
je 0x421311
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0xf4]
mov dword [edi + 0x18], eax
xor eax, eax
inc eax
mov dword [edi + 0x14], esi
mov dword [edi + 0x50], ebx
cmp ecx, eax
jle 0x421486
test edx, edx
jne 0x421486
cmp dword [ebp - 0xa8], edx
jne 0x421486
mov edx, dword [ebp - 0xe0]
imul eax, edx, 0x14
add edx, ecx
mov dword [ebp - 0xe0], edx
xor edx, edx
mov dword [ebp - 0xc8], edx
add eax, dword [edi + 0xa0]
add eax, edi
mov ecx, dword [eax + 4]
mov dword [ebp - 0xcc], ecx
cmp dword [ebp - 0x38], edx
jle 0x421486
add eax, 0x18
xor ebx, ebx
mov dword [ebp - 0xdc], eax
mov ecx, dword [eax]
mov dword [ebp - 0x84], ecx
cmp ecx, esi
jl 0x4213f8
mov ecx, esi
mov esi, 0x7fff
mov dword [ebp - 0x84], ecx
jmp 0x421401
mov esi, ecx
jmp 0x42126f
mov esi, edx
jmp 0x42126f
xor ecx, ecx
inc ecx
cmp dword [ebp - 0x38], ecx
jne 0x42132a
mov eax, dword [ebp - 0xdc]
mov esi, dword [eax + 0x64]
add esi, dword [eax + 0x30]
jmp 0x42126f
mov eax, ebx
sub eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0xa0]
cdq
sub eax, edx
mov esi, eax
mov eax, dword [ebp - 0xa0]
sar esi, 1
add esi, eax
cmp dword [edi + 0x3c], ecx
jne 0x421392
cmp dword [edi + 0x34], 0
je 0x421357
push 2
pop ecx
cmp dword [edi + 0x34], ecx
jne 0x421392
mov ecx, dword [edi + 0xa4]
neg eax
add ecx, edi
mov dword [ecx + 0xc], eax
push dword [edi + 0x94]
push ecx
call fcn.0042b895
mov dword [eax + 0xc], ebx
mov eax, dword [edi + 0xa4]
add eax, edi
push eax
push edi
call fcn.0042ab09
mov eax, dword [edi + 0x24]
sub eax, dword [edi + 0x1c]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
add esi, dword [edi + 0x1c]
mov ecx, dword [ebp - 0x38]
xor eax, eax
inc eax
cmp ecx, eax
jle 0x421272
mov edx, dword [ebp - 0x70]
test edx, edx
jne 0x421275
cmp esi, dword [edi + 0x58]
jge 0x4213b8
mov esi, dword [edi + 0x58]
jmp 0x421275
cmp esi, dword [edi + 0x5c]
jle 0x421275
mov esi, dword [edi + 0x5c]
jmp 0x421275
mov esi, dword [edi + 0x14]
cmp esi, edx
cmovl esi, edx
mov edx, dword [ebp - 0x70]
cmp esi, ecx
jle 0x4213da
mov esi, ecx
mov ecx, dword [ebp - 0x38]
jmp 0x421275
mov eax, dword [edi + 0x8c]
dec eax
push eax
push edi
call fcn.0042c081
mov esi, dword [eax + 0x60]
jmp 0x421322
add eax, 0x14
mov dword [ebp - 0xdc], eax
mov eax, dword [edi + 0x84]
push ebx
push ebx
push ecx
push dword [ebp - 0xcc]
neg eax
push eax
push eax
mov eax, dword [ebp - 0xe0]
add eax, edx
push eax
push edi
call fcn.0042ac5d
cmp dword [ebp - 0x6c], ebx
je 0x421458
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x38]
push ebx
push ebx
push dword [ebp - 0x84]
push dword [ebp - 0xcc]
push dword [eax + 4]
push dword [eax + 4]
mov eax, dword [ebp - 0xc8]
lea eax, [eax + ecx*2]
add eax, dword [ebp - 0xe0]
push eax
push edi
call fcn.0042ac5d
mov edx, dword [ebp - 0xc8]
mov eax, dword [ebp - 0x84]
inc edx
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xc8], edx
cmp edx, dword [ebp - 0x38]
jl 0x4212e1
mov ebx, dword [ebp - 0xa4]
mov esi, dword [ebp - 0x70]
mov eax, dword [edi + 0x80]
add eax, dword [ebp - 0xe4]
push esi
push edi
push eax
mov eax, dword [ebp - 0x7c]
add eax, dword [ebp - 0xf4]
push eax
mov eax, dword [ebp - 0xa0]
push ebx
neg eax
push eax
mov eax, dword [edi + 0xa4]
push dword [edi + 0x94]
add eax, edi
push eax
call fcn.0042acf7
mov eax, dword [edi + 0xa4]
add eax, edi
push eax
push edi
call fcn.0042ab09
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x4214e5
push edi
call fcn.0042abd3
mov eax, dword [ebp - 0xa8]
test esi, esi
jne 0x4215da
test eax, eax
je 0x42150a
mov eax, dword [ebp - 0x38]
xor ecx, ecx
cmp dword [edi + 0x2c], 0xffffffff
cmove eax, ecx
xor ebx, ebx
mov dword [edi + 0x98], eax
jmp 0x4215a0
mov esi, dword [ebp - 0x38]
xor edx, edx
inc edx
xor ebx, ebx
cmp esi, edx
jle 0x421558
mov eax, dword [edi + 0x84]
push edx
push ebx
push dword [edi + 0x14]
neg eax
push dword [edi + 0x14]
push eax
mov eax, dword [ebp - 0xf4]
neg eax
push eax
push ebx
push edi
call fcn.0042ac5d
lea eax, [esi*2 + 1]
mov dword [edi + 0x98], eax
cmp dword [ebp - 0x6c], ebx
je 0x4215a0
lea eax, [esi*4 + 1]
mov dword [edi + 0x98], eax
jmp 0x4215a0
mov eax, dword [edi + 0xa0]
test eax, eax
je 0x421592
cmp dword [edi + 0x38], ebx
jne 0x421570
mov dword [eax + edi], ebx
mov dword [eax + edi + 8], ebx
jmp 0x42157b
mov ecx, dword [ebp - 0xf4]
neg ecx
mov dword [eax + edi], ecx
add eax, 0x10
add eax, edi
push edx
push 3
push eax
and dword [eax], 0xffffdffc
call 0x4798c4
xor edx, edx
inc edx
cmp dword [edi + 0x9c], ebx
je 0x4215a0
mov dword [edi + 0x98], edx
mov eax, dword [edi + 0x28]
sub eax, dword [edi + 0x20]
cmp eax, 0x870
jg 0x4215ba
mov eax, dword [edi + 0x24]
sub eax, dword [edi + 0x1c]
cmp eax, 0xb40
jle 0x4215cc
mov ecx, dword [ebp - 0xd0]
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x44], 0x67
mov dword [ecx], eax
push ebx
push 2
pop eax
push eax
lea eax, [edi + 0x10]
push eax
call 0x4798c4
mov esi, dword [ebp - 0x44]
cmp dword [ebp - 0xc0], 0
push 0x6c
pop ebx
cmovne esi, ebx
push dword [ebp - 0xec]
call dword [0x4780b8]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call 0x483b80
mov esp, ebp
pop ebp
ret 0x24
xor ecx, ecx
mov dword [ebp - 0x44], 0x6c
inc ecx
lea eax, [edi + 0x10]
push ecx
push 8
push eax
call 0x4798c4
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0xe8]
cmp eax, dword [ebp - 0xd4]
jne 0x4216b2
xor edx, edx
inc edx
cmp ecx, edx
jne 0x4216b2
cmp dword [ebp - 0x88], 3
jne 0x4216b2
push eax
push edi
call fcn.0042c081
mov ecx, eax
mov eax, dword [ecx + 0x28]
test eax, eax
jle 0x4215da
sub ebx, dword [ecx + 0x14]
mov edx, dword [ecx + 0x30]
sub ebx, edx
mov edi, dword [ebp - 0xa0]
sub ebx, edi
test ebx, ebx
jle 0x4215da
cmp ebx, eax
jle 0x42167e
sub dword [ecx + 0x18], eax
sub ebx, eax
add dword [ecx + 0x14], eax
mov dword [ecx + 0x28], esi
jmp 0x421685
sub eax, ebx
mov ebx, esi
mov dword [ecx + 0x28], eax
test ebx, ebx
jle 0x4215da
sub edx, dword [ecx + 0x18]
cmp edx, edi
jge 0x4215da
mov esi, dword [ebp - 0x44]
sub edx, edi
neg ebx
mov dword [ecx + 0x28], edx
cmp edx, ebx
jge 0x4215dd
mov dword [ecx + 0x28], ebx
jmp 0x4215dd
cmp dword [ebp - 0x10c], 0
je 0x4215da
test byte [edi + 0x10], 4
jne 0x4215da
test ecx, ecx
je 0x4215da
or eax, 0xffffffff
mov dword [ebp - 0xd4], esi
cmp dword [ebp - 0x38], 0
mov dword [ebp - 0x84], eax
mov eax, esi
mov dword [ebp - 0xd0], esi
jle 0x4215da
mov ebx, dword [ebp - 0x84]
push eax
push edi
call fcn.0042c081
push eax
push edi
mov dword [ebp - 0xfc], eax
call fcn.0042c16b
mov edx, dword [ebp - 0xc4]
cmp eax, 0xffffffff
je 0x42174e
mov ecx, dword [ebp - 0xfc]
cmp dword [ecx + 0x28], edx
mov eax, dword [ecx + 0x30]
cmovl edx, dword [ecx + 0x28]
add eax, dword [ecx + 0x14]
mov ecx, dword [ebp - 0xd4]
cmp eax, ecx
mov dword [ebp - 0xc4], edx
cmovg ecx, eax
mov eax, dword [ebp - 0xd0]
test ebx, ebx
mov dword [ebp - 0xd4], ecx
cmovs ebx, eax
jmp 0x42175a
mov ecx, dword [ebp - 0xd4]
mov eax, dword [ebp - 0xd0]
inc eax
mov dword [ebp - 0xd0], eax
cmp eax, dword [ebp - 0x38]
jl 0x4216f8
mov dword [ebp - 0x84], ebx
mov ebx, dword [ebp - 0xa4]
test edx, edx
jle 0x4215da
mov eax, dword [ebp - 0x84]
test eax, eax
js 0x4215da
cmp ecx, ebx
jle 0x4217b3
push eax
push edi
call fcn.0042c081
mov ecx, dword [eax + 0x18]
sub ecx, dword [eax + 0x30]
add ecx, dword [ebp - 0xa0]
test ecx, ecx
jle 0x4217c0
cmp dword [ebp - 0xc4], ecx
jle 0x4217c0
mov dword [ebp - 0xc4], ecx
jmp 0x4217c0
sub ebx, ecx
cmp edx, ebx
cmovg edx, ebx
mov dword [ebp - 0xc4], edx
push esi
push edi
call fcn.0042c081
mov ebx, eax
push ebx
push edi
call fcn.0042c16b
test eax, eax
je 0x4217dd
mov eax, dword [ebp - 0xc4]
sub dword [ebx + 0x28], eax
inc esi
cmp esi, dword [ebp - 0x38]
jl 0x4217c0
jmp 0x4215da
push 0x6b
pop esi
jmp 0x4215dd