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

Disassembly:
sub esp, 0x110
mov eax, dword [esp + 0x11c]
mov edx, dword [eax]
mov ecx, dword [esp + 0x120]
push ebx
push ebp
mov dword [esp + 0x90], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
push esi
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x130]
push edi
mov edi, dword [esp + 0x124]
mov ebp, dword [edi + 4]
add ebp, dword [edi + 0xc]
mov dword [esp + 0x94], ecx
add ecx, eax
mov eax, dword [edi + 0x8c]
mov dword [esp + 0x9c], edx
lea edx, [edi + 0x30]
mov dword [esp + 0x80], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0xa8], eax
cmp eax, 0xfff
jb 0x41084f
mov dword [esp + 0xa8], 0xfff
mov eax, dword [edi + 0x18]
mov ebx, dword [edx + 0x14]
xor ecx, ecx
cmp dword [edi + 0x88], 3
mov dword [esp + 0xac], eax
mov eax, dword [edi + 0x94]
setne cl
mov dword [esp + 0x78], ebx
add ecx, 3
mov dword [esp + 0x84], ecx
mov ecx, dword [edx + 0x10]
mov dword [esp + 0x70], ecx
test eax, eax
jne 0x41088c
mov eax, 0x6c0b24
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov esi, dword [esp + 0x130]
mov dword [esp + 0xb4], ecx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0xb0], edx
mov edx, dword [eax + 8]
mov dword [esp + 0xbc], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xb8], edx
mov edx, dword [eax + 0x10]
xor eax, eax
sub ecx, esi
push ecx
mov dword [esp + 0xc4], edx
push eax
lea edx, [esp + 0xb8]
mov dword [esp + 0xd4], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
call fcn.0040ddb0
mov ecx, dword [esp + 0x13c]
push 2
push esi
mov esi, dword [esp + 0x90]
call fcn.0040d280
mov eax, dword [esp + 0x140]
xor edx, edx
add esp, 0x10
cmp eax, ebp
sete dl
add edx, eax
mov eax, dword [esp + 0x2c]
mov ebp, edx
add eax, 0xfffffff8
mov dword [esp + 0x8c], ebp
cmp ebp, eax
jae 0x412ef1
mov ecx, dword [edi + 0x88]
mov edx, dword [edi + 4]
mov eax, ebp
sub eax, dword [esp + 0x94]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x64], eax
mov eax, 0
sete al
mov dword [esp + 0x14], edx
mov esi, eax
mov eax, dword [edi + 0x18]
lea ecx, [eax + edx]
cmp ebp, ecx
jae 0x410969
xor ecx, ecx
jmp 0x4116c5
mov ecx, ebp
sub ecx, edx
mov ebx, eax
mov dword [esp + 0x20], ecx
cmp ebx, ecx
jae 0x4109a5
jmp 0x410980
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
push 0
lea ecx, [ebx + eax]
push edx
push ecx
mov ecx, dword [esp + 0x30]
mov eax, edi
call fcn.0040da70
add ebx, eax
add esp, 0xc
cmp ebx, dword [esp + 0x20]
jb 0x410980
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
add eax, 0xfffffffd
mov dword [edi + 0x18], edx
cmp eax, 4
ja case.0x4109bc.4
jmp dword [eax*4 + 0x412f38]
mov eax, dword [edi + 0x8c]
mov dword [esp + 0x30], eax
cmp eax, 0xfff
jb 0x4109dc
mov dword [esp + 0x30], 0xfff
mov ecx, dword [edi + 4]
mov edx, dword [ebp]
mov ebx, dword [edi + 0x20]
imul edx, edx, 0x9e3779b1
mov dword [esp + 0x40], ecx
mov eax, ebp
sub eax, ecx
mov ecx, dword [edi + 0x80]
mov dword [esp + 0x10], ecx
mov ecx, 0x20
sub ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
shr edx, cl
mov ecx, dword [edi + 0x28]
mov dword [esp + 0x24], ecx
mov ecx, dword [edi + 0x7c]
mov dword [esp + 0x6c], edx
mov edx, dword [ebx + edx*4]
mov dword [esp + 0x34], edx
dec ecx
mov edx, 1
shl edx, cl
xor ecx, ecx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x50], ecx
dec edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x5c], ecx
cmp edx, eax
jae 0x410a44
mov ecx, eax
sub ecx, edx
mov dword [esp + 0x3c], ecx
mov ecx, dword [edi + 0x78]
mov ebx, 1
shl ebx, cl
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x10], ebx
mov ebx, eax
sub ebx, ecx
mov ecx, ebx
mov ebx, dword [esp + 0x10]
cmp ecx, ebx
jbe 0x410a6d
mov ecx, eax
sub ecx, ebx
jmp 0x410a70
mov ecx, dword [edi + 0x10]
cmp dword [edi + 0x14], 0
je 0x410a79
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x48], ecx
test ecx, ecx
jne 0x410a8d
mov dword [esp + 0x48], 1
mov ecx, dword [esp + 0x24]
and edx, eax
lea ecx, [ecx + edx*8]
mov dword [esp + 0x74], ecx
add ecx, 4
mov dword [esp + 0x44], ecx
mov ecx, dword [edi + 0x84]
lea edx, [eax + 9]
mov dword [esp + 0x38], edx
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x84]
dec ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
lea edx, [esi + 3]
mov ecx, esi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x68], ecx
cmp esi, edx
jae 0x410bb0
mov ebx, eax
sub ebx, dword [edi + 0xc]
mov dword [esp + 0x10], ebx
jmp 0x410af4
mov ebx, dword [esp + 0x10]
cmp ecx, 3
jne 0x410b03
mov edx, dword [esp + 0x98]
dec edx
jmp 0x410b0a
mov edx, dword [esp + ecx*4 + 0x98]
mov eax, dword [esp + 0x1c]
sub eax, edx
mov dword [esp + 0x54], eax
lea eax, [edx - 1]
cmp eax, ebx
jae 0x410ba0
neg edx
mov ecx, dword [edx + ebp]
push 3
mov eax, ebp
shl ecx, 8
call fcn.0040d9f0
xor ebx, ebx
add esp, 4
cmp eax, ecx
mov ecx, dword [esp + 0x20]
sete bl
cmp dword [esp + 0x54], ecx
sbb eax, eax
inc eax
test eax, ebx
je 0x410b9c
mov ebx, dword [esp + 0x2c]
lea edx, [edx + ebp + 3]
lea ecx, [ebp + 3]
call fcn.00438be0
add eax, 3
cmp eax, dword [esp + 0x18]
jbe 0x410b9c
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x68]
mov ecx, dword [esp + 0x70]
mov dword [ecx + edx*8 + 4], eax
sub ebx, esi
mov dword [ecx + edx*8], ebx
inc edx
mov dword [esp + 0x4c], edx
lea ecx, [eax + ebp]
xor edx, edx
cmp ecx, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
sete dl
cmp dword [esp + 0x30], eax
sbb eax, eax
neg eax
or edx, eax
jne 0x410d8f
mov ecx, dword [esp + 0x68]
inc ecx
lea eax, [esi + 3]
mov dword [esp + 0x68], ecx
cmp ecx, eax
jb 0x410af0
cmp dword [esp + 0x18], 3
jae 0x410c44
lea ecx, [esp + 0xac]
push ecx
mov ecx, ebp
mov eax, edi
call fcn.0040da00
mov esi, dword [esp + 0x20]
add esp, 4
sub esi, eax
cmp eax, dword [esp + 0x48]
sbb edx, edx
inc edx
cmp esi, 0x40000
sbb ecx, ecx
neg ecx
test ecx, edx
je 0x410c44
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x2c]
add edx, eax
mov ecx, ebp
call fcn.00438be0
cmp eax, 3
jb 0x410c44
mov ecx, dword [esp + 0x70]
mov dword [ecx + 4], eax
add esi, 2
mov dword [ecx], esi
mov ecx, 1
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x10], ecx
xor ecx, ecx
lea edx, [eax + ebp]
cmp edx, ebx
sete cl
cmp dword [esp + 0x30], eax
mov dword [esp + 0x18], eax
sbb eax, eax
neg eax
or ecx, eax
mov ecx, dword [esp + 0x10]
je 0x410c44
mov edx, dword [esp + 0x1c]
inc edx
mov dword [edi + 0x18], edx
jmp 0x4116c1
cmp dword [esp + 0x14], 0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x6c]
mov dword [ecx + edx*4], eax
je 0x410d71
mov edi, edi
mov eax, dword [esp + 0x34]
dec dword [esp + 0x14]
cmp eax, dword [esp + 0x48]
jb 0x410d71
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x50]
and ecx, eax
lea eax, [edx + ecx*8]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x20], eax
cmp dword [esp + 0x50], ecx
jb 0x410c93
mov esi, ecx
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x2c]
add eax, edx
lea edx, [eax + esi]
lea ecx, [esi + ebp]
mov dword [esp + 0x6c], eax
call fcn.00438be0
add esi, eax
cmp esi, dword [esp + 0x18]
jbe 0x410d07
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
sub ecx, eax
cmp esi, ecx
jbe 0x410ccd
lea edx, [esi + eax]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x70]
sub edx, eax
mov eax, dword [esp + 0x4c]
add edx, 2
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], esi
inc eax
mov dword [esp + 0x4c], eax
xor ecx, ecx
lea eax, [esi + ebp]
cmp eax, ebx
sete cl
mov edx, 0x1000
cmp edx, esi
sbb eax, eax
neg eax
mov dword [esp + 0x18], esi
or ecx, eax
jne 0x410d71
mov ecx, dword [esp + 0x6c]
mov dl, byte [ecx + esi]
mov eax, dword [esp + 0x34]
cmp dl, byte [esi + ebp]
jae 0x410d34
mov ecx, dword [esp + 0x74]
mov dword [ecx], eax
mov dword [esp + 0x50], esi
cmp eax, dword [esp + 0x3c]
jbe 0x410d5f
mov eax, dword [esp + 0x20]
add eax, 4
mov dword [esp + 0x74], eax
jmp 0x410d4c
mov ecx, dword [esp + 0x44]
mov dword [ecx], eax
mov dword [esp + 0x5c], esi
cmp eax, dword [esp + 0x3c]
jbe 0x410d69
mov eax, dword [esp + 0x20]
mov dword [esp + 0x44], eax
cmp dword [esp + 0x14], 0
mov edx, dword [eax]
mov dword [esp + 0x34], edx
jne 0x410c60
jmp 0x410d71
lea eax, [esp + 0x28]
mov dword [esp + 0x74], eax
jmp 0x410d71
lea ecx, [esp + 0x28]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x74]
mov dword [edx], 0
add ecx, 0xfffffff8
mov dword [eax], 0
mov dword [edi + 0x18], ecx
mov ecx, dword [esp + 0x4c]
jmp 0x4116c1
mov eax, dword [edi + 0x8c]
mov dword [esp + 0x24], eax
cmp eax, 0xfff
jb 0x410db1
mov dword [esp + 0x24], 0xfff
mov eax, dword [edi + 4]
mov edx, dword [edi + 0x20]
mov dword [esp + 0x74], eax
mov ebx, ebp
sub ebx, eax
mov eax, dword [edi + 0x80]
push eax
mov eax, ebp
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], edx
call fcn.00429a50
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + eax*4]
mov ecx, dword [edi + 0x7c]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x64], eax
dec ecx
mov eax, 1
shl eax, cl
xor ecx, ecx
add esp, 4
mov dword [esp + 0x34], edx
dec eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x50], ecx
cmp eax, ebx
jae 0x410e10
mov ecx, ebx
sub ecx, eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [edi + 0x78]
mov edx, 1
shl edx, cl
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x28], edx
mov edx, ebx
sub edx, ecx
mov ecx, edx
mov edx, dword [esp + 0x28]
cmp ecx, edx
jbe 0x410e39
mov ecx, ebx
sub ecx, edx
jmp 0x410e3c
mov ecx, dword [edi + 0x10]
cmp dword [edi + 0x14], 0
je 0x410e45
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x54], ecx
test ecx, ecx
jne 0x410e59
mov dword [esp + 0x54], 1
mov edx, dword [esp + 0x60]
mov ecx, ebx
and ecx, eax
lea eax, [edx + ecx*8]
mov ecx, dword [edi + 0x84]
mov dword [esp + 0x4c], eax
add eax, 4
mov dword [esp + 0x18], eax
lea eax, [ebx + 9]
mov dword [esp + 0x30], eax
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x84]
dec ecx
mov dword [esp + 0x14], ecx
lea ecx, [esi + 3]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x44], eax
mov dword [esp + 0x68], esi
cmp esi, ecx
jae 0x410f72
mov eax, ebx
sub eax, dword [edi + 0xc]
mov dword [esp + 0x28], eax
mov eax, esi
cmp eax, 3
jne 0x410ec4
mov ecx, dword [esp + 0x98]
dec ecx
jmp 0x410ecb
mov ecx, dword [esp + eax*4 + 0x98]
lea edx, [ecx - 1]
sub ebx, ecx
cmp edx, dword [esp + 0x28]
jae 0x410f56
neg ecx
mov eax, dword [ecx + ebp]
mov dword [esp + 0x6c], eax
push 4
mov eax, ebp
call fcn.0040d9f0
xor edx, edx
add esp, 4
cmp eax, dword [esp + 0x6c]
sete dl
cmp ebx, dword [esp + 0x20]
sbb eax, eax
inc eax
test eax, edx
je 0x410f56
mov ebx, dword [esp + 0x2c]
lea edx, [ecx + ebp + 4]
lea ecx, [ebp + 4]
call fcn.00438be0
add eax, 4
cmp eax, dword [esp + 0x14]
jbe 0x410f56
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x68]
mov edx, dword [esp + 0x70]
sub ebx, esi
mov dword [edx + ecx*8], ebx
mov dword [edx + ecx*8 + 4], eax
inc ecx
lea edx, [eax + ebp]
xor ebx, ebx
cmp edx, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
sete bl
cmp dword [esp + 0x24], eax
mov dword [esp + 0x1c], ecx
sbb eax, eax
neg eax
or ebx, eax
jne 0x4116c1
mov eax, dword [esp + 0x68]
mov ebx, dword [esp + 0x38]
inc eax
lea ecx, [esi + 3]
mov dword [esp + 0x68], eax
cmp eax, ecx
jb 0x410eb5
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x10]
mov dword [ecx + edx*4], ebx
test eax, eax
je 0x41169f
jmp 0x410f90
mov eax, dword [esp + 0x34]
dec dword [esp + 0x44]
cmp eax, dword [esp + 0x54]
jb 0x41169f
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov esi, dword [esp + 0x48]
and ecx, eax
lea eax, [edx + ecx*8]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x50]
cmp esi, eax
jb 0x410fc1
mov esi, eax
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
lea eax, [ecx + edx]
lea edx, [eax + esi]
lea ecx, [esi + ebp]
mov dword [esp + 0x28], eax
call fcn.00438be0
add esi, eax
cmp esi, dword [esp + 0x14]
jbe 0x41103a
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
sub ecx, eax
cmp esi, ecx
jbe 0x410ffc
lea edx, [esi + eax]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x70]
sub edx, eax
mov eax, dword [esp + 0x1c]
add edx, 2
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], esi
inc eax
mov dword [esp + 0x1c], eax
xor ecx, ecx
lea eax, [esi + ebp]
cmp eax, ebx
sete cl
mov edx, 0x1000
cmp edx, esi
sbb eax, eax
neg eax
mov dword [esp + 0x14], esi
or ecx, eax
jne 0x41169f
mov ecx, dword [esp + 0x28]
mov dl, byte [ecx + esi]
mov eax, dword [esp + 0x34]
cmp dl, byte [esi + ebp]
jae 0x41106b
mov ecx, dword [esp + 0x4c]
mov dword [ecx], eax
mov dword [esp + 0x48], esi
cmp eax, dword [esp + 0x3c]
jbe 0x41168d
mov eax, dword [esp + 0x20]
add eax, 4
mov dword [esp + 0x4c], eax
jmp 0x411087
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [esp + 0x50], esi
cmp eax, dword [esp + 0x3c]
jbe 0x411697
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], eax
cmp dword [esp + 0x44], 0
mov edx, dword [eax]
mov dword [esp + 0x34], edx
jne 0x410f90
jmp 0x41169f
mov eax, dword [edi + 0x8c]
mov dword [esp + 0x24], eax
cmp eax, 0xfff
jb 0x4110b6
mov dword [esp + 0x24], 0xfff
mov eax, dword [edi + 4]
mov edx, dword [edi + 0x20]
mov dword [esp + 0x74], eax
mov ebx, ebp
sub ebx, eax
mov eax, dword [edi + 0x80]
push eax
mov eax, ebp
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], edx
call fcn.00439da0
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + eax*4]
mov ecx, dword [edi + 0x7c]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x64], eax
dec ecx
mov eax, 1
shl eax, cl
xor ecx, ecx
add esp, 4
mov dword [esp + 0x34], edx
dec eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x50], ecx
cmp eax, ebx
jae 0x411115
mov ecx, ebx
sub ecx, eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [edi + 0x78]
mov edx, 1
shl edx, cl
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x28], edx
mov edx, ebx
sub edx, ecx
mov ecx, edx
mov edx, dword [esp + 0x28]
cmp ecx, edx
jbe 0x41113e
mov ecx, ebx
sub ecx, edx
jmp 0x411141
mov ecx, dword [edi + 0x10]
cmp dword [edi + 0x14], 0
je 0x41114a
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x54], ecx
test ecx, ecx
jne 0x41115e
mov dword [esp + 0x54], 1
mov ecx, dword [esp + 0x60]
and eax, ebx
lea eax, [ecx + eax*8]
mov ecx, dword [edi + 0x84]
mov dword [esp + 0x4c], eax
add eax, 4
mov dword [esp + 0x18], eax
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x84]
dec ecx
mov dword [esp + 0x14], ecx
lea ecx, [esi + 3]
lea edx, [ebx + 9]
mov dword [esp + 0x30], edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x44], eax
mov dword [esp + 0x68], esi
cmp esi, ecx
jae 0x411275
mov eax, ebx
sub eax, dword [edi + 0xc]
mov dword [esp + 0x28], eax
mov eax, esi
cmp eax, 3
jne 0x4111c7
mov ecx, dword [esp + 0x98]
dec ecx
jmp 0x4111ce
mov ecx, dword [esp + eax*4 + 0x98]
lea edx, [ecx - 1]
sub ebx, ecx
cmp edx, dword [esp + 0x28]
jae 0x411259
neg ecx
mov eax, dword [ecx + ebp]
mov dword [esp + 0x6c], eax
push 4
mov eax, ebp
call fcn.0040d9f0
xor edx, edx
add esp, 4
cmp eax, dword [esp + 0x6c]
sete dl
cmp ebx, dword [esp + 0x20]
sbb eax, eax
inc eax
test eax, edx
je 0x411259
mov ebx, dword [esp + 0x2c]
lea edx, [ecx + ebp + 4]
lea ecx, [ebp + 4]
call fcn.00438be0
add eax, 4
cmp eax, dword [esp + 0x14]
jbe 0x411259
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x68]
mov edx, dword [esp + 0x70]
sub ebx, esi
mov dword [edx + ecx*8], ebx
mov dword [edx + ecx*8 + 4], eax
inc ecx
lea edx, [eax + ebp]
xor ebx, ebx
cmp edx, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
sete bl
cmp dword [esp + 0x24], eax
mov dword [esp + 0x1c], ecx
sbb eax, eax
neg eax
or ebx, eax
jne 0x4116c1
mov eax, dword [esp + 0x68]
mov ebx, dword [esp + 0x38]
inc eax
lea ecx, [esi + 3]
mov dword [esp + 0x68], eax
cmp eax, ecx
jb 0x4111b8
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x10]
mov dword [ecx + edx*4], ebx
test eax, eax
je 0x41169f
jmp 0x411290
mov eax, dword [esp + 0x34]
dec dword [esp + 0x44]
cmp eax, dword [esp + 0x54]
jb 0x41169f
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov esi, dword [esp + 0x48]
and ecx, eax
lea eax, [edx + ecx*8]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x50]
cmp esi, eax
jb 0x4112c1
mov esi, eax
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x2c]
lea eax, [ecx + edx]
lea edx, [eax + esi]
lea ecx, [esi + ebp]
mov dword [esp + 0x28], eax
call fcn.00438be0
add esi, eax
cmp esi, dword [esp + 0x14]
jbe 0x41133a
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
sub ecx, eax
cmp esi, ecx
jbe 0x4112fc
lea edx, [esi + eax]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x70]
sub edx, eax
mov eax, dword [esp + 0x1c]
add edx, 2
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], esi
inc eax
mov dword [esp + 0x1c], eax
xor ecx, ecx
lea eax, [esi + ebp]
cmp eax, ebx
sete cl
mov edx, 0x1000
cmp edx, esi
sbb eax, eax
neg eax
mov dword [esp + 0x14], esi
or ecx, eax
jne 0x41169f
mov ecx, dword [esp + 0x28]
mov dl, byte [ecx + esi]
mov eax, dword [esp + 0x34]
cmp dl, byte [esi + ebp]
jae 0x41136b
mov ecx, dword [esp + 0x4c]
mov dword [ecx], eax
mov dword [esp + 0x48], esi
cmp eax, dword [esp + 0x3c]
jbe 0x41168d
mov eax, dword [esp + 0x20]
add eax, 4
mov dword [esp + 0x4c], eax
jmp 0x411387
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [esp + 0x50], esi
cmp eax, dword [esp + 0x3c]
jbe 0x411697
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], eax
cmp dword [esp + 0x44], 0
mov edx, dword [eax]
mov dword [esp + 0x34], edx
jne 0x411290
jmp 0x41169f
mov eax, dword [edi + 0x8c]
mov dword [esp + 0x24], eax
cmp eax, 0xfff
jb 0x4113b6
mov dword [esp + 0x24], 0xfff
mov edx, dword [edi + 0x80]
mov ecx, dword [edi + 4]
mov ebx, dword [edi + 0x20]
mov dword [esp + 0x28], edx
mov edx, dword [ebp]
imul edx, edx, 0x9e3779b1
mov dword [esp + 0x74], ecx
mov eax, ebp
sub eax, ecx
mov ecx, 0x20
sub ecx, dword [esp + 0x28]
mov dword [esp + 0x38], eax
shr edx, cl
mov dword [esp + 0x10], ebx
mov ecx, dword [ebx + edx*4]
mov dword [esp + 0x50], edx
mov edx, dword [edi + 0x28]
mov dword [esp + 0x34], ecx
mov ecx, dword [edi + 0x7c]
mov dword [esp + 0x54], edx
dec ecx
mov edx, 1
shl edx, cl
xor ecx, ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x48], ecx
dec edx
mov dword [esp + 0x5c], edx
cmp edx, eax
jae 0x41141e
mov ecx, eax
sub ecx, edx
mov dword [esp + 0x3c], ecx
mov ecx, dword [edi + 0x78]
mov ebx, 1
shl ebx, cl
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x28], ebx
mov ebx, eax
sub ebx, ecx
mov ecx, ebx
mov ebx, dword [esp + 0x28]
cmp ecx, ebx
jbe 0x411447
mov ecx, eax
sub ecx, ebx
jmp 0x41144a
mov ecx, dword [edi + 0x10]
cmp dword [edi + 0x14], 0
je 0x411453
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x40], ecx
test ecx, ecx
jne 0x411467
mov dword [esp + 0x40], 1
mov ecx, dword [esp + 0x54]
and edx, eax
lea ecx, [ecx + edx*8]
mov dword [esp + 0x4c], ecx
add ecx, 4
mov dword [esp + 0x18], ecx
mov ecx, dword [edi + 0x84]
lea edx, [eax + 9]
mov dword [esp + 0x30], edx
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x84]
dec ecx
mov dword [esp + 0x14], ecx
lea ecx, [esi + 3]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x44], edx
mov dword [esp + 0x68], esi
cmp esi, ecx
jae 0x41157c
mov ecx, eax
sub ecx, dword [edi + 0xc]
mov dword [esp + 0x28], ecx
mov ecx, esi
cmp ecx, 3
jne 0x4114d0
mov ecx, dword [esp + 0x98]
dec ecx
jmp 0x4114d7
mov ecx, dword [esp + ecx*4 + 0x98]
mov edx, eax
lea eax, [ecx - 1]
sub edx, ecx
cmp eax, dword [esp + 0x28]
jae 0x411560
neg ecx
mov eax, dword [ecx + ebp]
mov dword [esp + 0x6c], eax
push 4
mov eax, ebp
call fcn.0040d9f0
xor ebx, ebx
add esp, 4
cmp eax, dword [esp + 0x6c]
sete bl
cmp edx, dword [esp + 0x20]
sbb edx, edx
inc edx
test edx, ebx
je 0x411560
mov ebx, dword [esp + 0x2c]
lea edx, [ecx + ebp + 4]
lea ecx, [ebp + 4]
call fcn.00438be0
add eax, 4
cmp eax, dword [esp + 0x14]
jbe 0x411560
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x68]
mov edx, dword [esp + 0x70]
sub ebx, esi
mov dword [edx + ecx*8], ebx
mov dword [edx + ecx*8 + 4], eax
inc ecx
lea edx, [eax + ebp]
xor ebx, ebx
cmp edx, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
sete bl
cmp dword [esp + 0x24], eax
mov dword [esp + 0x1c], ecx
sbb eax, eax
neg eax
or ebx, eax
jne 0x4116c1
mov ecx, dword [esp + 0x68]
inc ecx
lea eax, [esi + 3]
cmp ecx, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x68], ecx
jb 0x4114c1
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x50]
mov dword [ecx + esi*4], eax
test edx, edx
je 0x41169f
nop
mov eax, dword [esp + 0x34]
dec dword [esp + 0x44]
cmp eax, dword [esp + 0x40]
jb 0x41169f
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x60]
and edx, eax
mov eax, dword [esp + 0x54]
lea ecx, [eax + edx*8]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], ecx
cmp esi, eax
jb 0x4115c1
mov esi, eax
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x2c]
add eax, edx
lea edx, [eax + esi]
lea ecx, [esi + ebp]
mov dword [esp + 0x28], eax
call fcn.00438be0
add esi, eax
cmp esi, dword [esp + 0x14]
jbe 0x411635
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
sub ecx, eax
cmp esi, ecx
jbe 0x4115fb
lea edx, [esi + eax]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x70]
sub edx, eax
mov eax, dword [esp + 0x1c]
add edx, 2
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], esi
inc eax
mov dword [esp + 0x1c], eax
xor ecx, ecx
lea eax, [esi + ebp]
cmp eax, ebx
sete cl
mov edx, 0x1000
cmp edx, esi
sbb eax, eax
neg eax
mov dword [esp + 0x14], esi
or ecx, eax
jne 0x41169f
mov ecx, dword [esp + 0x28]
mov dl, byte [ecx + esi]
mov eax, dword [esp + 0x34]
cmp dl, byte [esi + ebp]
jae 0x411662
mov ecx, dword [esp + 0x4c]
mov dword [ecx], eax
mov dword [esp + 0x60], esi
cmp eax, dword [esp + 0x3c]
jbe 0x41168d
mov eax, dword [esp + 0x20]
add eax, 4
mov dword [esp + 0x4c], eax
jmp 0x41167a
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [esp + 0x48], esi
cmp eax, dword [esp + 0x3c]
jbe 0x411697
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], eax
cmp dword [esp + 0x44], 0
mov edx, dword [eax]
mov dword [esp + 0x34], edx
jne 0x411590
jmp 0x41169f
lea eax, [esp + 0x28]
mov dword [esp + 0x4c], eax
jmp 0x41169f
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x4c]
mov dword [edx], 0
add ecx, 0xfffffff8
mov dword [eax], 0
mov dword [edi + 0x18], ecx
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x78]
mov eax, dword [esp + 0xbc]
mov esi, ebp
sub esi, dword [esp + 0x130]
mov dword [esp + 0x1c], ecx
test eax, eax
je 0x41173a
cmp dword [esp + 0xb4], eax
jae 0x41173a
mov eax, dword [esp + 0xc8]
cmp esi, eax
jb 0x41171e
jbe 0x411707
mov edx, esi
sub edx, eax
push edx
lea edx, [esp + 0xb4]
call fcn.004399c0
add esp, 4
mov eax, dword [esp + 0x2c]
sub eax, ebp
push eax
push esi
lea edx, [esp + 0xb8]
call fcn.0040ddb0
add esp, 8
mov ebx, dword [esp + 0x70]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0xb4]
call fcn.0040de80
mov ebx, dword [esp + 0x7c]
add esp, 4
cmp dword [esp + 0x1c], 0
jne 0x41174e
inc ebp
mov dword [esp + 0x8c], ebp
jmp 0x412ee2
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0xa0]
mov edi, dword [esp + 0x64]
mov esi, dword [esp + 0x80]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], ecx
mov edx, 2
mov eax, edi
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], edi
call fcn.0040d830
mov esi, dword [esp + 0x70]
mov edx, dword [esp + 0x1c]
mov dword [ebx], eax
mov eax, dword [esi + edx*8 - 4]
cmp eax, dword [esp + 0xa8]
jbe 0x4117fd
mov edx, dword [esi + edx*8 - 8]
mov ecx, edi
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xd8], eax
mov dword [esp + 0xd4], edx
xor ebx, ebx
mov edx, dword [esp + 0x78]
test eax, eax
je 0x412c2e
xor eax, eax
test ecx, ecx
sete al
lea ecx, [ebx*8]
sub ecx, ebx
lea ecx, [edx + ecx*4 + 0x10]
mov edx, dword [esp + 0xd4]
push eax
lea eax, [esp + 0x118]
call fcn.0040cfb0
add esp, 4
jmp 0x412c3b
mov esi, dword [esp + 0x80]
mov edx, 2
xor eax, eax
call fcn.0040d830
add eax, dword [ebx]
mov edi, 1
mov dword [esp + 0x6c], eax
mov dword [esp + 0x38], edi
cmp dword [esp + 0x84], edi
jbe 0x41184e
mov ecx, dword [esp + 0x84]
dec ecx
lea edi, [ecx + 1]
lea eax, [ebx + 0x1c]
mov dword [esp + 0x38], edi
lea ebx, [ebx]
mov dword [eax], 0x40000000
add eax, 0x1c
sub ecx, 1
jne 0x411840
xor eax, eax
mov dword [esp + 0x40], eax
cmp dword [esp + 0x1c], eax
jbe 0x4119f3
mov edi, edi
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + eax*8]
mov ecx, dword [ecx + eax*8 + 4]
mov dword [esp + 0x24], edx
mov dword [esp + 0x10], ecx
cmp edi, ecx
ja 0x4119e4
mov edx, dword [esp + 0x78]
lea ecx, [edi*8]
sub ecx, edi
lea ebx, [edx + ecx*4 + 4]
mov ecx, 0x6c0b80
dec ecx
lea eax, [edi - 2]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x3c], eax
inc ecx
bsr ecx, ecx
setne dl
movzx edx, dl
neg edx
sbb edx, edx
mov dword [esp + 0x20], 0
mov dword [esp + 0x20], ecx
and edx, ecx
mov ecx, dword [esp + 0x80]
cmp dword [ecx + 0x38], 1
mov dword [esp + 0x20], 0
jne 0x4118fc
bsr ecx, eax
mov dword [esp + 0x20], ecx
setne cl
movzx ecx, cl
neg ecx
sbb ecx, ecx
and ecx, dword [esp + 0x20]
mov esi, eax
shl esi, 8
shr esi, cl
lea edx, [ecx + edx + 0x10]
shl edx, 8
add esi, edx
jmp 0x4119b0
mov ecx, dword [ecx + 0xc]
mov esi, dword [ecx + edx*4]
inc esi
bsr ecx, esi
mov dword [esp + 0x20], ecx
setne cl
movzx ecx, cl
neg ecx
sbb ecx, ecx
and ecx, dword [esp + 0x20]
shl esi, 8
sub edx, ecx
shr esi, cl
mov ecx, dword [esp + 0x80]
shl edx, 8
dec eax
sub edx, esi
add edx, dword [ecx + 0x34]
cmp eax, 0x7f
jbe 0x411954
bsr eax, eax
setne cl
movzx edi, cl
neg edi
sbb edi, edi
and edi, eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x20], eax
add edi, 0x24
jmp 0x411960
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
movzx edi, byte [eax + ecx]
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 8]
mov esi, dword [ecx + edi*4]
inc esi
bsr ecx, esi
mov dword [esp + 0x20], 0
mov dword [esp + 0x20], ecx
setne cl
movzx ecx, cl
neg ecx
sbb ecx, ecx
and ecx, dword [esp + 0x20]
shl esi, 8
shr esi, cl
shl ecx, 8
add esi, ecx
mov ecx, dword [edi*4 + 0x6c09a8]
mov edi, dword [esp + 0x38]
shl ecx, 8
add ecx, dword [eax + 0x30]
mov eax, dword [esp + 0x3c]
sub ecx, esi
lea esi, [ecx + edx + 0x33]
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x24]
mov dword [ebx + 8], edx
mov edx, dword [esp + 0x6c]
add esi, edx
mov dword [ebx + 4], edi
inc edi
mov dword [ebx], ecx
mov dword [ebx - 4], esi
inc eax
add ebx, 0x1c
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], eax
cmp edi, dword [esp + 0x10]
jbe 0x4118a1
mov eax, dword [esp + 0x40]
inc eax
mov dword [esp + 0x40], eax
cmp eax, dword [esp + 0x1c]
jb 0x411860
lea ebx, [edi - 1]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x4c], 1
cmp ebx, 1
jb 0x412b99
jmp 0x411a10
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x8c]
lea edx, [eax*8]
sub edx, eax
lea edi, [eax + ecx]
mov eax, dword [esp + 0x78]
cmp dword [eax + edx*4 - 0x14], 0
lea ebp, [eax + edx*4]
mov dword [esp + 0x74], ebp
jne 0x411a43
mov eax, dword [ebp - 0x10]
inc eax
mov dword [esp + 0x14], eax
jmp 0x411a4b
mov dword [esp + 0x14], 1
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x80]
push 2
lea ebx, [ecx + edx - 1]
push 1
mov ecx, esi
call fcn.0040d780
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
add esp, 8
dec eax
mov edx, 2
call fcn.0040d830
mov ebx, dword [ebp - 0x1c]
add ebx, dword [esp + 0x28]
mov edx, 2
sub ebx, eax
mov eax, dword [esp + 0x14]
call fcn.0040d830
add eax, ebx
cmp eax, dword [ebp]
jg 0x411aab
xor ecx, ecx
mov dword [ebp + 8], ecx
mov dword [ebp + 4], ecx
mov ecx, dword [esp + 0x14]
mov dword [ebp + 0xc], ecx
mov dword [ebp], eax
mov esi, dword [ebp + 8]
test esi, esi
je 0x411af7
mov eax, dword [esp + 0x4c]
xor edx, edx
sub eax, esi
cmp dword [ebp + 0xc], edx
lea ecx, [eax*8]
sete dl
sub ecx, eax
lea eax, [esp + 0x108]
push edx
mov edx, dword [esp + 0x7c]
lea ecx, [edx + ecx*4 + 0x10]
mov edx, dword [ebp + 4]
call fcn.0040cfb0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ebp + 0x10], ecx
mov dword [ebp + 0x14], edx
add esp, 4
mov dword [ebp + 0x18], eax
jmp 0x411b09
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0x18], edx
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff8
cmp edi, eax
ja 0x412b7b
mov ebx, dword [esp + 0x68]
cmp dword [esp + 0x4c], ebx
je 0x412b92
xor eax, eax
test esi, esi
setne al
mov dword [esp + 0x34], eax
test esi, esi
jne 0x411b3e
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x20], ecx
jmp 0x411b46
mov dword [esp + 0x20], 0
mov edx, dword [esp + 0x74]
mov ebx, dword [edx]
mov esi, dword [esp + 0x80]
mov edx, 2
xor eax, eax
call fcn.0040d830
mov ebp, dword [esp + 0x124]
mov esi, dword [ebp + 0x18]
add eax, ebx
mov dword [esp + 0xa4], eax
mov eax, dword [ebp + 0x88]
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 4]
lea ecx, [esi + eax]
mov dword [esp + 0x14], eax
cmp edi, ecx
jae 0x411b91
xor ecx, ecx
jmp 0x4128f3
mov ebx, edi
sub ebx, eax
cmp esi, ebx
jae 0x411bc3
lea esp, [esp]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
push 0
lea ecx, [esi + eax]
push edx
push ecx
mov ecx, dword [esp + 0x70]
mov eax, ebp
call fcn.0040da70
add esi, eax
add esp, 0xc
cmp esi, ebx
jb 0x411ba0
mov eax, dword [esp + 0x64]
add eax, 0xfffffffd
mov dword [ebp + 0x18], ebx
cmp eax, 4
ja case.0x411bd6.4
jmp dword [eax*4 + 0x412f4c]
mov eax, dword [ebp + 0x8c]
mov dword [esp + 0x3c], eax
cmp eax, 0xfff
jb 0x411bf6
mov dword [esp + 0x3c], 0xfff
mov ecx, dword [ebp + 4]
mov edx, dword [ebp + 0x80]
mov esi, dword [ebp + 0x20]
mov dword [esp + 0x10], ecx
mov eax, edi
sub eax, ecx
mov ecx, 0x20
sub ecx, edx
mov edx, dword [edi]
imul edx, edx, 0x9e3779b1
mov ebx, dword [ebp + 0x28]
shr edx, cl
mov ecx, dword [ebp + 0x7c]
dec ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x88], edx
mov edx, dword [esi + edx*4]
mov dword [esp + 0x18], edx
mov edx, 1
shl edx, cl
xor ecx, ecx
mov dword [esp + 0x90], esi
mov dword [esp + 0x58], ebx
dec edx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x54], ecx
cmp edx, eax
jae 0x411c5d
mov ecx, eax
sub ecx, edx
mov dword [esp + 0x40], ecx
mov ecx, dword [ebp + 0x78]
mov esi, 1
shl esi, cl
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x38], ecx
mov ecx, eax
sub ecx, dword [esp + 0x38]
cmp ecx, esi
jbe 0x411c82
mov ecx, eax
sub ecx, esi
jmp 0x411c86
mov ecx, dword [esp + 0x38]
cmp dword [ebp + 0x14], 0
je 0x411c90
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x38], ecx
test ecx, ecx
jne 0x411ca4
mov dword [esp + 0x38], 1
and edx, eax
lea ecx, [ebx + edx*8]
mov dword [esp + 0x30], ecx
add ecx, 4
mov dword [esp + 0x48], ecx
mov ecx, dword [ebp + 0x84]
lea edx, [eax + 9]
mov dword [esp + 0x24], edx
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x84]
dec ecx
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x50], edx
lea edx, [ecx + 3]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x6c], edx
mov dword [esp + 0x5c], ecx
cmp ecx, edx
jae 0x411db2
sub eax, dword [ebp + 0xc]
mov dword [esp + 0x28], eax
jmp 0x411d04
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x74]
cmp ecx, 3
jne 0x411d13
mov esi, dword [edx + 0x10]
dec esi
jmp 0x411d17
mov esi, dword [edx + ecx*4 + 0x10]
mov edx, dword [esp + 0x14]
lea ebx, [esi - 1]
sub edx, esi
cmp ebx, eax
jae 0x411da3
neg esi
mov ecx, dword [esi + edi]
push 3
mov eax, edi
shl ecx, 8
call fcn.0040d9f0
xor ebx, ebx
add esp, 4
cmp eax, ecx
sete bl
cmp edx, dword [esp + 0x64]
sbb eax, eax
inc eax
test eax, ebx
je 0x411d9f
mov ebx, dword [esp + 0x2c]
lea edx, [esi + edi + 3]
lea ecx, [edi + 3]
call fcn.00438be0
add eax, 3
cmp eax, dword [esp + 0x44]
jbe 0x411d9f
mov esi, dword [esp + 0x5c]
sub esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x70]
mov dword [edx + ecx*8 + 4], eax
mov dword [edx + ecx*8], esi
inc ecx
lea edx, [eax + edi]
xor ebx, ebx
cmp edx, dword [esp + 0x2c]
mov dword [esp + 0x44], eax
sete bl
cmp dword [esp + 0x3c], eax
mov dword [esp + 0x1c], ecx
sbb eax, eax
neg eax
or ebx, eax
jne 0x4128f3
mov ecx, dword [esp + 0x5c]
inc ecx
mov dword [esp + 0x5c], ecx
cmp ecx, dword [esp + 0x6c]
jb 0x411d00
cmp dword [esp + 0x44], 3
jae 0x411e46
lea ecx, [esp + 0xac]
push ecx
mov ecx, edi
mov eax, ebp
call fcn.0040da00
mov esi, dword [esp + 0x18]
add esp, 4
sub esi, eax
cmp eax, dword [esp + 0x38]
sbb edx, edx
inc edx
cmp esi, 0x40000
sbb ecx, ecx
neg ecx
test ecx, edx
je 0x411e46
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x2c]
add edx, eax
mov ecx, edi
call fcn.00438be0
cmp eax, 3
jb 0x411e46
mov ecx, dword [esp + 0x70]
mov dword [ecx + 4], eax
add esi, 2
mov dword [ecx], esi
mov ecx, 1
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], ecx
xor ecx, ecx
lea edx, [eax + edi]
cmp edx, ebx
sete cl
cmp dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
sbb eax, eax
neg eax
or ecx, eax
mov ecx, dword [esp + 0x28]
je 0x411e46
mov edx, dword [esp + 0x14]
inc edx
mov dword [ebp + 0x18], edx
jmp 0x4128f3
cmp dword [esp + 0x50], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x88]
mov dword [ecx + edx*4], eax
je 0x411f87
jmp 0x411e70
mov eax, dword [esp + 0x18]
dec dword [esp + 0x50]
cmp eax, dword [esp + 0x38]
jb 0x411f87
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0x60]
and ecx, eax
lea eax, [edx + ecx*8]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x64], eax
cmp dword [esp + 0x60], ecx
jb 0x411ea3
mov esi, ecx
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x2c]
add eax, edx
lea edx, [eax + esi]
lea ecx, [esi + edi]
mov dword [esp + 0x88], eax
call fcn.00438be0
add esi, eax
cmp esi, dword [esp + 0x44]
jbe 0x411f1a
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
sub ecx, eax
cmp esi, ecx
jbe 0x411ee0
lea edx, [esi + eax]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x70]
sub edx, eax
mov eax, dword [esp + 0x1c]
add edx, 2
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], esi
inc eax
mov dword [esp + 0x1c], eax
xor ecx, ecx
lea eax, [esi + edi]
cmp eax, ebx
sete cl
mov edx, 0x1000
cmp edx, esi
sbb eax, eax
neg eax
mov dword [esp + 0x44], esi
or ecx, eax
jne 0x411f87
mov ecx, dword [esp + 0x88]
mov dl, byte [ecx + esi]
mov eax, dword [esp + 0x18]
cmp dl, byte [esi + edi]
jae 0x411f4a
mov ecx, dword [esp + 0x30]
mov dword [ecx], eax
mov dword [esp + 0x60], esi
cmp eax, dword [esp + 0x40]
jbe 0x411f75
mov eax, dword [esp + 0x64]
add eax, 4
mov dword [esp + 0x30], eax
jmp 0x411f62
mov ecx, dword [esp + 0x48]
mov dword [ecx], eax
mov dword [esp + 0x54], esi
cmp eax, dword [esp + 0x40]
jbe 0x411f7f
mov eax, dword [esp + 0x64]
mov dword [esp + 0x48], eax
cmp dword [esp + 0x50], 0
mov edx, dword [eax]
mov dword [esp + 0x18], edx
jne 0x411e70
jmp 0x411f87
lea eax, [esp + 0x58]
mov dword [esp + 0x30], eax
jmp 0x411f87
lea ecx, [esp + 0x58]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
mov dword [edx], 0
add ecx, 0xfffffff8
mov dword [eax], 0
mov dword [ebp + 0x18], ecx
mov ecx, dword [esp + 0x1c]
jmp 0x4128f3
mov eax, dword [ebp + 0x8c]
mov dword [esp + 0x64], eax
cmp eax, 0xfff
jb 0x411fc7
mov dword [esp + 0x64], 0xfff
mov eax, dword [ebp + 4]
mov ebx, dword [ebp + 0x20]
mov dword [esp + 0x44], eax
mov esi, edi
sub esi, eax
mov eax, dword [ebp + 0x80]
push eax
mov eax, edi
mov dword [esp + 0x44], esi
mov dword [esp + 0x8c], ebx
call fcn.00429a50
mov edx, dword [ebx + eax*4]
mov ecx, dword [ebp + 0x7c]
mov ebx, dword [ebp + 0x28]
mov dword [esp + 0x94], eax
dec ecx
mov eax, 1
shl eax, cl
xor ecx, ecx
add esp, 4
mov dword [esp + 0x18], edx
dec eax
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
cmp eax, esi
jae 0x412028
mov ecx, esi
sub ecx, eax
mov dword [esp + 0x54], ecx
mov ecx, dword [ebp + 0x78]
mov edx, 1
shl edx, cl
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x24], ecx
mov ecx, esi
sub ecx, dword [esp + 0x24]
cmp ecx, edx
jbe 0x41204d
mov ecx, esi
sub ecx, edx
jmp 0x412051
mov ecx, dword [esp + 0x24]
cmp dword [ebp + 0x14], 0
je 0x41205b
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x60], ecx
test ecx, ecx
jne 0x41206f
mov dword [esp + 0x60], 1
mov ecx, dword [ebp + 0x84]
and eax, esi
lea eax, [ebx + eax*8]
mov dword [esp + 0x1c], eax
add eax, 4
mov dword [esp + 0x5c], eax
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x84]
dec ecx
lea edx, [esi + 9]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x24], edx
lea edx, [ecx + 3]
mov dword [esp + 0x14], 0
mov dword [esp + 0x50], eax
mov dword [esp + 0x7c], edx
mov dword [esp + 0x30], ecx
cmp ecx, edx
jae 0x412185
mov eax, esi
sub eax, dword [ebp + 0xc]
mov dword [esp + 0x58], eax
jmp 0x4120d0
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x74]
cmp ecx, 3
jne 0x4120e3
mov ecx, dword [eax + 0x10]
dec ecx
jmp 0x4120e7
mov ecx, dword [eax + ecx*4 + 0x10]
lea edx, [ecx - 1]
sub esi, ecx
cmp edx, dword [esp + 0x58]
jae 0x41216a
neg ecx
mov edx, dword [ecx + edi]
push 4
mov eax, edi
call fcn.0040d9f0
xor ebx, ebx
add esp, 4
cmp eax, edx
sete bl
cmp esi, dword [esp + 0x10]
sbb eax, eax
inc eax
test eax, ebx
je 0x41216a
mov esi, dword [esp + 0x2c]
lea edx, [ecx + edi + 4]
lea ecx, [edi + 4]
mov ebx, esi
call fcn.00438be0
add eax, 4
cmp eax, dword [esp + 0x48]
jbe 0x41216a
mov ebx, dword [esp + 0x30]
sub ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x70]
mov dword [edx + ecx*8], ebx
mov dword [edx + ecx*8 + 4], eax
inc ecx
lea edx, [eax + edi]
xor ebx, ebx
cmp edx, esi
sete bl
cmp dword [esp + 0x64], eax
mov dword [esp + 0x48], eax
sbb eax, eax
neg eax
mov dword [esp + 0x14], ecx
or ebx, eax
jne 0x4128f3
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x40]
inc eax
mov dword [esp + 0x30], eax
cmp eax, dword [esp + 0x7c]
jb 0x4120d0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x90]
mov dword [ecx + edx*4], esi
test eax, eax
je 0x4122be
mov edi, edi
mov eax, dword [esp + 0x18]
dec dword [esp + 0x50]
cmp eax, dword [esp + 0x60]
jb 0x4122be
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x38]
and ecx, eax
lea eax, [edx + ecx*8]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
cmp esi, eax
jb 0x4121d1
mov esi, eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x2c]
lea eax, [ecx + edx]
lea edx, [eax + esi]
lea ecx, [esi + edi]
mov dword [esp + 0x58], eax
call fcn.00438be0
add esi, eax
cmp esi, dword [esp + 0x48]
jbe 0x412246
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
sub ecx, eax
cmp esi, ecx
jbe 0x41220c
lea edx, [esi + eax]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x70]
sub edx, eax
mov eax, dword [esp + 0x14]
add edx, 2
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], esi
inc eax
mov dword [esp + 0x14], eax
xor ecx, ecx
lea eax, [esi + edi]
cmp eax, ebx
sete cl
mov edx, 0x1000
cmp edx, esi
sbb eax, eax
neg eax
mov dword [esp + 0x48], esi
or ecx, eax
jne 0x4122be
mov ecx, dword [esp + 0x58]
mov dl, byte [ecx + esi]
mov eax, dword [esp + 0x18]
cmp dl, byte [esi + edi]
jae 0x412273
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
mov dword [esp + 0x38], esi
cmp eax, dword [esp + 0x54]
jbe 0x4122a5
mov eax, dword [esp + 0x10]
add eax, 4
mov dword [esp + 0x1c], eax
jmp 0x41228b
mov ecx, dword [esp + 0x5c]
mov dword [ecx], eax
mov dword [esp + 0x3c], esi
cmp eax, dword [esp + 0x54]
jbe 0x4122b6
mov eax, dword [esp + 0x10]
mov dword [esp + 0x5c], eax
cmp dword [esp + 0x50], 0
mov edx, dword [eax]
mov dword [esp + 0x18], edx
jne 0x4121a0
mov ecx, dword [esp + 0x24]
jmp 0x4128d5
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x58]
mov dword [esp + 0x1c], eax
jmp 0x4128d5
lea ecx, [esp + 0x58]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x24]
jmp 0x4128d5
mov eax, dword [ebp + 0x8c]
mov dword [esp + 0x64], eax
cmp eax, 0xfff
jb 0x4122e0
mov dword [esp + 0x64], 0xfff
mov eax, dword [ebp + 4]
mov ebx, dword [ebp + 0x20]
mov dword [esp + 0x44], eax
mov esi, edi
sub esi, eax
mov eax, dword [ebp + 0x80]
push eax
mov eax, edi
mov dword [esp + 0x44], esi
mov dword [esp + 0x8c], ebx
call fcn.00439da0
mov edx, dword [ebx + eax*4]
mov ecx, dword [ebp + 0x7c]
mov ebx, dword [ebp + 0x28]
mov dword [esp + 0x94], eax
dec ecx
mov eax, 1
shl eax, cl
xor ecx, ecx
add esp, 4
mov dword [esp + 0x18], edx
dec eax
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
cmp eax, esi
jae 0x412341
mov ecx, esi
sub ecx, eax
mov dword [esp + 0x54], ecx
mov ecx, dword [ebp + 0x78]
mov edx, 1
shl edx, cl
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x24], ecx
mov ecx, esi
sub ecx, dword [esp + 0x24]
cmp ecx, edx
jbe 0x412366
mov ecx, esi
sub ecx, edx
jmp 0x41236a
mov ecx, dword [esp + 0x24]
cmp dword [ebp + 0x14], 0
je 0x412374
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x60], ecx
test ecx, ecx
jne 0x412388
mov dword [esp + 0x60], 1
mov ecx, dword [ebp + 0x84]
and eax, esi
lea eax, [ebx + eax*8]
mov dword [esp + 0x1c], eax
add eax, 4
mov dword [esp + 0x5c], eax
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x84]
dec ecx
lea edx, [esi + 9]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x24], edx
lea edx, [ecx + 3]
mov dword [esp + 0x14], 0
mov dword [esp + 0x50], eax
mov dword [esp + 0x7c], edx
mov dword [esp + 0x30], ecx
cmp ecx, edx
jae 0x412499
mov eax, esi
sub eax, dword [ebp + 0xc]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x74]
cmp ecx, 3
jne 0x4123f7
mov ecx, dword [eax + 0x10]
dec ecx
jmp 0x4123fb
mov ecx, dword [eax + ecx*4 + 0x10]
lea edx, [ecx - 1]
sub esi, ecx
cmp edx, dword [esp + 0x58]
jae 0x41247e
neg ecx
mov edx, dword [ecx + edi]
push 4
mov eax, edi
call fcn.0040d9f0
xor ebx, ebx
add esp, 4
cmp eax, edx
sete bl
cmp esi, dword [esp + 0x10]
sbb eax, eax
inc eax
test eax, ebx
je 0x41247e
mov esi, dword [esp + 0x2c]
lea edx, [ecx + edi + 4]
lea ecx, [edi + 4]
mov ebx, esi
call fcn.00438be0
add eax, 4
cmp eax, dword [esp + 0x48]
jbe 0x41247e
mov ebx, dword [esp + 0x30]
sub ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x70]
mov dword [edx + ecx*8], ebx
mov dword [edx + ecx*8 + 4], eax
inc ecx
lea edx, [edi + eax]
xor ebx, ebx
cmp edx, esi
sete bl
cmp dword [esp + 0x64], eax
mov dword [esp + 0x48], eax
sbb eax, eax
neg eax
mov dword [esp + 0x14], ecx
or ebx, eax
jne 0x4128f3
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x40]
inc eax
mov dword [esp + 0x30], eax
cmp eax, dword [esp + 0x7c]
jb 0x4123e4
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x90]
mov dword [ecx + edx*4], esi
test eax, eax
je 0x4122be
mov eax, dword [esp + 0x18]
dec dword [esp + 0x50]
cmp eax, dword [esp + 0x60]
jb 0x4122be
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x38]
and ecx, eax
lea eax, [edx + ecx*8]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
cmp esi, eax
jb 0x4124e3
mov esi, eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x2c]
lea eax, [ecx + edx]
lea edx, [eax + esi]
lea ecx, [edi + esi]
mov dword [esp + 0x58], eax
call fcn.00438be0
add esi, eax
cmp esi, dword [esp + 0x48]
jbe 0x41255c
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
sub ecx, eax
cmp esi, ecx
jbe 0x41251e
lea edx, [eax + esi]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x70]
sub edx, eax
mov eax, dword [esp + 0x14]
add edx, 2
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], esi
inc eax
mov dword [esp + 0x14], eax
xor ecx, ecx
lea eax, [edi + esi]
cmp eax, ebx
sete cl
mov edx, 0x1000
cmp edx, esi
sbb eax, eax
neg eax
mov dword [esp + 0x48], esi
or ecx, eax
jne 0x4122be
mov ecx, dword [esp + 0x58]
mov dl, byte [ecx + esi]
mov eax, dword [esp + 0x18]
cmp dl, byte [edi + esi]
jae 0x41258d
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
mov dword [esp + 0x38], esi
cmp eax, dword [esp + 0x54]
jbe 0x4122a5
mov eax, dword [esp + 0x10]
add eax, 4
mov dword [esp + 0x1c], eax
jmp 0x4125a9
mov ecx, dword [esp + 0x5c]
mov dword [ecx], eax
mov dword [esp + 0x3c], esi
cmp eax, dword [esp + 0x54]
jbe 0x4122b6
mov eax, dword [esp + 0x10]
mov dword [esp + 0x5c], eax
cmp dword [esp + 0x50], 0
mov edx, dword [eax]
mov dword [esp + 0x18], edx
jne 0x4124b2
mov ecx, dword [esp + 0x24]
jmp 0x4128d5
mov eax, dword [ebp + 0x8c]
mov dword [esp + 0x64], eax
cmp eax, 0xfff
jb 0x4125dc
mov dword [esp + 0x64], 0xfff
mov esi, dword [edi]
mov ecx, dword [ebp + 4]
imul esi, esi, 0x9e3779b1
mov edx, dword [ebp + 0x80]
mov ebx, dword [ebp + 0x20]
mov dword [esp + 0x6c], ecx
mov eax, edi
sub eax, ecx
mov ecx, 0x20
sub ecx, edx
shr esi, cl
mov ecx, dword [ebp + 0x28]
mov dword [esp + 0x38], ecx
mov ecx, dword [ebp + 0x7c]
mov edx, dword [ebx + esi*4]
mov dword [esp + 0x18], edx
dec ecx
mov edx, 1
shl edx, cl
xor ecx, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x90], ebx
dec edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], ecx
cmp edx, eax
jae 0x41263c
mov ecx, eax
sub ecx, edx
mov dword [esp + 0x40], ecx
mov ecx, dword [ebp + 0x78]
mov ebx, 1
shl ebx, cl
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x58], ebx
mov ebx, eax
sub ebx, ecx
mov ecx, ebx
mov ebx, dword [esp + 0x58]
cmp ecx, ebx
jbe 0x412665
mov ecx, eax
sub ecx, ebx
jmp 0x412668
mov ecx, dword [ebp + 0x10]
cmp dword [ebp + 0x14], 0
je 0x412671
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x60], ecx
test ecx, ecx
jne 0x412685
mov dword [esp + 0x60], 1
mov ecx, dword [esp + 0x38]
and edx, eax
lea ecx, [ecx + edx*8]
mov dword [esp + 0x1c], ecx
add ecx, 4
mov dword [esp + 0x5c], ecx
mov ecx, dword [ebp + 0x84]
lea edx, [eax + 9]
mov dword [esp + 0x54], edx
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x84]
dec ecx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x34]
lea ebx, [ecx + 3]
mov dword [esp + 0x14], 0
mov dword [esp + 0x50], edx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x30], ecx
cmp ecx, ebx
jae 0x4127b0
mov ecx, eax
sub ecx, dword [ebp + 0xc]
mov dword [esp + 0x58], ecx
jmp 0x4126f0
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x74]
cmp edx, 3
jne 0x412703
mov ecx, dword [ecx + 0x10]
dec ecx
jmp 0x412707
mov ecx, dword [ecx + edx*4 + 0x10]
sub eax, ecx
lea edx, [ecx - 1]
mov dword [esp + 0x7c], eax
cmp edx, dword [esp + 0x58]
jae 0x412792
neg ecx
mov edx, dword [ecx + edi]
push 4
mov eax, edi
call fcn.0040d9f0
xor ebx, ebx
add esp, 4
cmp eax, edx
mov eax, dword [esp + 0x10]
sete bl
cmp dword [esp + 0x7c], eax
sbb edx, edx
inc edx
test edx, ebx
je 0x412792
mov ebx, dword [esp + 0x2c]
lea edx, [ecx + edi + 4]
lea ecx, [edi + 4]
call fcn.00438be0
add eax, 4
cmp eax, dword [esp + 0x48]
jbe 0x412792
mov ebx, dword [esp + 0x30]
sub ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x70]
mov dword [edx + ecx*8], ebx
mov dword [edx + ecx*8 + 4], eax
inc ecx
lea edx, [eax + edi]
xor ebx, ebx
cmp edx, dword [esp + 0x2c]
mov dword [esp + 0x48], eax
sete bl
cmp dword [esp + 0x64], eax
mov dword [esp + 0x14], ecx
sbb eax, eax
neg eax
or ebx, eax
jne 0x4128f3
mov eax, dword [esp + 0x30]
inc eax
cmp eax, dword [esp + 0x88]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x24]
jb 0x4126f0
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x90]
mov dword [ecx + esi*4], eax
test edx, edx
je 0x4128d1
mov eax, dword [esp + 0x18]
dec dword [esp + 0x50]
cmp eax, dword [esp + 0x60]
jb 0x4128d1
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x3c]
and edx, eax
mov eax, dword [esp + 0x38]
lea ecx, [eax + edx*8]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], ecx
cmp esi, eax
jb 0x4127f3
mov esi, eax
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0x2c]
add eax, edx
lea edx, [eax + esi]
lea ecx, [esi + edi]
mov dword [esp + 0x58], eax
call fcn.00438be0
add esi, eax
cmp esi, dword [esp + 0x48]
jbe 0x412867
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x18]
sub ecx, eax
cmp esi, ecx
jbe 0x41282d
lea edx, [esi + eax]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x70]
sub edx, eax
mov eax, dword [esp + 0x14]
add edx, 2
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], esi
inc eax
mov dword [esp + 0x14], eax
xor ecx, ecx
lea eax, [esi + edi]
cmp eax, ebx
sete cl
mov edx, 0x1000
cmp edx, esi
sbb eax, eax
neg eax
mov dword [esp + 0x48], esi
or ecx, eax
jne 0x4128d1
mov ecx, dword [esp + 0x58]
mov dl, byte [ecx + esi]
mov eax, dword [esp + 0x18]
cmp dl, byte [esi + edi]
jae 0x412894
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
mov dword [esp + 0x3c], esi
cmp eax, dword [esp + 0x40]
jbe 0x4128bf
mov eax, dword [esp + 0x10]
add eax, 4
mov dword [esp + 0x1c], eax
jmp 0x4128ac
mov ecx, dword [esp + 0x5c]
mov dword [ecx], eax
mov dword [esp + 0x44], esi
cmp eax, dword [esp + 0x40]
jbe 0x4128c9
mov eax, dword [esp + 0x10]
mov dword [esp + 0x5c], eax
cmp dword [esp + 0x50], 0
mov edx, dword [eax]
mov dword [esp + 0x18], edx
jne 0x4127c2
jmp 0x4128d1
lea eax, [esp + 0x58]
mov dword [esp + 0x1c], eax
jmp 0x4128d1
lea ecx, [esp + 0x58]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x1c]
mov dword [edx], 0
add ecx, 0xfffffff8
mov dword [eax], 0
mov dword [ebp + 0x18], ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x70]
sub edx, edi
mov dword [esp + 0x54], ecx
push edx
mov eax, edi
sub eax, dword [esp + 0x134]
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0xb8]
call fcn.0040ded0
mov edi, dword [esp + 0x5c]
add esp, 8
test edi, edi
je 0x412b7b
mov ecx, ebx
mov eax, dword [ecx + edi*8 - 4]
mov ebx, dword [esp + 0x4c]
cmp eax, dword [esp + 0xa8]
ja 0x412bd9
lea edx, [eax + ebx]
cmp edx, 0x1000
jae 0x412bd9
xor edx, edx
mov dword [esp + 0x38], edx
test edi, edi
jbe 0x412b7b
add ecx, 0xfffffffc
mov dword [esp + 0x3c], ecx
mov eax, dword [ecx + 4]
mov dword [esp + 0x64], eax
mov eax, dword [ecx + 8]
test edx, edx
jbe 0x412979
mov esi, dword [ecx]
inc esi
jmp 0x412980
mov esi, dword [esp + 0x84]
mov dword [esp + 0x60], esi
mov dword [esp + 0x24], eax
cmp eax, esi
jb 0x412b67
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x80]
lea edi, [eax + ecx]
lea edx, [eax + 0x6c0b7d]
lea ebp, [edi*8]
sub ebp, edi
mov dword [esp + 0x40], edx
add ebp, ebp
mov edx, 0xfffffffe
sub edx, ecx
mov eax, 0xfffffffd
add ebp, ebp
sub eax, ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x7c], eax
jmp 0x4129d4
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x64]
inc eax
xor esi, esi
bsr eax, eax
setne cl
mov dword [esp + 0x10], esi
mov dword [esp + 0x10], eax
movzx eax, cl
neg eax
sbb eax, eax
and eax, dword [esp + 0x10]
cmp dword [ebx + 0x38], 1
mov dword [esp + 0x10], esi
jne 0x412a28
add edx, edi
bsr ecx, edx
mov dword [esp + 0x10], ecx
setne cl
movzx ecx, cl
neg ecx
sbb ecx, ecx
and ecx, dword [esp + 0x10]
shl edx, 8
shr edx, cl
lea eax, [ecx + eax + 0x10]
shl eax, 8
add edx, eax
jmp 0x412ac7
mov ecx, dword [ebx + 0xc]
mov edx, dword [ecx + eax*4]
inc edx
bsr ecx, edx
mov dword [esp + 0x10], ecx
setne cl
movzx ecx, cl
neg ecx
sbb ecx, ecx
and ecx, dword [esp + 0x10]
shl edx, 8
sub eax, ecx
shr edx, cl
shl eax, 8
sub eax, edx
mov edx, dword [esp + 0x7c]
add eax, dword [ebx + 0x34]
lea ecx, [edx + edi]
cmp ecx, 0x7f
jbe 0x412a7f
bsr ecx, ecx
setne dl
movzx esi, dl
neg esi
sbb esi, esi
and esi, ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x10], ecx
add esi, 0x24
jmp 0x412a86
mov ecx, dword [esp + 0x40]
movzx esi, byte [ecx]
mov edx, dword [ebx + 8]
mov edx, dword [edx + esi*4]
inc edx
bsr ecx, edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x10], ecx
setne cl
movzx ecx, cl
neg ecx
sbb ecx, ecx
and ecx, dword [esp + 0x10]
shl edx, 8
shr edx, cl
shl ecx, 8
add edx, ecx
mov ecx, dword [esi*4 + 0x6c09a8]
shl ecx, 8
add ecx, dword [ebx + 0x30]
sub ecx, edx
lea edx, [ecx + eax + 0x33]
mov eax, dword [esp + 0xa4]
mov esi, dword [esp + 0x68]
add eax, edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x88], eax
cmp edi, esi
ja 0x412aec
cmp eax, dword [edx + ebp]
jge 0x412b40
cmp esi, edi
jae 0x412b25
lea eax, [esi + 1]
lea ecx, [eax*8]
sub ecx, eax
mov eax, edi
sub eax, esi
add esi, eax
lea ecx, [edx + ecx*4]
mov dword [esp + 0x68], esi
jmp 0x412b10
mov dword [ecx], 0x40000000
add ecx, 0x1c
sub eax, 1
jne 0x412b10
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x24]
mov dword [edx + ebp + 8], ecx
mov ecx, dword [esp + 0x64]
mov dword [edx + ebp + 4], ecx
mov ecx, dword [esp + 0x20]
mov dword [edx + ebp + 0xc], ecx
mov dword [edx + ebp], eax
mov eax, dword [esp + 0x24]
dec dword [esp + 0x40]
dec eax
sub ebp, 0x1c
dec edi
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x60]
jae 0x4129d0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x54]
inc edx
add ecx, 8
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ecx
cmp edx, edi
jb 0x412966
mov eax, dword [esp + 0x4c]
inc eax
mov dword [esp + 0x4c], eax
cmp eax, dword [esp + 0x68]
jbe 0x411a10
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x8c]
mov ecx, dword [esp + 0x78]
lea eax, [ebx*8]
sub eax, ebx
lea esi, [ecx + eax*4]
mov ecx, 7
lea edi, [esp + 0xd0]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xdc]
lea edx, [eax + ecx]
cmp ebx, edx
jbe 0x4117bf
sub ebx, eax
sub ebx, ecx
jmp 0x4117c1
mov edx, dword [ecx + edi*8 - 8]
mov esi, dword [esp + 0x78]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xd4], edx
lea edx, [ebx*8]
sub edx, ebx
cmp dword [esi + edx*4 + 8], 0
lea edx, [esi + edx*4]
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], ecx
jne 0x412c12
mov edx, dword [edx + 0xc]
jmp 0x412c14
xor edx, edx
mov ebp, dword [esp + 0x8c]
sub ebx, edx
cmp ebx, 0x1000
jbe 0x4117c1
jmp 0x4117bf
lea ecx, [ebx*8]
sub ecx, ebx
lea eax, [edx + ecx*4 + 0x10]
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
mov esi, dword [esp + 0x78]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
lea edx, [ebx + 1]
lea ecx, [edx*8]
sub ecx, edx
lea edi, [esi + ecx*4]
mov dword [esp + 0xa0], eax
mov eax, edx
mov ecx, 7
lea esi, [esp + 0xd0]
mov dword [esp + 0xa4], edi
mov dword [esp + 0x58], edx
mov dword [esp + 0x30], eax
rep movsd dword es:[edi], dword [esi]
test ebx, ebx
jbe 0x412cf8
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x10], edx
lea esp, [esp]
mov ecx, dword [esp + 0x78]
dec dword [esp + 0x30]
lea eax, [ebx*8]
sub eax, ebx
lea eax, [ecx + eax*4]
mov ecx, 7
mov esi, eax
lea edi, [esp + 0xec]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0xf4]
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0xf8]
add edx, ecx
sub edi, 0x1c
mov ecx, 7
mov esi, eax
mov dword [esp + 0x10], edi
rep movsd dword es:[edi], dword [esi]
cmp ebx, edx
jbe 0x412cf0
sub ebx, edx
jne 0x412ca0
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x30]
cmp eax, edx
ja 0x412ec6
sub edx, dword [esp + 0x30]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esp + 0x78]
lea eax, [eax + ecx*4 + 8]
inc edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x64], edx
mov edi, edi
mov ebx, dword [eax]
mov esi, dword [eax + 4]
mov ecx, dword [eax - 4]
lea edx, [ebx + esi]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x7c], edx
test ebx, ebx
jne 0x412d49
mov ecx, dword [esp + 0x94]
lea ebp, [esi + ecx]
jmp 0x412ead
mov edi, dword [esp + 0x94]
mov eax, dword [esp + 0x80]
push ebx
push ecx
call fcn.0040d910
add ebx, 0xfffffffd
mov dword [esp + 0x60], ebx
mov ebx, dword [esp + 0x34]
add ebx, 0xffffffe0
lea eax, [esi + edi]
add esp, 8
cmp eax, ebx
ja 0x412e13
mov ecx, dword [edi]
mov edx, dword [esp + 0x128]
mov eax, dword [edx + 0xc]
mov dword [eax], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edi + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0xc]
mov dword [eax + 0xc], ecx
cmp esi, 0x10
jbe 0x412e34
mov eax, dword [edx + 0xc]
mov ebp, dword [edi + 0x10]
lea ecx, [edi + 0x10]
add eax, 0x10
mov dword [eax], ebp
mov ebp, dword [ecx + 4]
mov dword [eax + 4], ebp
mov ebp, dword [ecx + 8]
lea ebx, [esi - 0x10]
cmp ebx, 0x10
mov dword [eax + 8], ebp
mov ebp, dword [ecx + 0xc]
lea edi, [eax + ebx]
mov dword [eax + 0xc], ebp
jle 0x412e34
add eax, 0x10
add ecx, 0x10
mov ebx, dword [ecx]
mov dword [eax], ebx
mov ebx, dword [ecx + 4]
mov dword [eax + 4], ebx
mov ebx, dword [ecx + 8]
mov dword [eax + 8], ebx
mov ebx, dword [ecx + 0xc]
mov dword [eax + 0xc], ebx
mov ebx, dword [ecx + 0x10]
add ecx, 0x10
add eax, 0x10
mov dword [eax], ebx
mov ebx, dword [ecx + 4]
mov dword [eax + 4], ebx
mov ebx, dword [ecx + 8]
mov dword [eax + 8], ebx
mov ebx, dword [ecx + 0xc]
mov dword [eax + 0xc], ebx
add eax, 0x10
add ecx, 0x10
cmp eax, edi
jb 0x412dd4
jmp 0x412e34
mov edx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x12c]
mov eax, dword [eax + 0xc]
call fcn.00438b50
mov edx, dword [esp + 0x12c]
add esp, 4
add dword [edx + 0xc], esi
cmp esi, 0xffff
jbe 0x412e51
mov ecx, dword [edx + 4]
sub ecx, dword [edx]
mov dword [edx + 0x24], 1
sar ecx, 3
mov dword [edx + 0x28], ecx
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0xa4]
mov word [eax + 4], si
mov eax, dword [edx + 4]
inc ecx
mov dword [eax], ecx
mov ecx, dword [esp + 0x58]
cmp ecx, 0xffff
jbe 0x412e83
mov eax, dword [edx + 4]
sub eax, dword [edx]
mov dword [edx + 0x24], 2
sar eax, 3
mov dword [edx + 0x28], eax
mov eax, dword [esp + 0x128]
mov edx, dword [eax + 4]
mov word [edx + 6], cx
add dword [eax + 4], 8
mov eax, dword [esp + 0x94]
add eax, dword [esp + 0x7c]
mov dword [esp + 0x94], eax
mov ebp, eax
mov eax, dword [esp + 0x10]
add eax, 0x1c
sub dword [esp + 0x64], 1
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x10], eax
jne 0x412d20
mov eax, dword [esp + 0x80]
mov edi, 2
call fcn.0040d0d0
mov edi, dword [esp + 0x124]
mov ebx, dword [esp + 0x78]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff8
cmp ebp, eax
jb 0x410930
mov eax, dword [esp + 0x128]
mov ecx, dword [eax + 8]
mov edx, dword [eax]
mov esi, dword [esp + 0x80]
mov dword [eax + 0xc], ecx
mov dword [eax + 4], edx
mov dword [eax + 0x24], 0
mov eax, dword [esp + 0x134]
sub dword [edi + 4], eax
add dword [edi + 0xc], eax
mov eax, dword [edi + 0xc]
mov dword [edi + 0x10], eax
mov dword [edi + 0x18], eax
call fcn.00410780
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret