Function at 0x40d340
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1d45
mov eax, dword fs:[0]
push eax
mov eax, 0x26824
call fcn.00490830
mov eax, dword [0x51a230]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x267a0], eax
add eax, 0x4c
push eax
lea eax, [ebp - 0x320]
push eax
call fcn.0041c7c9
add esp, 8
lea ecx, [ebp - 0x26830]
mov dword [ebp - 4], 0
call fcn.00419acc
cmp dword [ebp - 0x30c], 0x10
lea eax, [ebp - 0x320]
lea ecx, [ebp - 0x26830]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x320]
push eax
call fcn.00419b8a
lea ecx, [ebp - 0x26830]
call fcn.00419f5f
mov edi, eax
mov ecx, 1
mov eax, dword [edi + 4]
sub eax, dword [edi]
cmove eax, ecx
mov dword [ebp - 0x267a4], eax
lea esi, [eax + 1]
push esi
call fcn.00490862
push esi
mov esi, eax
mov dword [ebp - 0x2679c], eax
push 0
push esi
call fcn.004bac70
mov ecx, dword [edi + 4]
add esp, 0x10
xor edx, edx
sub ecx, dword [edi]
je 0x40d41a
mov eax, dword [edi]
mov al, byte [edx + eax]
mov byte [edx + esi], al
inc edx
mov eax, dword [edi + 4]
sub eax, dword [edi]
cmp edx, eax
jb 0x40d408
lea eax, [ebp - 0x267ac]
mov dword [ebp - 0x267a8], 0
push eax
lea eax, [ebp - 0x267a8]
mov dword [ebp - 0x267ac], 0
push eax
push dword [ebp - 0x267a4]
push esi
call fcn.00418c78
mov edi, dword [ebp - 0x267a8]
add esp, 0x10
test edi, edi
jne 0x40d46d
test esi, esi
je 0x40d59b
push esi
call fcn.00490615
add esp, 4
xor esi, esi
jmp 0x40e1ab
lea ecx, [ebp - 0x267fc]
call fcn.00410a10
push 1
push 0
push edi
lea ecx, [ebp - 0x267fc]
mov byte [ebp - 4], 2
call fcn.00413430
test eax, eax
jne 0x40d4d4
mov eax, dword [ebp - 0x267c8]
mov dword [ebp - method.TiXmlDocument.virtual_0], vtable.TiXmlDocument.0
mov byte [ebp - 4], 1
cmp eax, 0x51c800
je 0x40d4b4
push eax
call fcn.00490615
add esp, 4
lea ecx, [ebp - 0x267fc]
call fcn.00410eb0
mov edi, dword [ebp - 0x267a0]
mov dword [ebp - 0x267a4], 0
jmp 0x40d585
push str.a99ad247849d
lea ecx, [ebp - 0x267fc]
call fcn.00411770
test eax, eax
je 0x40d490
push str.b40b52ab80b2
mov ecx, eax
call fcn.004117d0
mov dword [ebp - 0x267a4], eax
test eax, eax
je 0x40d490
mov eax, dword [ebp - 0x267a0]
mov edi, dword [eax + 0x20]
mov esi, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 3
push dword [esi + 4]
call fcn.00408860
mov eax, dword [edi]
mov byte [ebp - 4], 2
mov dword [eax + 4], esi
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
mov dword [eax + 8], esi
mov dword [edi + 4], 0
mov edi, dword [ebp - 0x267a0]
mov ecx, edi
push dword [edi + 0x20]
push dword [ebp - 0x267a4]
call fcn.0040f990
mov eax, dword [ebp - 0x267c8]
mov byte [ebp - 4], 1
mov dword [ebp - method.TiXmlDocument.virtual_0], vtable.TiXmlDocument.0
cmp eax, 0x51c800
je 0x40d56a
push eax
call fcn.00490615
add esp, 4
lea ecx, [ebp - 0x267fc]
call fcn.00410eb0
mov esi, dword [ebp - 0x2679c]
mov dword [ebp - 0x267a4], 1
test esi, esi
je 0x40d592
push esi
call fcn.00490615
add esp, 4
cmp dword [ebp - 0x267a4], 0
jne 0x40d5a2
xor esi, esi
jmp 0x40e1ab
xor eax, eax
mov dword [ebp - 0x238], 0
push eax
push 0x4e8798
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.00407d80
xor eax, eax
mov byte [ebp - 4], 4
push eax
push 0x4e8798
lea ecx, [ebp - 0x2c0]
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2ac], 7
mov word [ebp - 0x2c0], ax
call fcn.00407d80
xor eax, eax
mov byte [ebp - 4], 5
push eax
push 0x4e8798
lea ecx, [ebp - 0x290]
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 7
mov word [ebp - 0x290], ax
call fcn.00407d80
xor eax, eax
mov byte [ebp - 4], 6
push eax
push 0x4e8798
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
call fcn.00407d80
push str.b1bca8081960
push dword [edi + 0x20]
mov byte [ebp - 4], 7
call fcn.0040ea00
mov edx, eax
add esp, 8
test edx, edx
je 0x40d6a1
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40d685
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x248]
call fcn.00407d80
push str.d5d137042598
push dword [edi + 0x20]
call fcn.0040ea00
mov edx, eax
add esp, 8
test edx, edx
je 0x40d6dc
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40d6c0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c0]
call fcn.00407d80
push str.cce791043446
push dword [edi + 0x20]
call fcn.0040ea00
mov edx, eax
add esp, 8
test edx, edx
je 0x40d713
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40d6f7
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x290]
call fcn.00407d80
push str.ee88a3e5b5ca
push dword [edi + 0x20]
call fcn.0040ea00
mov edx, eax
add esp, 8
test edx, edx
je 0x40d74c
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40d730
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x260]
call fcn.00407d80
cmp dword [ebp - 0x238], 0
jne 0x40d75c
xor esi, esi
jmp 0x40e054
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004bac70
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
mov dword [ebp - 0x2f8], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x2f4], 7
mov word [ebp - 0x308], ax
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40d7b0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x308]
call fcn.00407d80
mov eax, dword [edi + 8]
xor edx, edx
mov esi, dword [edi + 4]
mov ecx, eax
sub ecx, esi
mov byte [ebp - 4], 8
add ecx, 3
xor edi, edi
shr ecx, 2
cmp esi, eax
cmova ecx, edx
mov dword [ebp - 0x2679c], ecx
test ecx, ecx
je 0x40d821
mov eax, ecx
nop dword [eax + eax]
mov ecx, dword [esi]
test ecx, ecx
je 0x40d819
mov eax, dword [ecx]
push 0
push 0
push 0x46b
call dword [eax]
mov eax, dword [ebp - 0x2679c]
inc edi
add esi, 4
cmp edi, eax
jne 0x40d800
mov eax, dword [ebp - 0x267a0]
xor edx, edx
xor edi, edi
mov esi, dword [eax + 4]
mov eax, dword [eax + 8]
mov ecx, eax
sub ecx, esi
add ecx, 3
shr ecx, 2
cmp esi, eax
cmova ecx, edx
mov dword [ebp - 0x2679c], ecx
test ecx, ecx
je 0x40d871
mov eax, ecx
nop dword [eax]
mov ecx, dword [esi]
test ecx, ecx
je 0x40d869
mov eax, dword [ecx]
push 0
push 0
push 0x465
call dword [eax]
mov eax, dword [ebp - 0x2679c]
inc edi
add esi, 4
cmp edi, eax
jne 0x40d850
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
lea eax, [ebp - 0x2f0]
push eax
call fcn.0041b0ea
lea eax, [ebp - 0x2f0]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x308]
push eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.0040bc70
add esp, 0x14
cmp dword [ebp - 0x294], 8
lea eax, [ebp - 0x2a8]
mov byte [ebp - 4], 0xa
cmovae eax, dword [ebp - 0x2a8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40d8f3
cmp dword [ebp - 0x294], 8
lea eax, [ebp - 0x2a8]
cmovae eax, dword [ebp - 0x2a8]
push eax
call fcn.0041a3d0
add esp, 4
lea eax, [ebp - 0x308]
push eax
lea eax, [ebp - 0x2d8]
push eax
call fcn.0041c7c9
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.0041c7c9
mov ecx, eax
add esp, 0x10
cmp dword [ecx + 0x14], 0x10
jb 0x40d92a
mov ecx, dword [ecx]
lea edx, [ebp - 0x968]
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x40d932
mov edx, dword [ebp - 0x264]
cmp edx, 0x10
jb 0x40d979
mov ecx, dword [ebp - 0x278]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40d96f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e209
push edx
push ecx
call fcn.0049020b
add esp, 8
cmp dword [ebp - 0x2c4], 0x10
lea ecx, [ebp - 0x2d8]
lea edx, [ebp - 0x768]
cmovae ecx, dword [ebp - 0x2d8]
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x40d995
lea ecx, [ebp - 0x26798]
call fcn.00418d4b
sub esp, 0x300
mov byte [ebp - 4], 0xc
mov edi, esp
lea esi, [ebp - 0x968]
mov ecx, 0xc0
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x26798]
call fcn.00418dd6
lea ecx, [ebp - 0x26798]
call fcn.00419699
push 0x300
lea eax, [ebp - 0x668]
push 0
push eax
call fcn.004bac70
xorps xmm0, xmm0
mov dword [ebp - 0x368], 0
add esp, 0xc
movups xmmword [ebp - 0x360], xmm0
nop word [eax + eax]
lea ecx, [ebp - 0x26798]
call fcn.004193fa
test eax, eax
je 0x40dab3
lea eax, [ebp - 0x668]
push eax
lea ecx, [ebp - 0x26798]
call fcn.0041916a
movsd xmm0, qword [ebp - 0x358]
xor edi, edi
divsd xmm0, qword [ebp - 0x360]
mov eax, dword [ebp - 0x267a0]
movsd qword [eax + 0x10], xmm0
mov esi, dword [eax + 4]
mulsd xmm0, qword [0x4ea760]
mov eax, dword [eax + 8]
mov ecx, eax
sub ecx, esi
add ecx, 3
shr ecx, 2
cmp esi, eax
cvttsd2si edx, xmm0
cmova ecx, edi
mov dword [ebp - 0x2679c], ecx
mov dword [ebp - 0x267a4], edx
test ecx, ecx
je 0x40daab
mov eax, ecx
mov ecx, dword [esi]
test ecx, ecx
je 0x40daa3
mov eax, dword [ecx]
push edx
push 0
push 0x466
call dword [eax]
mov eax, dword [ebp - 0x2679c]
mov edx, dword [ebp - 0x267a4]
inc edi
add esi, 4
cmp edi, eax
jne 0x40da85
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x26798]
call fcn.00419406
test eax, eax
je 0x40da10
lea eax, [ebp - 0x668]
push eax
lea ecx, [ebp - 0x26798]
call fcn.0041916a
movsd xmm2, qword [ebp - 0x358]
xor edi, edi
movups xmm1, xmmword [ebp - 0x360]
mov eax, dword [ebp - 0x267a0]
movaps xmm0, xmm2
movsd qword [ebp - 0x267b4], xmm2
divsd xmm0, xmm1
movsd qword [eax + 0x10], xmm0
mov esi, dword [eax + 4]
mulsd xmm0, qword [0x4ea760]
mov eax, dword [eax + 8]
mov ecx, eax
sub ecx, esi
add ecx, 3
shr ecx, 2
cmp esi, eax
cvttsd2si edx, xmm0
cmova ecx, edi
mov dword [ebp - 0x2679c], ecx
mov dword [ebp - 0x267a4], edx
test ecx, ecx
je 0x40db6b
mov eax, ecx
mov ecx, dword [esi]
test ecx, ecx
je 0x40db54
mov eax, dword [ecx]
push edx
push 0
push 0x466
call dword [eax]
mov eax, dword [ebp - 0x2679c]
mov edx, dword [ebp - 0x267a4]
inc edi
add esi, 4
cmp edi, eax
jne 0x40db36
movups xmm1, xmmword [ebp - 0x360]
movsd xmm2, qword [ebp - 0x267b4]
ucomisd xmm2, xmm1
lahf
test ah, 0x44
jp 0x40db87
ucomisd xmm2, qword [0x4ea750]
lahf
test ah, 0x44
jp 0x40dc1b
lea eax, [ebp - 0x260]
xor esi, esi
push 0x4e8798
push eax
call fcn.0040bc10
add esp, 8
test al, al
je 0x40df74
sub esp, 0x18
lea eax, [ebp - 0x2a8]
mov ecx, esp
push eax
call fcn.00408460
mov edi, dword [ebp - 0x267a0]
lea eax, [ebp - 0x278]
push eax
mov ecx, edi
call fcn.0040ead0
cmp dword [ebp - 0x24c], 8
lea ecx, [ebp - 0x260]
lea eax, [ebp - 0x278]
cmovae ecx, dword [ebp - 0x260]
cmp dword [ebp - 0x264], 8
push ecx
cmovae eax, dword [ebp - 0x278]
push eax
call fcn.004c1d45
add esp, 8
lea ecx, [ebp - 0x278]
test eax, eax
mov eax, 1
cmove esi, eax
call fcn.00407230
test esi, esi
je 0x40df7a
jmp 0x40dc21
mov edi, dword [ebp - 0x267a0]
mov eax, dword [edi + 8]
xor edx, edx
mov esi, dword [edi + 4]
mov ecx, eax
sub ecx, esi
xor edi, edi
add ecx, 3
shr ecx, 2
cmp esi, eax
cmova ecx, edx
mov dword [ebp - 0x2679c], ecx
test ecx, ecx
je 0x40dc67
mov eax, ecx
mov ecx, dword [esi]
test ecx, ecx
je 0x40dc5f
mov eax, dword [ecx]
push 0x64
push 0
push 0x466
call dword [eax]
mov eax, dword [ebp - 0x2679c]
inc edi
add esi, 4
cmp edi, eax
jne 0x40dc46
xor eax, eax
mov dword [ebp - 0x220], 0
push eax
push 0x4e8798
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.00407d80
mov edi, dword [ebp - 0x2dc]
lea edx, [ebp - 0x2f0]
mov esi, dword [ebp - 0x2e0]
cmp edi, 8
mov byte [ebp - 4], 0xd
cmovae edx, dword [ebp - 0x2f0]
test esi, esi
je 0x40dce3
or ecx, 0xffffffff
lea eax, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0x2e
lea ecx, [edx + ecx*2]
je 0x40dcdd
nop
cmp ecx, edx
je 0x40dce3
sub ecx, 2
cmp word [ecx], 0x2e
jne 0x40dcd0
sub ecx, edx
sar ecx, 1
jmp 0x40dce6
or ecx, 0xffffffff
xor eax, eax
mov dword [ebp - 0x268], 0
cmp esi, ecx
mov word [ebp - 0x278], ax
lea eax, [ebp - 0x2f0]
mov dword [ebp - 0x264], 7
cmovb ecx, esi
cmp edi, 8
push ecx
cmovae eax, dword [ebp - 0x2f0]
lea ecx, [ebp - 0x278]
push eax
call fcn.00407d80
push 4
push 0x4ea724
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 0xe
call fcn.00410290
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x338], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
movq qword [ebp - 0x328], xmm0
mov word [eax], cx
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 0x10
call fcn.00407230
lea eax, [ebp - 0x2c0]
push 0x4e8798
push eax
call fcn.0040bc10
add esp, 8
test al, al
je 0x40ddb2
cmp dword [ebp - 0x2ac], 8
lea eax, [ebp - 0x2c0]
push dword [ebp - 0x2b0]
cmovae eax, dword [ebp - 0x2c0]
lea ecx, [ebp - 0x338]
push eax
call fcn.00407d80
lea eax, [ebp - 0x338]
push eax
lea eax, [ebp - 0x308]
push eax
lea eax, [ebp - 0x350]
push eax
call fcn.0040bc70
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x230]
cmp eax, esi
je 0x40de0c
mov ecx, eax
call fcn.00407230
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x230], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x220], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x350]
call fcn.00407230
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
lea eax, [ebp - 0x2a8]
cmovae ecx, dword [ebp - 0x230]
cmp dword [ebp - 0x294], 8
push ecx
cmovae eax, dword [ebp - 0x2a8]
push eax
call fcn.0041a968
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.0041a91b
add esp, 0xc
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40dee0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.0041bee1
add esp, 4
test eax, eax
je 0x40dee0
cmp dword [ebp - 0x27c], 8
lea ecx, [ebp - 0x290]
lea eax, [ebp - 0x230]
cmovae ecx, dword [ebp - 0x290]
cmp dword [ebp - 0x21c], 8
push ecx
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.0041b46f
add esp, 8
mov eax, dword [ebp - 0x267a0]
xor edx, edx
xor edi, edi
mov esi, dword [eax + 4]
mov eax, dword [eax + 8]
mov ecx, eax
sub ecx, esi
add ecx, 3
shr ecx, 2
cmp esi, eax
cmova ecx, edx
mov dword [ebp - 0x2679c], ecx
test ecx, ecx
je 0x40df31
mov eax, ecx
nop dword [eax + eax]
mov ecx, dword [esi]
test ecx, ecx
je 0x40df29
mov eax, dword [ecx]
push 0
push 0
push 0x469
call dword [eax]
mov eax, dword [ebp - 0x2679c]
inc edi
add esi, 4
cmp edi, eax
jne 0x40df10
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x338]
call fcn.00407230
lea ecx, [ebp - 0x230]
call fcn.00407230
mov esi, 1
jmp 0x40dfd3
mov edi, dword [ebp - 0x267a0]
movsd xmm0, qword [0x4ea758]
xor edx, edx
movsd qword [edi + 0x10], xmm0
mov eax, dword [edi + 8]
mov ecx, eax
mov esi, dword [edi + 4]
sub ecx, esi
add ecx, 3
xor edi, edi
shr ecx, 2
cmp esi, eax
cmova ecx, edx
mov dword [ebp - 0x2679c], ecx
test ecx, ecx
je 0x40dfd1
mov eax, ecx
nop dword [eax]
mov ecx, dword [esi]
test ecx, ecx
je 0x40dfc9
mov eax, dword [ecx]
push 0x64
push 0
push 0x467
call dword [eax]
mov eax, dword [ebp - 0x2679c]
inc edi
add esi, 4
cmp edi, eax
jne 0x40dfb0
xor esi, esi
lea ecx, [ebp - 0x26798]
call fcn.00407080
mov edx, dword [ebp - 0x2c4]
cmp edx, 0x10
jb 0x40e018
mov ecx, dword [ebp - 0x2d8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e00e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e20e
push edx
push ecx
call fcn.0049020b
add esp, 8
lea ecx, [ebp - 0x2a8]
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x2c4], 0xf
mov byte [ebp - 0x2d8], 0
call fcn.00407230
lea ecx, [ebp - 0x2f0]
call fcn.00407230
lea ecx, [ebp - 0x308]
call fcn.00407230
mov edx, dword [ebp - 0x24c]
cmp edx, 8
jb 0x40e094
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e08a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e213
push edx
push ecx
call fcn.0049020b
add esp, 8
mov edx, dword [ebp - 0x27c]
xor eax, eax
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
cmp edx, 8
jb 0x40e0f1
mov ecx, dword [ebp - 0x290]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e0e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e218
push edx
push ecx
call fcn.0049020b
add esp, 8
mov edx, dword [ebp - 0x2ac]
xor eax, eax
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 7
mov word [ebp - 0x290], ax
cmp edx, 8
jb 0x40e14e
mov ecx, dword [ebp - 0x2c0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e144
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e21d
push edx
push ecx
call fcn.0049020b
add esp, 8
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x40e18e
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e184
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e222
push edx
push ecx
call fcn.0049020b
add esp, 8
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
lea ecx, [ebp - 0x26830]
call fcn.00419b0c
mov edx, dword [ebp - 0x30c]
cmp edx, 0x10
jb 0x40e1ec
mov ecx, dword [ebp - 0x320]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e1e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e227
push edx
push ecx
call fcn.0049020b
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00490604
mov esp, ebp
pop ebp
ret
call fcn.004be769
call fcn.004be769
call fcn.004be769
call fcn.004be769
call fcn.004be769
call fcn.004be769
call fcn.004be769
int3