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

Disassembly:
sub esp, 0xa8
push ebp
mov ebp, dword [esp + 0xb8]
cmp byte [ebp], 0
jne 0x41b17e
xor eax, eax
pop ebp
add esp, 0xa8
ret
push ebx
push esi
mov esi, dword [esp + 0xb8]
test esi, esi
push edi
jne 0x41b198
mov esi, 0x4ae2e8
mov dword [esp + 0xbc], esi
call fcn.0042ea20
test eax, eax
je 0x41b1ce
call fcn.0042e120
mov edx, dword [0x51fd24]
test edx, edx
mov ebx, dword [esi + 0x28]
mov edi, eax
jne 0x41b1c3
push 1
push edi
push ebx
call fcn.004557d0
add esp, 0xc
jmp 0x41b20d
cmp dword [edx], ebx
jne 0x41b1f9
cmp dword [edx + 4], edi
je 0x41b215
jmp 0x41b1f9
mov edi, dword [esi + 0x28]
call fcn.0042e0f0
mov edx, dword [0x51fd24]
test edx, edx
mov ebx, eax
jne 0x41b1f0
push 1
push edi
push ebx
call fcn.004557d0
add esp, 0xc
jmp 0x41b20d
cmp dword [edx], ebx
jne 0x41b1f9
cmp dword [edx + 4], edi
je 0x41b215
push 1
push edx
call fcn.00455440
push 1
push edi
push ebx
call fcn.004557d0
add esp, 0x14
mov edx, eax
mov dword [0x51fd24], edx
mov ecx, dword [edx + 8]
imul ecx, dword [edx + 4]
mov edi, dword [edx + 0x28]
mov edx, ecx
shr ecx, 2
or eax, 0xffffffff
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0xcc]
lea eax, [esp + 0xac]
push eax
push ecx
push ebp
push esi
call fcn.0041ad50
add esp, 0x10
call fcn.0042ea20
test eax, eax
je 0x41b285
mov eax, dword [esi + 0x28]
mov edx, dword [esi + 0x48]
mov ebx, dword [esp + 0xc8]
sub edx, eax
mov dword [ebx], edx
mov eax, dword [esi + 0x4c]
mov dword [ebx + 4], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x44], eax
mov dword [esp + 0x5c], eax
mov dword [ebx + 8], eax
mov eax, dword [esp + 0xac]
jmp 0x41b2b0
mov ecx, dword [esi + 0x48]
mov ebx, dword [esp + 0xc8]
mov eax, dword [esp + 0xac]
mov dword [ebx], ecx
mov edx, dword [esi + 0x4c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x5c], eax
mov dword [ebx + 8], eax
mov eax, dword [esp + 0xb0]
mov dword [ebx + 4], edx
mov dword [ebx + 0xc], eax
mov esi, dword [esi + 0x28]
mov dword [esp + 0x48], eax
mov dword [esp + 0x60], eax
mov eax, 0x38e38e39
imul esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
mov ebp, 1
add edx, eax
cmp edx, ebp
mov dword [esp + 0x80], ebp
jl 0x41b2e5
mov dword [esp + 0x80], edx
mov eax, 0x38e38e39
imul esi
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp edx, ebp
jl 0x41b2fc
mov ebp, edx
mov dword [esp + 0x94], ebp
call fcn.0042ea20
test eax, eax
je 0x41b885
mov eax, dword [0x4ae354]
sub eax, 0
mov esi, dword [0x51fd24]
mov edi, dword [esp + 0xc4]
mov dword [esp + 0x84], esi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], 0
je 0x41b34e
dec eax
je 0x41b358
dec eax
jne 0x41b358
call fcn.00411be0
neg eax
sbb eax, eax
inc eax
test eax, eax
jne 0x41b358
mov dword [esp + 0x78], 1
jmp 0x41b360
mov dword [esp + 0x78], 4
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0xbc]
push edx
push eax
call fcn.0041aeb0
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x80]
add esp, 8
cmp eax, 1
jne 0x41b3a9
mov edi, dword [esp + 0xc4]
cmp byte [edi], 0
je 0x41b84e
push edi
call fcn.0046830b
mov al, byte [edi]
add esp, 4
test al, al
jne 0x41b395
jmp 0x41b84e
mov ecx, dword [0x520d58]
mov eax, dword [ecx + 8]
lea edx, [eax + eax*2]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0xc4]
cmp byte [eax], 0
mov dword [esp + 0xb4], edx
je 0x41b84e
mov dword [esp + 0x4c], 0x4cc264
mov dword [esp + 0x74], 0x4cb1f4
push edi
call fcn.0046830b
mov dword [esp + 0x80], eax
sub eax, edi
add esp, 4
cmp eax, 2
mov dword [esp + 0x6c], eax
jl 0x41b40b
xor ecx, ecx
mov cl, byte [edi + 1]
xor edx, edx
mov dl, byte [edi]
shl ecx, 8
add ecx, edx
jmp 0x41b40f
xor ecx, ecx
mov cl, byte [edi]
mov eax, dword [esp + 0x50]
test eax, eax
mov dword [esp + 0x38], ecx
je 0x41b4a4
mov eax, dword [ecx*4 + 0x4dfd14]
test eax, eax
je 0x41b4a4
xor eax, eax
mov al, byte [ecx + 0x4cfd14]
test eax, eax
je 0x41b4a4
mov edx, dword [esp + 0xbc]
mov edi, dword [edx + 0x28]
mov eax, dword [esp + 0x68]
mov edx, dword [esi + 4]
add eax, edi
cmp eax, edx
jg 0x41b4a4
mov eax, dword [esp + 0x4c]
mov edx, dword [eax]
cmp edx, dword [esi]
jg 0x41b4a4
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x68]
imul edx, eax
push eax
add edx, dword [esi + 0x28]
push edx
push ecx
call fcn.0041eaa0
mov eax, dword [esp + 0x58]
mov ecx, dword [eax]
mov edx, dword [esp + 0x74]
mov edi, dword [esp + 0x88]
add edx, ecx
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x80]
add edx, 4
add esp, 0xc
add eax, 4
mov dword [esp + 0x64], edi
mov dword [esp + 0x74], edx
mov dword [esp + 0x4c], eax
jmp 0x41b841
mov edx, dword [0x520d58]
mov ecx, dword [edx + 8]
imul ecx, dword [edx + 4]
mov edi, dword [edx + 0x28]
mov edx, ecx
shr ecx, 2
or eax, 0xffffffff
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x4c]
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x64]
push eax
mov eax, dword [edx]
mov edx, dword [0x520d58]
push ecx
lea ecx, [eax + eax + 1]
mov eax, dword [edx]
push ecx
mov ecx, dword [0x520d54]
push eax
push ecx
call dword [sym.imp.GDI32.dll_TextOutA]
call fcn.0042e590
test eax, eax
jne 0x41b588
mov edx, dword [esp + 0xbc]
mov eax, dword [edx + 0x24]
test eax, eax
je 0x41b588
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx]
mov eax, dword [esp + 0x6c]
mov ecx, dword [0x520d58]
mov edi, dword [esp + 0x64]
push eax
lea eax, [edx + edx + 1]
mov edx, dword [ecx]
push edi
push eax
mov eax, dword [0x520d54]
sub edx, 2
push edx
push eax
call dword [sym.imp.GDI32.dll_TextOutA]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x4c]
mov eax, dword [edx]
mov edx, dword [0x520d58]
push ecx
push edi
lea ecx, [eax + eax - 1]
mov eax, dword [edx]
push ecx
mov ecx, dword [0x520d54]
push eax
push ecx
call dword [sym.imp.GDI32.dll_TextOutA]
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax]
mov edx, dword [esp + 0x6c]
mov eax, dword [0x520d58]
push edx
lea edx, [ecx + ecx - 1]
mov ecx, dword [eax]
push edi
push edx
mov edx, dword [0x520d54]
sub ecx, 2
push ecx
push edx
call dword [sym.imp.GDI32.dll_TextOutA]
call dword [sym.imp.GDI32.dll_GdiFlush]
mov eax, dword [esp + 0xbc]
mov eax, dword [eax + 0x28]
mov ecx, dword [esi]
cmp eax, ecx
mov dword [esp + 0x78], eax
jl 0x41b5a6
mov dword [esp + 0x78], ecx
test eax, eax
mov dword [esp + 0x94], 0
jle 0x41b7b1
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x64], 0
cmp ecx, dword [esi + 4]
jge 0x41b7b1
mov edx, dword [0x520d58]
mov eax, dword [esp + 0x64]
mov edx, dword [edx + 0x28]
mov edi, dword [esi + 0x28]
add edx, eax
mov eax, dword [esi + 8]
imul eax, ecx
add eax, edi
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x78]
test eax, eax
mov dword [esp + 0x6c], edx
jle 0x41b770
mov ecx, dword [esp + 0xb4]
mov eax, dword [esp + 0x70]
lea edi, [edx + ecx + 2]
add eax, eax
lea esi, [edx + eax + 1]
mov edx, dword [esp + 0x70]
sub edx, eax
mov dword [esp + 0x9c], edx
mov edx, ecx
sub edx, eax
mov dword [esp + 0x10], edx
mov edx, 2
sub edx, eax
mov dword [esp + 0x14], edx
mov edx, 1
sub edx, eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xa0], edx
sub eax, ecx
or edx, 0xffffffff
sub edx, ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x88], edi
mov dword [esp + 0xa8], eax
mov dword [esp + 0xa4], edx
mov dword [esp + 0x90], ecx
jmp 0x41b67d
mov eax, dword [esp + 0xa8]
xor edx, edx
mov dl, byte [eax + edi]
mov ecx, dword [esp + 0x9c]
xor eax, eax
mov al, byte [ecx + esi]
xor ecx, ecx
mov cl, byte [esi]
add esi, 4
add edx, eax
xor eax, eax
mov al, byte [esi - 3]
add edx, eax
add edx, ecx
mov ecx, dword [esp + 0xa4]
xor eax, eax
mov al, byte [ecx + edi]
mov edi, dword [esp + 0x70]
lea ecx, [eax + edx*2]
mov eax, dword [esp + 0xa0]
xor edx, edx
mov dl, byte [eax + esi - 4]
mov eax, dword [esp + 0x14]
add ecx, edx
xor edx, edx
mov dl, byte [eax + esi - 4]
mov eax, dword [esp + 0x10]
add ecx, edx
xor edx, edx
mov dl, byte [eax + esi - 4]
mov eax, dword [esp + 0x6c]
add ecx, edx
xor edx, edx
mov dl, byte [eax + edi + 3]
add ecx, edx
xor edx, edx
mov dl, byte [eax + edi]
mov edi, dword [esp + 0x88]
add edi, 4
mov dword [esp + 0x88], edi
add ecx, edx
xor edx, edx
mov dl, byte [esi - 2]
add ecx, edx
xor edx, edx
mov dl, byte [esi - 5]
add ecx, edx
xor edx, edx
mov dl, byte [edi - 6]
add ecx, edx
xor edx, edx
mov dl, byte [edi - 3]
add ecx, edx
xor edx, edx
mov dl, byte [edi - 4]
add ecx, edx
xor edx, edx
mov dl, byte [eax]
mov eax, 0x66666667
add ecx, edx
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x98]
mov byte [eax], dl
mov edx, dword [esp + 0x6c]
add edx, 4
inc eax
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x90]
dec eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0x90], eax
jne 0x41b676
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x64]
mov edx, dword [esp + 0x94]
shl eax, 2
add esi, eax
mov eax, dword [esp + 0xbc]
inc edx
mov dword [esp + 0x64], esi
mov esi, dword [eax + 0x28]
inc ecx
cmp edx, esi
mov esi, dword [esp + 0x84]
mov dword [esp + 0x94], edx
mov dword [esp + 0x8c], ecx
jl 0x41b5cc
mov eax, dword [esp + 0x50]
test eax, eax
je 0x41b815
mov eax, dword [esp + 0x38]
mov ecx, dword [eax*4 + 0x4dfd14]
test ecx, ecx
je 0x41b7d6
xor ecx, ecx
mov cl, byte [eax + 0x4cfd14]
mov eax, ecx
test eax, eax
jne 0x41b815
mov edx, dword [esp + 0x74]
mov ecx, dword [edx]
mov edi, dword [esp + 0x68]
mov edx, dword [esi + 4]
lea eax, [ecx + edi]
cmp eax, edx
jg 0x41b819
mov edx, dword [esp + 0xbc]
mov eax, dword [edx + 0x28]
cmp eax, dword [esi]
jg 0x41b819
mov eax, dword [esi + 8]
mov edx, edi
imul edx, eax
push eax
add edx, dword [esi + 0x28]
mov eax, dword [esp + 0x3c]
push edx
push ecx
push eax
call fcn.0041e920
add esp, 0x10
jmp 0x41b819
mov edi, dword [esp + 0x68]
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x64], ecx
add edi, dword [eax]
add edx, 4
add eax, 4
mov dword [esp + 0x68], edi
mov edi, dword [esp + 0x64]
mov dword [esp + 0x74], edx
mov dword [esp + 0x4c], eax
mov edx, dword [esp + 0x7c]
cmp byte [edx], 0
jne 0x41b3e0
call fcn.00445540
test eax, eax
je 0x41c085
mov ecx, dword [esp + 0xbc]
mov ecx, dword [ecx + 0x28]
xor eax, eax
dec ecx
test ecx, ecx
jle 0x41c085
mov esi, dword [esi + 4]
cmp eax, esi
jge 0x41c085
inc eax
cmp eax, ecx
jl 0x41b873
jmp 0x41c085
mov eax, dword [0x4ae354]
sub eax, 0
mov edi, dword [0x51fd24]
mov esi, dword [esp + 0xc4]
mov dword [esp + 0x68], edi
mov dword [esp + 0x38], 0
je 0x41b8bc
dec eax
je 0x41b8c6
dec eax
jne 0x41b8c6
call fcn.00411be0
neg eax
sbb eax, eax
inc eax
test eax, eax
jne 0x41b8c6
mov dword [esp + 0x7c], 1
jmp 0x41b8ce
mov dword [esp + 0x7c], 4
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0xbc]
push edx
push eax
call fcn.0041aeb0
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x84]
add esp, 8
cmp eax, 1
jne 0x41bb75
mov ecx, dword [esp + 0xc4]
cmp byte [ecx], 0
je 0x41bfc9
mov dword [esp + 0x4c], 0x4cc264
mov dword [esp + 0x70], 0x4cb1f4
push esi
call fcn.0046830b
mov dword [esp + 0x78], eax
sub eax, esi
add esp, 4
cmp eax, 2
mov dword [esp + 0x64], eax
jl 0x41b942
xor eax, eax
mov al, byte [esi + 1]
xor edx, edx
mov dl, byte [esi]
shl eax, 8
add eax, edx
jmp 0x41b946
xor eax, eax
mov al, byte [esi]
mov ecx, dword [esp + 0x78]
test ecx, ecx
mov dword [esp + 0x84], eax
je 0x41b9cc
mov ecx, dword [eax*4 + 0x4dfd14]
test ecx, ecx
je 0x41b9cc
xor ecx, ecx
mov cl, byte [eax + 0x4cfd14]
test ecx, ecx
je 0x41b9cc
mov ecx, dword [esp + 0xbc]
mov edx, dword [ecx + 0x28]
cmp edx, dword [edi + 4]
jg 0x41b9cc
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x38]
add ecx, dword [edx]
cmp ecx, dword [edi]
jg 0x41b9cc
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0x28]
push ecx
add edx, dword [esp + 0x3c]
push edx
push eax
call fcn.0041ea10
mov eax, dword [esp + 0x58]
mov ecx, dword [eax]
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x80]
add edx, ecx
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x7c]
add edx, 4
add esp, 0xc
add eax, 4
mov dword [esp + 0x70], edx
mov dword [esp + 0x4c], eax
jmp 0x41bb63
mov edx, dword [0x520d58]
mov ecx, dword [edx + 8]
imul ecx, dword [edx + 4]
mov edi, dword [edx + 0x28]
mov edx, ecx
shr ecx, 2
or eax, 0xffffffff
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx]
push eax
mov eax, dword [0x520d54]
push esi
push 0
push edx
push eax
call dword [sym.imp.GDI32.dll_TextOutA]
call fcn.0042e590
test eax, eax
jne 0x41ba3c
mov ecx, dword [esp + 0xbc]
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x41ba3c
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax]
push edx
mov edx, dword [0x520d54]
push esi
push 0
inc ecx
push ecx
push edx
call dword [sym.imp.GDI32.dll_TextOutA]
mov eax, dword [esp + 0x68]
mov eax, dword [eax]
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x4c]
mov ecx, dword [ecx]
sub eax, esi
cmp ecx, eax
mov dword [esp + 0x50], ecx
jl 0x41ba5a
mov dword [esp + 0x50], eax
mov edx, dword [esp + 0xbc]
mov eax, dword [edx + 0x28]
test eax, eax
mov dword [esp + 0x6c], 0
jle 0x41bad9
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
cmp ecx, dword [eax + 4]
jge 0x41bad9
mov edi, dword [0x520d58]
mov esi, dword [edi + 8]
imul esi, dword [esp + 0x6c]
mov edx, dword [esp + 0x4c]
mov eax, dword [edx]
cdq
sub eax, edx
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x50]
sar eax, 1
add esi, eax
add esi, dword [edi + 0x28]
mov eax, dword [esp + 0x68]
mov edi, dword [eax + 8]
mov eax, dword [esp + 0x6c]
imul edi, eax
add edi, dword [edx + 0x28]
add edi, dword [esp + 0x38]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0xbc]
mov edx, dword [ecx + 0x28]
inc eax
cmp eax, edx
mov dword [esp + 0x6c], eax
jl 0x41ba70
mov eax, dword [esp + 0x78]
test eax, eax
je 0x41bb39
mov edx, dword [esp + 0x84]
mov eax, dword [edx*4 + 0x4dfd14]
test eax, eax
je 0x41baff
xor eax, eax
mov al, byte [edx + 0x4cfd14]
test eax, eax
jne 0x41bb39
mov eax, dword [esp + 0xbc]
mov ecx, dword [eax + 0x28]
mov eax, dword [esp + 0x68]
cmp ecx, dword [eax + 4]
jg 0x41bb39
mov ecx, dword [esp + 0x70]
mov ecx, dword [ecx]
mov edi, dword [esp + 0x38]
lea esi, [ecx + edi]
cmp esi, dword [eax]
jg 0x41bb3d
mov esi, dword [eax + 8]
mov eax, dword [eax + 0x28]
push esi
add eax, edi
push eax
push ecx
push edx
call fcn.0041e820
add esp, 0x10
jmp 0x41bb3d
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax]
mov edx, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
add edi, ecx
add edx, 4
add eax, 4
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x68]
mov dword [esp + 0x70], edx
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x74]
cmp byte [ecx], 0
jne 0x41b91a
jmp 0x41bfc9
mov edx, dword [0x520d58]
mov eax, dword [edx + 8]
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x70], eax
lea eax, [eax + eax*2]
mov dword [esp + 0x7c], eax
cmp byte [ecx], 0
je 0x41bfc9
mov dword [esp + 0x4c], 0x4cc264
mov dword [esp + 0x6c], 0x4cb1f4
push esi
call fcn.0046830b
mov dword [esp + 0x78], eax
sub eax, esi
add esp, 4
cmp eax, 2
mov dword [esp + 0x64], eax
jl 0x41bbd1
xor eax, eax
mov al, byte [esi + 1]
xor edx, edx
mov dl, byte [esi]
shl eax, 8
add eax, edx
jmp 0x41bbd5
xor eax, eax
mov al, byte [esi]
mov ecx, dword [esp + 0x78]
test ecx, ecx
mov dword [esp + 0x98], eax
je 0x41bc5b
mov ecx, dword [eax*4 + 0x4dfd14]
test ecx, ecx
je 0x41bc5b
xor ecx, ecx
mov cl, byte [eax + 0x4cfd14]
test ecx, ecx
je 0x41bc5b
mov ecx, dword [esp + 0xbc]
mov edx, dword [ecx + 0x28]
cmp edx, dword [edi + 4]
jg 0x41bc5b
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx]
add edx, dword [esp + 0x38]
cmp edx, dword [edi]
jg 0x41bc5b
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0x28]
push ecx
add edx, dword [esp + 0x3c]
push edx
push eax
call fcn.0041ea10
mov eax, dword [esp + 0x58]
mov ecx, dword [eax]
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x80]
add edx, ecx
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x78]
add edx, 4
add esp, 0xc
add eax, 4
mov dword [esp + 0x6c], edx
mov dword [esp + 0x4c], eax
jmp 0x41bfbc
mov edx, dword [0x520d58]
mov ecx, dword [edx + 8]
imul ecx, dword [edx + 4]
mov edi, dword [edx + 0x28]
mov edx, ecx
shr ecx, 2
or eax, 0xffffffff
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx]
mov ecx, dword [0x520d54]
push eax
push esi
push 1
lea eax, [edx*4 + 1]
push eax
push ecx
call dword [sym.imp.GDI32.dll_TextOutA]
call fcn.0042e590
test eax, eax
jne 0x41bd18
mov edx, dword [esp + 0xbc]
mov eax, dword [edx + 0x24]
test eax, eax
je 0x41bd18
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x4c]
mov ecx, dword [edi]
push eax
mov eax, dword [0x520d54]
push esi
push 1
lea edx, [ecx*4 - 1]
push edx
push eax
call dword [sym.imp.GDI32.dll_TextOutA]
mov ecx, dword [esp + 0x64]
mov edx, dword [edi]
push ecx
mov ecx, dword [0x520d54]
push esi
push 0xffffffffffffffff
lea eax, [edx*4 + 1]
push eax
push ecx
call dword [sym.imp.GDI32.dll_TextOutA]
mov edx, dword [esp + 0x64]
mov eax, dword [edi]
push edx
mov edx, dword [0x520d54]
push esi
push 0xffffffffffffffff
lea ecx, [eax*4 - 1]
push ecx
push edx
call dword [sym.imp.GDI32.dll_TextOutA]
jmp 0x41bd1c
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x68]
mov eax, dword [eax]
mov edx, dword [esp + 0x38]
mov edi, dword [edi]
sub eax, edx
cmp edi, eax
mov dword [esp + 0x64], edi
jl 0x41bd36
mov dword [esp + 0x64], eax
mov edx, dword [esp + 0xbc]
mov eax, dword [edx + 0x28]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x90], ecx
jle 0x41bf32
mov dword [esp + 0x88], ecx
mov edx, dword [esp + 0x68]
cmp ecx, dword [edx + 4]
jge 0x41bf32
mov eax, dword [esp + 0x4c]
mov eax, dword [eax]
mov esi, dword [0x520d58]
mov esi, dword [esi + 0x28]
mov edi, dword [esp + 0x88]
lea eax, [esi + eax*2]
mov esi, dword [edx + 0x28]
add eax, edi
mov dword [esp + 0x50], eax
mov eax, dword [edx + 8]
mov edx, dword [esp + 0x38]
imul eax, ecx
add eax, esi
add eax, edx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x64]
test eax, eax
jle 0x41befd
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x50]
mov edx, dword [esp + 0x7c]
lea edi, [esi + edx + 2]
lea eax, [ebp + ebp]
sub edx, eax
mov dword [esp + 0xa8], edx
mov edx, 2
sub edx, eax
mov dword [esp + 0x9c], edx
mov ecx, ebp
mov edx, 1
sub edx, eax
sub ecx, eax
mov dword [esp + 0xa4], edx
mov edx, dword [esp + 0x7c]
lea esi, [esi + eax + 1]
mov eax, ebp
mov ebp, dword [esp + 0x7c]
sub eax, edx
or edx, 0xffffffff
sub edx, ebp
mov ebp, dword [esp + 0x50]
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x8c], edx
jmp 0x41be22
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
xor edx, edx
mov dl, byte [eax + edi]
xor eax, eax
mov al, byte [ecx + esi]
xor ecx, ecx
mov cl, byte [esi + 1]
add ebp, 4
add esi, 4
add edi, 4
add edx, eax
xor eax, eax
mov al, byte [esi - 4]
add edx, ecx
xor ecx, ecx
add edx, eax
mov eax, dword [esp + 0x70]
mov cl, byte [eax + ebp - 1]
lea ecx, [ecx + edx*2]
xor edx, edx
mov dl, byte [eax + ebp - 4]
xor eax, eax
add ecx, edx
mov edx, dword [esp + 0xa0]
mov al, byte [edx + edi - 4]
mov edx, dword [esp + 0xa4]
add ecx, eax
xor eax, eax
mov al, byte [edx + esi - 4]
mov edx, dword [esp + 0x9c]
add ecx, eax
xor eax, eax
mov al, byte [edx + esi - 4]
mov edx, dword [esp + 0xa8]
add ecx, eax
xor eax, eax
mov al, byte [edx + esi - 4]
xor edx, edx
mov dl, byte [esi - 5]
add ecx, eax
xor eax, eax
mov al, byte [esi - 2]
add ecx, eax
add ecx, edx
xor eax, eax
mov al, byte [edi - 6]
xor edx, edx
mov dl, byte [edi - 3]
add ecx, eax
xor eax, eax
mov al, byte [ebp - 4]
add ecx, edx
xor edx, edx
mov dl, byte [edi - 4]
add ecx, eax
mov eax, 0x66666667
add ecx, edx
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x84]
mov byte [eax], dl
inc eax
mov dword [esp + 0x84], eax
dec dword [esp + 0x8c]
jne 0x41be1a
mov ebp, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x70]
mov esi, dword [esp + 0x88]
lea eax, [edx*4]
add esi, eax
mov eax, dword [esp + 0xbc]
mov edx, dword [eax + 0x28]
inc ecx
cmp ecx, edx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x88], esi
jl 0x41bd58
mov eax, dword [esp + 0x78]
test eax, eax
je 0x41bf92
mov edx, dword [esp + 0x98]
mov eax, dword [edx*4 + 0x4dfd14]
test eax, eax
je 0x41bf58
xor eax, eax
mov al, byte [edx + 0x4cfd14]
test eax, eax
jne 0x41bf92
mov ecx, dword [esp + 0xbc]
mov eax, dword [esp + 0x68]
mov ecx, dword [ecx + 0x28]
cmp ecx, dword [eax + 4]
jg 0x41bf92
mov ecx, dword [esp + 0x6c]
mov ecx, dword [ecx]
mov edi, dword [esp + 0x38]
lea esi, [edi + ecx]
cmp esi, dword [eax]
jg 0x41bf96
mov esi, dword [eax + 8]
mov eax, dword [eax + 0x28]
push esi
add eax, edi
push eax
push ecx
push edx
call fcn.0041e820
add esp, 0x10
jmp 0x41bf96
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax]
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x74]
add edi, ecx
add edx, 4
add eax, 4
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x68]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x74]
cmp byte [ecx], 0
jne 0x41bba9
call fcn.00445540
test eax, eax
je 0x41c085
mov eax, dword [esp + 0xbc]
mov ecx, dword [eax + 0x28]
xor edx, edx
dec ecx
test ecx, ecx
jle 0x41c085
cmp edx, dword [edi + 4]
jge 0x41c085
mov eax, dword [edi + 0x28]
mov esi, edx
imul esi, dword [edi + 8]
add esi, eax
mov eax, dword [esp + 0x38]
dec eax
test eax, eax
jle 0x41c071
mov dword [esp + 0x50], eax
xor eax, eax
mov al, byte [esi]
xor ecx, ecx
mov cl, byte [esi + 1]
cmp al, cl
jae 0x41c020
and eax, 0xff
jmp 0x41c028
and ecx, 0xff
mov eax, ecx
xor ecx, ecx
mov byte [esi], al
mov ecx, dword [edi + 8]
mov cl, byte [esi + ecx]
cmp al, cl
jae 0x41c03d
and eax, 0xff
jmp 0x41c045
and ecx, 0xff
mov eax, ecx
xor ecx, ecx
mov byte [esi], al
mov ecx, dword [edi + 8]
mov cl, byte [esi + ecx + 1]
cmp al, cl
jae 0x41c05b
and eax, 0xff
jmp 0x41c063
and ecx, 0xff
mov eax, ecx
mov byte [esi], al
mov eax, dword [esp + 0x50]
inc esi
dec eax
mov dword [esp + 0x50], eax
jne 0x41c00c
mov eax, dword [esp + 0xbc]
mov ecx, dword [eax + 0x28]
inc edx
dec ecx
cmp edx, ecx
jl 0x41bfeb
mov ecx, dword [0x51fd24]
mov eax, dword [ecx]
cmp dword [esp + 0x5c], eax
jl 0x41c097
mov dword [esp + 0x5c], eax
mov eax, dword [ecx + 4]
cmp dword [esp + 0x60], eax
jl 0x41c0a4
mov dword [esp + 0x60], eax
mov edx, dword [esp + 0xbc]
mov eax, dword [edx + 0x38]
test eax, 0x7f000000
mov esi, dword [esp + 0xc0]
jne 0x41c165
mov ecx, dword [esp + 0x80]
mov edx, dword [ebx + 8]
mov edi, dword [ebx + 0xc]
lea eax, [ecx + 1]
add edx, eax
mov eax, dword [ebx]
add eax, ecx
mov ecx, dword [ebx + 4]
add edi, ebp
mov dword [ebx + 0xc], edi
add ebp, ecx
xor edi, edi
mov ecx, ebp
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x1c], ecx
mov dword [ebx + 8], edx
mov edx, dword [esp + 0xbc]
mov ebp, dword [edx + 0x38]
mov edx, dword [0x51fd24]
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x24], eax
push esi
lea eax, [esp + 0x30]
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x68]
push eax
push edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x34], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41e770
mov eax, dword [esp + 0x10]
push ebp
lea ecx, [esp + 0x1c]
push ecx
push esi
lea edx, [esp + 0x34]
push edx
push eax
call fcn.0045b7f0
add esp, 0x14
jmp 0x41e770
mov ecx, eax
and ecx, 0x7f000000
cmp ecx, 0x1000000
jne 0x41c5da
mov ecx, dword [esp + 0x80]
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
inc ecx
add edx, ecx
add eax, ebp
mov dword [ebx + 0xc], eax
mov eax, dword [ebx]
mov dword [ebx + 8], edx
mov edx, dword [ebx + 4]
xor edi, edi
add eax, ebp
mov ecx, ebp
add ecx, edx
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x34], eax
push esi
lea eax, [esp + 0x20]
mov dword [esp + 0x18], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x68]
push eax
push edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41c21b
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
mov ecx, ebp
add ecx, edx
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
sub eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41c2a6
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
sub ecx, ebp
add eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41c32f
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
sub ecx, ebp
sub eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41c3b8
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
add eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41c43f
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
sub eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41c4c6
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
sub eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41c54d
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
add ebp, ecx
mov ecx, ebp
xor ebp, ebp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x34], eax
push esi
lea eax, [esp + 0x20]
mov dword [esp + 0x18], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x50]
push eax
push edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41e770
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
jmp 0x41e770
cmp ecx, 0x2000000
jne 0x41cb6e
mov edx, dword [esp + 0x80]
mov ecx, dword [ebx + 0xc]
lea eax, [edx + edx + 1]
mov edx, dword [ebx + 8]
add edx, eax
lea eax, [ebp + ebp]
add ecx, eax
mov dword [ebx + 0xc], ecx
mov dword [ebx + 8], edx
mov edx, dword [ebx + 4]
mov dword [esp + 0x38], eax
mov eax, dword [ebx]
xor edi, edi
add eax, ebp
mov ecx, ebp
add ecx, edx
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x34], eax
push esi
lea eax, [esp + 0x20]
mov dword [esp + 0x18], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x68]
push eax
push edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41c693
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
mov ecx, ebp
add ecx, edx
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
sub eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41c71e
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
sub ecx, ebp
add eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41c7a7
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
sub ecx, ebp
sub eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41c830
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
add eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41c8b7
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
sub eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41c93e
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
sub eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41c9c5
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov edx, dword [ebx + 4]
mov ecx, dword [ebx]
mov eax, ebp
add eax, edx
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41ca4e
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov ecx, dword [esp + 0x38]
mov edx, dword [ebx]
mov eax, ecx
add eax, edx
add ecx, dword [ebx + 4]
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41cadb
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
mov eax, dword [esp + 0x38]
add ebp, ecx
add eax, edx
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov ecx, ebp
xor ebp, ebp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x34], eax
push esi
lea eax, [esp + 0x20]
mov dword [esp + 0x18], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x50]
push eax
push edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41e770
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
jmp 0x41e770
cmp ecx, 0x3000000
jne 0x41d0ef
mov edx, dword [esp + 0x80]
mov ecx, dword [ebx + 8]
mov edi, dword [ebx]
or eax, 0x808080
mov dword [esp + 0x50], eax
lea eax, [edx + edx + 1]
mov edx, dword [ebx + 4]
add ecx, eax
mov eax, dword [ebx + 0xc]
mov dword [ebx + 8], ecx
lea ecx, [ebp + ebp]
add eax, ecx
mov dword [ebx + 0xc], eax
mov eax, ecx
add eax, edi
mov dword [esp + 0x38], ecx
add ecx, edx
mov edx, dword [0x51fd24]
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x5c]
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x34], ecx
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x68]
push ecx
push edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41cc22
mov edx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
push esi
lea ecx, [esp + 0x24]
push ecx
push edx
call fcn.0045b7f0
add esp, 0x14
mov ecx, dword [ebx]
mov eax, dword [esp + 0x38]
mov edx, dword [ebx + 4]
add eax, ecx
mov ecx, eax
mov eax, ebp
add eax, edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x10], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41cca5
mov ecx, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
mov ecx, ebp
add ecx, edx
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
add eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41cd30
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
mov ecx, ebp
add ecx, edx
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
sub eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41cdbb
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
sub ecx, ebp
add eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41ce44
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
sub ecx, ebp
sub eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41cecd
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
add eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41cf54
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
sub eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41cfdb
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
sub eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41d062
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
add ebp, ecx
mov ecx, ebp
xor ebp, ebp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x34], eax
push esi
lea eax, [esp + 0x20]
mov dword [esp + 0x18], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x50]
push eax
push edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41e770
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
jmp 0x41e770
cmp ecx, 0x4000000
jne 0x41d690
mov edx, dword [esp + 0x80]
mov edi, dword [ebx + 8]
or eax, 0x505050
mov dword [esp + 0x50], eax
lea eax, [edx + edx + 1]
mov edx, dword [ebx + 0xc]
add edi, eax
lea eax, [ebp + ebp]
add edx, eax
mov dword [ebx + 8], edi
mov dword [esp + 0x38], eax
mov dword [ebx + 0xc], edx
call fcn.00445500
test eax, eax
je 0x41d235
mov ecx, dword [esp + 0x38]
mov edi, dword [ebx]
mov edx, dword [ebx + 4]
mov eax, ecx
add eax, edi
add ecx, edx
mov edx, dword [0x51fd24]
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x5c]
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x34], ecx
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x68]
push ecx
push edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41d1b4
mov edx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
push esi
lea ecx, [esp + 0x24]
push ecx
push edx
call fcn.0045b7f0
add esp, 0x14
mov ecx, dword [esp + 0x38]
mov edx, dword [ebx]
mov eax, ecx
add eax, edx
add ecx, dword [ebx + 4]
mov edx, dword [0x51fd24]
mov dword [esp + 0x10], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41d239
mov ecx, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
jmp 0x41d239
mov edi, dword [esp + 0x60]
call fcn.00445520
test eax, eax
je 0x41e770
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
mov ecx, ebp
add ecx, edx
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
add eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41d2d1
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
mov ecx, ebp
add ecx, edx
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
sub eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41d35c
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
sub ecx, ebp
add eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41d3e5
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
sub ecx, ebp
sub eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41d46e
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
add eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41d4f5
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
sub eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41d57c
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
sub eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41d603
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
add ebp, ecx
mov ecx, ebp
xor ebp, ebp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x34], eax
push esi
lea eax, [esp + 0x20]
mov dword [esp + 0x18], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x50]
push eax
push edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41e770
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
jmp 0x41e770
cmp ecx, 0x5000000
jne 0x41dc31
mov edx, dword [esp + 0x80]
mov edi, dword [ebx + 8]
or eax, 0x505050
mov dword [esp + 0x50], eax
lea eax, [edx + edx + 1]
mov edx, dword [ebx + 0xc]
add edi, eax
lea eax, [ebp + ebp]
add edx, eax
mov dword [ebx + 8], edi
mov dword [esp + 0x38], eax
mov dword [ebx + 0xc], edx
call fcn.00445500
test eax, eax
je 0x41d7d6
mov ecx, dword [ebx]
mov eax, dword [esp + 0x38]
mov edx, dword [ebx + 4]
lea ecx, [eax + ecx + 1]
add eax, edx
mov edx, dword [0x51fd24]
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x34], eax
push esi
lea eax, [esp + 0x20]
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x68]
push eax
push edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41d755
mov ecx, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov edx, dword [ebx]
mov eax, dword [esp + 0x38]
lea ecx, [eax + edx + 1]
add eax, dword [ebx + 4]
mov edx, dword [0x51fd24]
mov dword [esp + 0x10], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41d7da
mov ecx, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
jmp 0x41d7da
mov edi, dword [esp + 0x60]
call fcn.00445520
test eax, eax
je 0x41e770
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
mov ecx, ebp
add ecx, edx
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
add eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41d872
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
mov ecx, ebp
add ecx, edx
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
sub eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41d8fd
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
sub ecx, ebp
add eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41d986
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
sub ecx, ebp
sub eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41da0f
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
add eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41da96
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
sub eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41db1d
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
sub eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41dba4
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
add ebp, ecx
mov ecx, ebp
xor ebp, ebp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x34], eax
push esi
lea eax, [esp + 0x20]
mov dword [esp + 0x18], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x50]
push eax
push edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41e770
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
jmp 0x41e770
cmp ecx, 0x6000000
jne 0x41e1d2
mov edx, dword [esp + 0x80]
mov edi, dword [ebx + 8]
and eax, 0xffffff
mov dword [esp + 0x50], eax
lea eax, [edx + edx + 1]
mov edx, dword [ebx + 0xc]
add edi, eax
lea eax, [ebp + ebp]
add edx, eax
mov dword [ebx + 8], edi
mov dword [esp + 0x38], eax
mov dword [ebx + 0xc], edx
call fcn.00445500
test eax, eax
je 0x41dd77
mov ecx, dword [esp + 0x38]
mov edi, dword [ebx]
mov edx, dword [ebx + 4]
mov eax, ecx
add eax, edi
add ecx, edx
mov edx, dword [0x51fd24]
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x5c]
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x34], ecx
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x68]
push ecx
push edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41dcf6
mov edx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
push esi
lea ecx, [esp + 0x24]
push ecx
push edx
call fcn.0045b7f0
add esp, 0x14
mov ecx, dword [esp + 0x38]
mov edx, dword [ebx]
mov eax, ecx
add eax, edx
add ecx, dword [ebx + 4]
mov edx, dword [0x51fd24]
mov dword [esp + 0x10], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41dd7b
mov ecx, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
jmp 0x41dd7b
mov edi, dword [esp + 0x60]
call fcn.00445520
test eax, eax
je 0x41e770
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
mov ecx, ebp
add ecx, edx
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
add eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41de13
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
mov ecx, ebp
add ecx, edx
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
sub eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41de9e
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
sub ecx, ebp
add eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41df27
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
sub ecx, ebp
sub eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41dfb0
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
add eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41e037
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
sub eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41e0be
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
sub eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41e145
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
add ebp, ecx
mov ecx, ebp
xor ebp, ebp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x34], eax
push esi
lea eax, [esp + 0x20]
mov dword [esp + 0x18], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x50]
push eax
push edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41e770
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
jmp 0x41e770
cmp ecx, 0x7000000
jne 0x41e76c
mov edx, dword [esp + 0x80]
mov edi, dword [ebx + 8]
and eax, 0xffffff
mov dword [esp + 0x50], eax
lea eax, [edx + edx + 1]
mov edx, dword [ebx + 0xc]
add edi, eax
lea eax, [ebp + ebp]
add edx, eax
mov dword [ebx + 8], edi
mov dword [esp + 0x38], eax
mov dword [ebx + 0xc], edx
call fcn.00445500
test eax, eax
je 0x41e318
mov ecx, dword [esp + 0x38]
mov edi, dword [ebx]
mov edx, dword [ebx + 4]
mov eax, ecx
add eax, edi
add ecx, edx
mov edx, dword [0x51fd24]
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x5c]
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x34], ecx
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x68]
push ecx
push edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41e297
mov edx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
push esi
lea ecx, [esp + 0x24]
push ecx
push edx
call fcn.0045b7f0
add esp, 0x14
mov ecx, dword [esp + 0x38]
mov edx, dword [ebx]
mov eax, ecx
add eax, edx
add ecx, dword [ebx + 4]
mov edx, dword [0x51fd24]
mov dword [esp + 0x10], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41e31c
mov ecx, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
jmp 0x41e31c
mov edi, dword [esp + 0x60]
call fcn.00445520
test eax, eax
je 0x41e770
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
mov ecx, ebp
add ecx, edx
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
add eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41e3b4
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
mov ecx, ebp
add ecx, edx
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
sub eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41e43f
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
sub ecx, ebp
add eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41e4c8
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
sub ecx, ebp
sub eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41e551
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
add eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41e5d8
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
sub eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41e65f
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [esp + 0x10], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
sub eax, ebp
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41e6e6
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0x38]
add ebp, ecx
mov ecx, ebp
xor ebp, ebp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x34], eax
push esi
lea eax, [esp + 0x20]
mov dword [esp + 0x18], edx
mov edx, dword [0x51fd24]
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x50]
push eax
push edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41e770
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0045b7f0
add esp, 0x14
jmp 0x41e770
mov edi, dword [esp + 0x60]
mov edx, dword [esp + 0xbc]
mov ebp, dword [edx + 0x34]
mov edx, dword [0x51fd24]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [esp + 0x10], edx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x28], edx
push esi
lea edx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [0x51fd24]
push edx
push eax
mov dword [esp + 0x44], edi
call fcn.004558e0
add esp, 0x10
test eax, eax
jne 0x41e7ed
mov eax, dword [esp + 0x10]
push ebp
lea ecx, [esp + 0x2c]
push ecx
push esi
lea edx, [esp + 0x24]
push edx
push eax
call fcn.0045b7f0
add esp, 0x14
push ebx
push esi
call fcn.0044d600
add esp, 8
call fcn.0042ea20
pop edi
pop esi
test eax, eax
mov eax, dword [esp + 0x40]
pop ebx
jne 0x41e80b
mov eax, dword [esp + 0x38]
pop ebp
add esp, 0xa8
ret