Function at 0x4349f0
Capabilities:
Inspect section memory permissions

Disassembly:
sub esp, 0x84
push ebx
mov ebx, dword [esp + 0x94]
push ebp
push esi
mov esi, dword [esp + 0x94]
mov eax, dword [esi + 0x17c]
mov ecx, dword [esi + 0x18c]
push edi
mov edi, dword [ecx + eax*4]
mov ecx, dword [edi + 0x18]
mov edx, dword [edi + 0xac]
mov dword [esp + 0x18], ecx
shr ecx, 0x12
and ecx, 0x1f
mov eax, 1
shl eax, cl
mov dword [esp + 0x28], edx
mov edx, dword [edi + 0xa8]
mov dword [esp + 0x38], ecx
mov ecx, dword [edi + 0x14]
add eax, 2
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x10]
add ebx, edx
lea ebp, [eax + ecx]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], 0
cmp ebx, ebp
jbe 0x434a70
sub eax, edx
add eax, ecx
mov ebx, eax
mov dword [esp + 0xa0], ebx
jmp 0x434a77
mov ebx, dword [esp + 0xa0]
cmp dword [edi + 0x88], 0
je 0x434ada
mov eax, 1
cmp dword [esi + 0xa4], eax
je 0x434aad
cmp dword [esi + 0x1c], eax
je 0x434aad
test byte [esp + 0x18], 4
jne 0x434aad
mov ecx, dword [esp + 0x9c]
lea eax, [ebx*8]
push eax
push 0
push ecx
jmp 0x434abf
mov eax, dword [esp + 0x9c]
lea edx, [ebx*4]
push edx
push 0
push eax
call fcn.00453ec0
add esp, 0xc
add dword [edi + 0xa8], ebx
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x84
ret
mov edx, dword [esp + 0x18]
mov ecx, edx
and ecx, 8
je 0x434af5
cmp dword [edi + 0x74], 0
jne 0x434af5
mov eax, dword [esp + 0x3c]
add eax, eax
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x74]
test eax, eax
jne 0x434e87
test edx, 0x40000004
je 0x434ca1
mov ebp, dword [esp + 0x9c]
lea ebx, [ebp + ebx*4]
mov dword [esp + 0x38], ebx
test ecx, ecx
je 0x434b58
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x10], ecx
mov esi, ebp
cmp ebp, ebx
jae 0x434b6e
push 0
push 0
mov edx, edi
call fcn.004374e0
mov dword [esi], eax
add esi, 4
cmp eax, 0x80000000
je 0x434b4d
cmp esi, ebx
jb 0x434b30
jmp 0x434b6e
sub esi, ebp
sar esi, 2
mov dword [esp + 0x10], esi
jmp 0x434b6e
mov edx, dword [esp + 0xa0]
push edx
push ebp
push edi
call fcn.00437bd0
add esp, 0xc
mov dword [esp + 0x10], eax
mov dword [esp + 0x34], ebp
cmp ebp, ebx
jae 0x435946
lea ebx, [ebx]
mov ecx, dword [esp + 0x1c]
mov ebp, dword [ecx + 0x84]
mov eax, dword [esp + 0x34]
mov ebx, dword [eax]
add ecx, 0x160
test ebp, ebp
je 0x434c48
mov edi, edi
mov edx, dword [ecx]
dec ebp
cmp edx, 8
mov dword [esp + 0x48], ebp
jle 0x434bd1
test dl, 1
mov edx, dword [ecx + 0x10]
je 0x434bc1
lea eax, [edx + edx]
sub eax, dword [ecx + 0x14]
mov dword [ecx + 0x14], edx
xor edi, edi
jmp 0x434bdf
mov eax, edx
sub eax, dword [ecx + 0x14]
mov dword [ecx + 0x14], edx
sar eax, 1
add eax, edx
xor edi, edi
jmp 0x434bdf
mov esi, dword [esp + 0x14]
mov eax, dword [ecx + esi*4 + 0x10]
lea edi, [edx + esi]
and edi, 7
mov esi, dword [ecx + 8]
movsx edx, ax
cmp eax, edx
je 0x434c0e
mov edx, eax
sar edx, 9
mov ebp, eax
and ebp, 0xffff
and edx, 0xffffff80
imul ebp, esi
imul edx, esi
sar ebp, 9
lea edx, [edx + ebp + 1]
mov ebp, dword [esp + 0x48]
sar edx, 1
jmp 0x434c1c
mov edx, esi
imul edx, eax
add edx, 0x200
sar edx, 0xa
add edx, ebx
test eax, eax
je 0x434c37
test ebx, ebx
je 0x434c37
xor eax, ebx
mov ebx, dword [ecx + 4]
sar eax, 0x1f
xor ebx, eax
sub ebx, eax
add ebx, esi
mov dword [ecx + 8], ebx
mov dword [ecx + edi*4 + 0x10], edx
add ecx, 0x60
mov ebx, edx
test ebp, ebp
jne 0x434ba0
mov eax, ebx
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [esp + 0x3c]
jg 0x434c8a
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
inc eax
and eax, 7
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x34]
mov dword [eax], ebx
lea edx, [ebx + ecx*2]
add eax, 4
add edx, ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x34], eax
cmp eax, dword [esp + 0x38]
jb 0x434b80
jmp 0x435946
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x9c]
sar eax, 2
mov dword [esp + 0x10], eax
jmp 0x435946
test eax, eax
jne 0x434e87
test dword [esp + 0x18], 0x40000004
jne 0x434e87
mov ebp, dword [esp + 0x9c]
lea eax, [ebp + ebx*8]
test ecx, ecx
je 0x434d13
mov dword [esp + 0x10], ebx
mov esi, ebp
cmp ebp, eax
jae 0x434d22
push 0
push 0
mov edx, edi
call fcn.004374e0
mov dword [esi], eax
cmp eax, 0x80000000
je 0x434d06
push 0
push 1
mov edx, edi
call fcn.004374e0
mov dword [esi + 4], eax
cmp eax, 0x80000000
je 0x434d06
add esi, 8
lea eax, [ebp + ebx*8]
cmp esi, eax
jb 0x434cd0
jmp 0x434d22
sub esi, ebp
sar esi, 2
shr esi, 1
mov dword [esp + 0x10], esi
jmp 0x434d22
push ebx
push ebp
push edi
call fcn.00437bd0
add esp, 0xc
mov dword [esp + 0x10], eax
mov esi, dword [edi + 0x84]
lea eax, [edi + 0x160]
test esi, esi
je 0x434dd9
mov edi, dword [esp + 0x38]
lea ebx, [ebx]
dec esi
cmp edi, 0x10
jb 0x434d51
mov ecx, ebx
mov edx, ebp
call fcn.00435b80
jmp 0x434dce
test esi, esi
je 0x434dc5
mov ecx, dword [eax]
cmp ecx, 0x11
jne 0x434d86
mov edx, dword [eax + 0x60]
cmp edx, ecx
jne 0x434d72
mov ecx, ebx
mov edx, ebp
call fcn.00436740
dec esi
add eax, 0x60
jmp 0x434dce
cmp edx, 0x12
jne 0x434d86
mov ecx, ebx
mov edx, ebp
call fcn.00436610
dec esi
add eax, 0x60
jmp 0x434dce
cmp ecx, 0x12
jne 0x434d9f
cmp dword [eax + 0x60], ecx
jne 0x434d9f
mov ecx, ebx
mov edx, ebp
call fcn.00436870
dec esi
add eax, 0x60
jmp 0x434dce
cmp ecx, 1
jl 0x434dc5
cmp ecx, 7
jg 0x434dc5
mov ecx, dword [eax + 0x60]
cmp ecx, 1
jl 0x434dc5
cmp ecx, 7
jg 0x434dc5
mov ecx, ebx
mov edx, ebp
call fcn.004369b0
dec esi
add eax, 0x60
jmp 0x434dce
mov ecx, ebx
mov edx, ebp
call fcn.004361d0
add eax, 0x60
test esi, esi
jne 0x434d40
test byte [esp + 0x18], 0x10
mov eax, ebp
lea esi, [ebp + ebx*8]
je 0x434e12
cmp ebp, esi
jae 0x434e38
mov edx, dword [esp + 0x28]
mov edi, edi
mov ecx, dword [eax]
sar ecx, 1
sub dword [eax + 4], ecx
mov ecx, dword [eax + 4]
add dword [eax], ecx
mov ecx, dword [eax]
lea ecx, [ecx + ecx*2]
lea ecx, [ecx + edx*8]
add ecx, dword [eax + 4]
add eax, 8
add edx, ecx
cmp eax, esi
jb 0x434df0
jmp 0x434e34
cmp ebp, esi
jae 0x434e38
mov edx, dword [esp + 0x28]
lea ebx, [ebx]
mov ecx, dword [eax]
lea ecx, [ecx + ecx*2]
add ecx, dword [eax + 4]
add eax, 8
add ecx, edx
lea edx, [ecx + edx*8]
cmp eax, esi
jb 0x434e20
mov dword [esp + 0x28], edx
mov ecx, ebp
cmp ebp, esi
jae 0x434e79
mov edi, dword [esp + 0x3c]
mov eax, dword [ecx]
cdq
xor eax, edx
sub eax, edx
cmp eax, edi
jg 0x434e6e
mov eax, dword [ecx + 4]
cdq
xor eax, edx
sub eax, edx
cmp eax, edi
jg 0x434e6e
add ecx, 0x40
cmp ecx, esi
jb 0x434e42
mov eax, ebx
and eax, 7
mov dword [esp + 0x14], eax
jmp 0x435946
sub ecx, ebp
sar ecx, 2
shr ecx, 1
mov dword [esp + 0x10], ecx
mov eax, ebx
and eax, 7
mov dword [esp + 0x14], eax
jmp 0x435946
xor edx, edx
cmp ecx, edx
je 0x4350a5
test dword [esp + 0x18], 0x40000004
je 0x4350a5
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x10], edx
cmp ebx, edx
jbe 0x435946
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x40]
push ecx
push 0
call fcn.004374e0
mov ebp, eax
cmp ebp, 0x80000000
je 0x435946
mov ecx, dword [esp + 0x1c]
mov ebx, dword [ecx + 0x84]
add ecx, 0x160
test ebx, ebx
je 0x434f97
lea esp, [esp]
mov edx, dword [ecx]
mov esi, dword [esp + 0x14]
dec ebx
cmp edx, 8
mov dword [esp + 0x48], ebx
jle 0x434f24
test dl, 1
mov edx, dword [ecx + 0x10]
je 0x434f15
lea eax, [edx + edx]
sub eax, dword [ecx + 0x14]
mov dword [ecx + 0x14], edx
xor edi, edi
jmp 0x434f2e
lea eax, [edx + edx*2]
sub eax, dword [ecx + 0x14]
mov dword [ecx + 0x14], edx
sar eax, 1
xor edi, edi
jmp 0x434f2e
mov eax, dword [ecx + esi*4 + 0x10]
lea edi, [edx + esi]
and edi, 7
mov esi, dword [ecx + 8]
movsx edx, ax
cmp eax, edx
je 0x434f5d
mov edx, eax
sar edx, 9
mov ebx, eax
and ebx, 0xffff
and edx, 0xffffff80
imul ebx, esi
imul edx, esi
sar ebx, 9
lea edx, [edx + ebx + 1]
mov ebx, dword [esp + 0x48]
sar edx, 1
jmp 0x434f6b
mov edx, esi
imul edx, eax
add edx, 0x200
sar edx, 0xa
add edx, ebp
test eax, eax
je 0x434f86
test ebp, ebp
je 0x434f86
xor eax, ebp
mov ebp, dword [ecx + 4]
sar eax, 0x1f
xor ebp, eax
sub ebp, eax
add ebp, esi
mov dword [ecx + 8], ebp
mov dword [ecx + edi*4 + 0x10], edx
add ecx, 0x60
mov ebp, edx
test ebx, ebx
jne 0x434ef0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
inc eax
and eax, 7
mov dword [esp + 0x14], eax
test dl, 0x40
je 0x43505a
mov edi, dword [esp + 0x1c]
mov ecx, dword [edi + 0x128]
add dword [edi + 0x120], ecx
mov ecx, dword [edi + 0x130]
mov esi, dword [edi + 0x120]
movsx eax, cx
sar esi, 0x10
cmp ecx, eax
mov eax, ecx
je 0x434ff7
sar eax, 9
mov ebx, ecx
and ebx, 0xffff
and eax, 0xffffff80
imul ebx, esi
imul eax, esi
sar ebx, 9
lea eax, [eax + ebx + 1]
sar eax, 1
jmp 0x435002
imul eax, esi
add eax, 0x200
sar eax, 0xa
neg eax
test edx, 0x20000000
je 0x435046
test esi, esi
jge 0x435046
test eax, eax
je 0x435046
cmp eax, ecx
jne 0x435032
test eax, eax
jge 0x435031
mov ecx, dword [esp + 0x40]
inc eax
mov edx, eax
sub edx, ecx
sub ecx, eax
mov dword [edi + 0x130], edx
add ebp, ecx
jmp 0x43505e
dec eax
mov ecx, dword [esp + 0x40]
mov edx, eax
sub edx, ecx
sub ecx, eax
mov dword [edi + 0x130], edx
add ebp, ecx
jmp 0x43505e
mov ecx, dword [esp + 0x40]
mov edx, ecx
neg edx
sub ecx, eax
mov dword [edi + 0x130], edx
add ebp, ecx
jmp 0x43505e
add ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x28]
lea ecx, [ebp + eax*2]
add ecx, eax
mov eax, ebp
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [esp + 0x3c]
mov dword [esp + 0x28], ecx
jg 0x435946
mov eax, dword [esp + 0x34]
mov dword [eax], ebp
add eax, 4
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0xa0]
jb 0x434eb6
jmp 0x435946
cmp eax, edx
je 0x435942
test dword [esp + 0x18], 0x40000004
jne 0x435942
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x10], edx
cmp ebx, edx
jbe 0x435946
mov edx, dword [esp + 0x1c]
xor eax, eax
lea ecx, [esp + 0x40]
push ecx
push eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
call fcn.004374e0
mov esi, eax
mov dword [esp + 0x2c], esi
cmp esi, 0x80000000
je 0x435946
lea edx, [esp + 0x44]
push edx
mov edx, dword [esp + 0x20]
push 1
call fcn.004374e0
mov dword [esp + 0x30], eax
cmp eax, 0x80000000
je 0x435946
mov ebx, dword [esp + 0x18]
mov ecx, ebx
and ecx, 0x20
mov dword [esp + 0x4c], ecx
je 0x4353bf
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
add esi, ecx
mov ecx, dword [esp + 0x1c]
mov ebp, dword [ecx + 0x84]
lea edi, [edx + eax]
add ecx, 0x160
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], edi
test ebp, ebp
je 0x4353aa
lea esp, [esp]
mov ebx, dword [ecx]
dec ebp
test ebx, ebx
jle 0x43523f
cmp ebx, 8
jle 0x43519f
test bl, 1
je 0x435187
mov edx, dword [ecx + 0x10]
mov esi, dword [ecx + 0x30]
add edx, edx
sub edx, dword [ecx + 0x14]
add esi, esi
sub esi, dword [ecx + 0x34]
jmp 0x4351ab
mov eax, dword [ecx + 0x10]
lea edx, [eax + eax*2]
mov eax, dword [ecx + 0x30]
sub edx, dword [ecx + 0x14]
lea esi, [eax + eax*2]
sub esi, dword [ecx + 0x34]
sar edx, 1
sar esi, 1
jmp 0x4351ab
mov eax, dword [esp + 0x14]
mov edx, dword [ecx + eax*4 + 0x10]
mov esi, dword [ecx + eax*4 + 0x30]
movsx eax, dx
cmp edx, eax
je 0x4351d4
mov eax, dword [ecx + 8]
mov edi, edx
sar edi, 9
and edx, 0xffff
and edi, 0xffffff80
imul edx, eax
imul edi, eax
sar edx, 9
lea edi, [edi + edx + 1]
sar edi, 1
jmp 0x4351e3
mov edi, dword [ecx + 8]
imul edi, edx
add edi, 0x200
sar edi, 0xa
add dword [esp + 0x24], edi
movsx edx, si
cmp esi, edx
je 0x43521f
mov eax, dword [ecx + 0xc]
mov edx, esi
sar edx, 9
and esi, 0xffff
and edx, 0xffffff80
imul esi, eax
imul edx, eax
sar esi, 9
lea edx, [edx + esi + 1]
mov esi, dword [esp + 0x24]
sar edx, 1
add dword [esp + 0x20], edx
mov edi, dword [esp + 0x20]
jmp 0x43539b
mov edx, dword [ecx + 0xc]
imul edx, esi
mov esi, dword [esp + 0x24]
add edx, 0x200
sar edx, 0xa
add dword [esp + 0x20], edx
mov edi, dword [esp + 0x20]
jmp 0x43539b
cmp ebx, 0xffffffff
jne 0x4352d9
mov eax, dword [ecx + 0x10]
movsx edx, ax
cmp eax, edx
je 0x435276
mov edx, eax
mov eax, dword [ecx + 8]
mov ebx, edx
and edx, 0xffff
sar ebx, 9
imul edx, eax
and ebx, 0xffffff80
imul ebx, eax
sar edx, 9
lea edx, [ebx + edx + 1]
sar edx, 1
jmp 0x435285
mov edx, dword [ecx + 8]
imul edx, eax
add edx, 0x200
sar edx, 0xa
add esi, edx
movsx eax, si
mov dword [esp + 0x24], esi
cmp esi, eax
je 0x4352bf
mov eax, dword [ecx + 0xc]
mov edx, esi
sar edx, 9
mov ebx, esi
and ebx, 0xffff
and edx, 0xffffff80
imul ebx, eax
imul edx, eax
sar ebx, 9
lea edx, [edx + ebx + 1]
sar edx, 1
add edi, edx
mov dword [esp + 0x20], edi
jmp 0x43539b
mov edx, dword [ecx + 0xc]
imul edx, esi
add edx, 0x200
sar edx, 0xa
add edi, edx
mov dword [esp + 0x20], edi
jmp 0x43539b
mov eax, dword [ecx + 0x30]
movsx edx, ax
cmp eax, edx
je 0x43530b
mov edx, eax
mov eax, dword [ecx + 0xc]
mov edi, edx
sar edi, 9
and edx, 0xffff
and edi, 0xffffff80
imul edx, eax
imul edi, eax
sar edx, 9
lea edx, [edi + edx + 1]
mov edi, dword [esp + 0x20]
sar edx, 1
jmp 0x43531a
mov edx, dword [ecx + 0xc]
imul edx, eax
add edx, 0x200
sar edx, 0xa
add edi, edx
mov dword [esp + 0x20], edi
cmp ebx, 0xfffffffd
jne 0x43535b
mov eax, dword [ecx + 0x10]
movsx edx, ax
cmp eax, edx
je 0x435353
mov edx, eax
mov eax, dword [ecx + 8]
mov ebx, edx
and edx, 0xffff
sar ebx, 9
imul edx, eax
and ebx, 0xffffff80
imul ebx, eax
sar edx, 9
lea edx, [ebx + edx + 1]
sar edx, 1
jmp 0x435395
mov edx, dword [ecx + 8]
imul edx, eax
jmp 0x43538c
movsx eax, di
cmp edi, eax
je 0x435386
mov eax, dword [ecx + 8]
mov edx, edi
sar edx, 9
mov ebx, edi
and ebx, 0xffff
and edx, 0xffffff80
imul ebx, eax
imul edx, eax
sar ebx, 9
lea edx, [edx + ebx + 1]
sar edx, 1
jmp 0x435395
mov edx, dword [ecx + 8]
imul edx, edi
add edx, 0x200
sar edx, 0xa
add esi, edx
mov dword [esp + 0x24], esi
add ecx, 0x60
test ebp, ebp
jne 0x435160
mov ebx, dword [esp + 0x18]
test bl, 0x10
je 0x4353bf
mov eax, esi
sar eax, 1
sub edi, eax
add esi, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], esi
mov ecx, dword [esp + 0x1c]
mov ebp, dword [ecx + 0x84]
add ecx, 0x160
test ebp, ebp
je 0x43572c
mov ebx, dword [ecx]
dec ebp
mov dword [esp + 0x48], ebp
test ebx, ebx
jle 0x435524
cmp ebx, 8
jle 0x435432
mov edi, dword [ecx + 0x10]
mov eax, dword [ecx + 0x30]
test bl, 1
je 0x435412
lea edx, [edi + edi]
sub edx, dword [ecx + 0x14]
lea esi, [eax + eax]
sub esi, dword [ecx + 0x34]
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x34], eax
mov dword [esp + 0x38], 0
jmp 0x435447
lea edx, [edi + edi*2]
sub edx, dword [ecx + 0x14]
lea esi, [eax + eax*2]
sub esi, dword [ecx + 0x34]
sar edx, 1
sar esi, 1
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x34], eax
mov dword [esp + 0x38], 0
jmp 0x435447
mov eax, dword [esp + 0x14]
mov edx, dword [ecx + eax*4 + 0x10]
mov esi, dword [ecx + eax*4 + 0x30]
add eax, ebx
and eax, 7
mov dword [esp + 0x38], eax
mov ebx, dword [ecx + 8]
movsx eax, dx
cmp edx, eax
je 0x435472
mov eax, edx
sar eax, 9
mov edi, edx
and edi, 0xffff
imul edi, ebx
and eax, 0xffffff80
imul eax, ebx
sar edi, 9
lea edi, [eax + edi + 1]
sar edi, 1
jmp 0x435480
mov edi, ebx
imul edi, edx
add edi, 0x200
sar edi, 0xa
mov eax, dword [esp + 0x2c]
add edi, eax
movsx eax, si
cmp esi, eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x50], edi
je 0x4354b5
mov edi, esi
sar edi, 9
mov ebp, esi
and ebp, 0xffff
and edi, 0xffffff80
imul ebp, eax
imul edi, eax
sar ebp, 9
lea edi, [edi + ebp + 1]
sar edi, 1
jmp 0x4354c3
mov edi, eax
imul edi, esi
add edi, 0x200
sar edi, 0xa
mov ebp, dword [esp + 0x30]
add edi, ebp
test edx, edx
je 0x4354e6
mov ebp, dword [esp + 0x2c]
test ebp, ebp
je 0x4354e6
xor edx, ebp
mov ebp, dword [ecx + 4]
sar edx, 0x1f
xor ebp, edx
sub ebp, edx
add ebp, ebx
mov dword [ecx + 8], ebp
test esi, esi
je 0x435503
mov edx, dword [esp + 0x30]
test edx, edx
je 0x435503
xor esi, edx
mov edx, dword [ecx + 4]
sar esi, 0x1f
xor edx, esi
sub edx, esi
add edx, eax
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x2c], eax
mov dword [ecx + edx*4 + 0x10], eax
mov dword [esp + 0x30], edi
mov dword [ecx + edx*4 + 0x30], edi
jmp 0x43571d
cmp ebx, 0xffffffff
jne 0x435621
mov edi, dword [ecx + 0x10]
mov edx, dword [ecx + 8]
movsx eax, di
cmp edi, eax
je 0x43555b
mov eax, edi
sar eax, 9
mov esi, edi
and esi, 0xffff
imul esi, edx
and eax, 0xffffff80
imul eax, edx
sar esi, 9
lea esi, [eax + esi + 1]
sar esi, 1
jmp 0x435569
mov esi, edx
imul esi, edi
add esi, 0x200
sar esi, 0xa
mov eax, dword [esp + 0x2c]
add esi, eax
test edi, edi
je 0x43559f
test eax, eax
je 0x43559f
xor edi, eax
sar edi, 0x1f
xor edx, edi
add edx, dword [ecx + 4]
sub edx, edi
cmp edx, 0x400
mov dword [ecx + 8], edx
jle 0x435595
mov dword [ecx + 8], 0x400
mov edx, dword [ecx + 8]
xor edx, edi
sub edx, edi
mov dword [ecx + 8], edx
movsx eax, si
mov dword [esp + 0x2c], esi
cmp esi, eax
je 0x4355ce
mov eax, dword [ecx + 0xc]
mov edx, esi
sar edx, 9
mov edi, esi
and edi, 0xffff
and edx, 0xffffff80
imul edi, eax
imul edx, eax
sar edi, 9
lea edx, [edx + edi + 1]
sar edx, 1
jmp 0x4355dd
mov edx, dword [ecx + 0xc]
imul edx, esi
add edx, 0x200
sar edx, 0xa
mov eax, dword [esp + 0x30]
add edx, eax
test esi, esi
je 0x435615
test eax, eax
je 0x435615
xor esi, eax
mov eax, dword [ecx + 0xc]
sar esi, 0x1f
xor eax, esi
add eax, dword [ecx + 4]
sub eax, esi
cmp eax, 0x400
mov dword [ecx + 0xc], eax
jle 0x43560b
mov dword [ecx + 0xc], 0x400
mov eax, dword [ecx + 0xc]
xor eax, esi
sub eax, esi
mov dword [ecx + 0xc], eax
mov dword [esp + 0x30], edx
mov dword [ecx + 0x10], edx
jmp 0x43571d
mov edx, dword [ecx + 0x30]
movsx eax, dx
cmp edx, eax
je 0x43564f
mov eax, dword [ecx + 0xc]
mov esi, edx
sar esi, 9
mov edi, edx
and edi, 0xffff
and esi, 0xffffff80
imul edi, eax
imul esi, eax
sar edi, 9
lea esi, [esi + edi + 1]
sar esi, 1
jmp 0x43565e
mov esi, dword [ecx + 0xc]
imul esi, edx
add esi, 0x200
sar esi, 0xa
mov eax, dword [esp + 0x30]
add esi, eax
test edx, edx
je 0x435696
test eax, eax
je 0x435696
xor edx, eax
mov eax, dword [ecx + 0xc]
sar edx, 0x1f
xor eax, edx
add eax, dword [ecx + 4]
sub eax, edx
cmp eax, 0x400
mov dword [ecx + 0xc], eax
jle 0x43568c
mov dword [ecx + 0xc], 0x400
mov eax, dword [ecx + 0xc]
xor eax, edx
sub eax, edx
mov dword [ecx + 0xc], eax
mov eax, esi
mov dword [esp + 0x30], eax
cmp ebx, 0xfffffffd
jne 0x4356a7
mov esi, dword [ecx + 0x10]
mov dword [ecx + 0x10], eax
movsx edx, si
cmp esi, edx
mov edx, dword [ecx + 8]
je 0x4356d2
mov eax, esi
sar eax, 9
mov edi, esi
and edi, 0xffff
imul edi, edx
and eax, 0xffffff80
imul eax, edx
sar edi, 9
lea edi, [eax + edi + 1]
sar edi, 1
jmp 0x4356e0
mov edi, edx
imul edi, esi
add edi, 0x200
sar edi, 0xa
mov eax, dword [esp + 0x2c]
add edi, eax
test esi, esi
je 0x435716
test eax, eax
je 0x435716
xor esi, eax
sar esi, 0x1f
xor edx, esi
add edx, dword [ecx + 4]
sub edx, esi
cmp edx, 0x400
mov dword [ecx + 8], edx
jle 0x43570c
mov dword [ecx + 8], 0x400
mov edx, dword [ecx + 8]
xor edx, esi
sub edx, esi
mov dword [ecx + 8], edx
mov dword [esp + 0x2c], edi
mov dword [ecx + 0x30], edi
add ecx, 0x60
test ebp, ebp
jne 0x4353d7
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
inc eax
and eax, 7
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x14], eax
jne 0x435773
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x44]
lea edi, [edx + ecx]
mov ecx, dword [esp + 0x30]
add ecx, eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], ecx
test bl, 0x10
je 0x435798
mov edx, edi
sar edx, 1
sub ecx, edx
add edi, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edi
jmp 0x43577b
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
test bl, 0x10
je 0x435798
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov esi, edx
sar esi, 1
sub eax, esi
add edx, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], edx
test bl, 0x40
je 0x4358eb
mov ebp, dword [esp + 0x1c]
mov eax, dword [ebp + 0x128]
add dword [ebp + 0x120], eax
mov eax, dword [ebp + 0x120]
mov ecx, dword [ebp + 0x130]
mov edx, dword [esp + 0x24]
sar eax, 0x10
mov esi, eax
mov edi, edx
sub edi, dword [esp + 0x2c]
movsx eax, cx
mov dword [esp + 0x40], edi
cmp ecx, eax
je 0x4357fc
mov eax, ecx
sar eax, 9
mov ebx, ecx
and ebx, 0xffff
and eax, 0xffffff80
imul ebx, esi
imul eax, esi
sar ebx, 9
lea eax, [eax + ebx + 1]
mov ebx, dword [esp + 0x18]
sar eax, 1
jmp 0x435809
mov eax, esi
imul eax, ecx
add eax, 0x200
sar eax, 0xa
neg eax
and ebx, 0x20000000
mov dword [esp + 0x4c], ebx
je 0x435841
test esi, esi
jge 0x435841
test eax, eax
je 0x435841
cmp eax, ecx
jne 0x435835
test eax, eax
jge 0x435834
inc eax
mov ecx, eax
sub ecx, edi
mov dword [ebp + 0x130], ecx
jmp 0x435849
dec eax
mov ecx, eax
sub ecx, edi
mov dword [ebp + 0x130], ecx
jmp 0x435849
neg edi
mov dword [ebp + 0x130], edi
mov ecx, dword [ebp + 0x134]
sub edx, eax
mov eax, dword [ebp + 0x12c]
add dword [ebp + 0x124], eax
mov eax, dword [ebp + 0x124]
sar eax, 0x10
mov edi, edx
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0x30]
mov esi, eax
movsx eax, cx
cmp ecx, eax
mov dword [esp + 0x44], edx
mov eax, ecx
je 0x4358a2
sar eax, 9
mov ebx, ecx
and ebx, 0xffff
and eax, 0xffffff80
imul ebx, esi
imul eax, esi
sar ebx, 9
lea eax, [eax + ebx + 1]
mov ebx, dword [esp + 0x4c]
sar eax, 1
jmp 0x4358ad
imul eax, esi
add eax, 0x200
sar eax, 0xa
neg eax
test ebx, ebx
je 0x4358dd
test esi, esi
jge 0x4358dd
test eax, eax
je 0x4358dd
cmp eax, ecx
jne 0x4358d1
test eax, eax
jge 0x4358d0
inc eax
mov ecx, eax
sub ecx, edx
mov dword [ebp + 0x134], ecx
jmp 0x4358e5
dec eax
mov ecx, eax
sub ecx, edx
mov dword [ebp + 0x134], ecx
jmp 0x4358e5
neg edx
mov dword [ebp + 0x134], edx
mov ecx, dword [esp + 0x20]
sub ecx, eax
mov esi, dword [esp + 0x3c]
mov eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, esi
jg 0x435946
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, esi
jg 0x435946
mov eax, dword [esp + 0x28]
lea edx, [edi + ecx]
lea edx, [edx + edi*2]
lea edx, [edx + eax*8]
add eax, edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
mov dword [eax], edi
add eax, 4
mov dword [eax], ecx
add eax, 4
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0xa0]
jb 0x4350d2
jmp 0x435946
mov dword [esp + 0x10], edx
mov esi, dword [esp + 0xa0]
cmp dword [esp + 0x10], esi
je 0x4359d8
test byte [esp + 0x18], 4
mov ecx, dword [esp + 0x9c]
mov eax, 0
sete al
lea eax, [eax*4 + 4]
imul eax, esi
push eax
push 0
push ecx
call fcn.00453ec0
mov ecx, dword [esp + 0x28]
add esp, 0xc
cmp dword [ecx + 0xf8], 0
mov dword [ecx + 0x88], 1
mov dword [esp + 0x10], esi
je 0x4359d8
cmp dword [ecx + 0x104], 0x10
jae 0x4359ac
add dword [ecx + 0xf8], 2
xor eax, eax
mov dword [ecx + 0xf0], eax
mov dword [ecx + 0xf4], eax
mov dword [ecx + 0xf8], eax
mov dword [ecx + 0xfc], eax
mov dword [ecx + 0x100], eax
mov dword [ecx + 0x104], eax
mov dword [ecx + 0x108], eax
cmp dword [esp + 0x14], 0
je 0x435ad6
mov ebp, dword [esp + 0x1c]
mov ebx, dword [ebp + 0x84]
add ebp, 0x160
test ebx, ebx
je 0x435ad6
lea eax, [ebp + 0x30]
mov edi, edi
mov ecx, dword [ebp]
dec ebx
test ecx, ecx
jle 0x435ac8
cmp ecx, 8
jg 0x435ac8
lea edx, [eax - 0x20]
mov esi, edx
mov ecx, 8
lea edi, [esp + 0x54]
rep movsd dword es:[edi], dword [esi]
mov ecx, 8
mov esi, eax
lea edi, [esp + 0x74]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + ecx*4 + 0x54]
mov dword [edx], esi
mov edx, dword [esp + ecx*4 + 0x74]
inc ecx
and ecx, 7
mov dword [eax], edx
mov edx, dword [esp + ecx*4 + 0x54]
mov dword [eax - 0x1c], edx
mov edx, dword [esp + ecx*4 + 0x74]
inc ecx
and ecx, 7
mov dword [eax + 4], edx
mov edx, dword [esp + ecx*4 + 0x54]
mov dword [eax - 0x18], edx
mov edx, dword [esp + ecx*4 + 0x74]
inc ecx
and ecx, 7
mov dword [eax + 8], edx
mov edx, dword [esp + ecx*4 + 0x54]
mov dword [eax - 0x14], edx
mov edx, dword [esp + ecx*4 + 0x74]
inc ecx
and ecx, 7
mov dword [eax + 0xc], edx
mov edx, dword [esp + ecx*4 + 0x54]
mov dword [eax - 0x10], edx
mov edx, dword [esp + ecx*4 + 0x74]
inc ecx
and ecx, 7
mov dword [eax + 0x10], edx
mov edx, dword [esp + ecx*4 + 0x54]
mov dword [eax - 0xc], edx
mov edx, dword [esp + ecx*4 + 0x74]
inc ecx
and ecx, 7
mov dword [eax + 0x14], edx
mov edx, dword [esp + ecx*4 + 0x54]
mov dword [eax - 8], edx
mov edx, dword [esp + ecx*4 + 0x74]
inc ecx
and ecx, 7
mov dword [eax + 0x18], edx
mov edx, dword [esp + ecx*4 + 0x54]
mov dword [eax - 4], edx
mov edx, dword [esp + ecx*4 + 0x74]
inc ecx
and ecx, 7
mov dword [eax + 0x1c], edx
mov dword [esp + 0x14], ecx
add ebp, 0x60
add eax, 0x60
test ebx, ebx
jne 0x435a00
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x9c]
mov edi, dword [esp + 0x98]
push esi
push ebp
mov eax, edi
call fcn.00436af0
mov eax, dword [esp + 0x20]
add esp, 8
test al, al
jns 0x435b32
test byte [edi + 0x9c], 0x10
je 0x435b32
test eax, 0x40000004
mov eax, esi
jne 0x435b11
lea eax, [esi + esi]
mov ecx, dword [esp + 0x1c]
movzx edx, byte [ecx + 0x11f]
mov ebx, dword [edi + 0xa0]
sub ebx, edx
add ebx, 0x7f
mov ecx, ebp
call fcn.00438a20
mov eax, dword [esp + 0x18]
test eax, 0x40000000
je 0x435b5e
lea eax, [ebp + esi*8]
lea ecx, [ebp + esi*4]
mov edx, esi
test esi, esi
je 0x435b5e
mov edi, dword [ecx - 4]
sub ecx, 4
sub eax, 4
mov dword [eax], edi
mov edi, dword [ecx]
dec edx
sub eax, 4
mov dword [eax], edi
test edx, edx
jne 0x435b47
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
add dword [eax + 0xa8], esi
pop edi
mov dword [eax + 0xac], ecx
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret