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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513e55
mov eax, dword fs:[0]
push eax
sub esp, 0x32c
mov eax, dword [0x57d074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x308], esi
mov eax, ecx
mov dword [ebp - 0x314], eax
mov dword [ebp - 0x30c], eax
mov dword [ebp - 0x334], eax
lea ecx, [ebp - 0x278]
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x310], eax
mov dword [ebp - 0x304], ebx
call fcn.0046b440
mov dword [ebp - 4], 1
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x278]
call fcn.0046d3b0
mov byte [ebp - 4], 2
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x46baed
mov ecx, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x46baf5
mov eax, dword [eax]
lea edx, [ebp - 0x218]
push edx
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x24c]
cmp eax, 8
jb 0x46bb75
lea edx, [eax + 1]
mov eax, dword [ebp - 0x260]
mov ecx, eax
cmp edx, 0x7fffffff
ja 0x46c8ca
add edx, edx
cmp edx, 0x1000
jb 0x46bb6b
lea esi, [edx + 0x23]
cmp esi, edx
jbe 0x46c8ca
mov edx, esi
test cl, 0x1f
jne 0x46c8ca
mov eax, dword [eax - 4]
cmp eax, ecx
jae 0x46c8ca
sub ecx, eax
cmp ecx, 4
jb 0x46c8ca
cmp ecx, 0x23
ja 0x46c8ca
push edx
push eax
call fcn.004dadb5
add esp, 8
xor eax, eax
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x24c], 7
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
sub esp, 0x18
xor eax, eax
mov edi, esp
mov dword [ebp - 0x30c], esp
lea esi, [edi + 0x10]
mov dword [esi], 0
mov dword [ebp - 0x300], esi
mov dword [edi + 0x14], 7
mov word [edi], ax
lea eax, [ebp - 0x218]
push eax
call fcn.004e07a4
mov ecx, dword [edi + 0x14]
add esp, 4
mov dword [ebp - 0x2f8], eax
mov dword [ebp - 0x2fc], ecx
cmp eax, ecx
ja 0x46bc0f
cmp ecx, 8
jb 0x46bbee
mov edi, dword [edi]
mov dword [esi], eax
lea esi, [eax + eax]
push esi
lea eax, [ebp - 0x218]
push eax
push edi
call fcn.004dc330
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
jmp 0x46bd44
cmp eax, 0x7ffffffe
ja 0x46c8cf
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x46bc2e
mov esi, 0x7ffffffe
jmp 0x46bc4c
mov edx, ecx
mov eax, 0x7ffffffe
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x46bc44
mov esi, 0x7ffffffe
jmp 0x46bc4c
lea eax, [ecx + edx]
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
test eax, eax
jne 0x46bc5d
xor ecx, ecx
mov dword [ebp - 0x2f4], ecx
jmp 0x46bca7
cmp eax, 0x7fffffff
ja 0x46c8d4
add eax, eax
cmp eax, 0x1000
jb 0x46bc96
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x46c8d9
push ecx
call fcn.004da6a7
add esp, 4
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ebp - 0x2f4], ecx
mov dword [ecx - 4], eax
jmp 0x46bca7
push eax
call fcn.004da6a7
add esp, 4
mov dword [ebp - 0x2f4], eax
mov ecx, eax
mov eax, dword [ebp - 0x2f8]
mov edx, dword [ebp - 0x300]
mov dword [edi + 0x14], esi
lea esi, [eax + eax]
mov dword [edx], eax
lea eax, [ebp - 0x218]
push esi
push eax
push ecx
call fcn.004dbdb0
mov eax, dword [ebp - 0x2f4]
xor ecx, ecx
add esp, 0xc
mov word [eax + esi], cx
mov ecx, dword [ebp - 0x2fc]
cmp ecx, 8
jb 0x46bd42
mov eax, dword [edi]
inc ecx
cmp ecx, 0x7fffffff
ja 0x46c8ca
add ecx, ecx
cmp ecx, 0x1000
jb 0x46bd32
lea edx, [ecx + 0x23]
cmp edx, ecx
jbe 0x46c8ca
mov ecx, edx
test al, 0x1f
jne 0x46c8ca
mov edx, dword [eax - 4]
cmp edx, eax
jae 0x46c8ca
sub eax, edx
cmp eax, 4
jb 0x46c8ca
cmp eax, 0x23
ja 0x46c8ca
mov eax, edx
push ecx
push eax
call fcn.004dadb5
mov eax, dword [ebp - 0x2f4]
add esp, 8
mov dword [edi], eax
mov byte [ebp - 4], 3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.0046a490
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x310]
cmp dword [eax + 0x10], 0
jne 0x46be4d
mov edi, dword [ebp - 0x314]
lea eax, [ebp - 0x248]
push 0x18
push eax
push edi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.004dbdb0
add esp, 0xc
mov dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov byte [ebp - 4], 4
mov dword [ebp - 0x304], 1
mov byte [ebp - 4], 1
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x264]
cmp eax, 8
jb 0x46c893
mov ecx, dword [ebp - 0x278]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x7fffffff
ja 0x46c8ca
add edx, edx
cmp edx, 0x1000
jb 0x46be3e
lea esi, [edx + 0x23]
cmp esi, edx
jbe 0x46c8ca
mov edx, esi
test al, 0x1f
jne 0x46c8ca
mov ecx, dword [ecx - 4]
cmp ecx, eax
jae 0x46c8ca
sub eax, ecx
cmp eax, 4
jb 0x46c8ca
cmp eax, 0x23
ja 0x46c8ca
push edx
push ecx
call fcn.004dadb5
add esp, 8
jmp 0x46c893
push eax
lea ecx, [ebp - 0x248]
call fcn.0046a7c0
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x248]
call fcn.0046d3b0
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 8
jb 0x46be77
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x24c]
cmp ecx, 8
jb 0x46beef
mov edx, dword [ebp - 0x260]
lea esi, [ecx + 1]
mov ecx, edx
cmp esi, 0x7fffffff
ja 0x46c8ca
add esi, esi
cmp esi, 0x1000
jb 0x46bee5
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x46c8ca
mov esi, eax
test cl, 0x1f
jne 0x46c8ca
mov edx, dword [edx - 4]
cmp edx, ecx
jae 0x46c8ca
sub ecx, edx
cmp ecx, 4
jb 0x46c8ca
cmp ecx, 0x23
ja 0x46c8ca
push esi
push edx
call fcn.004dadb5
add esp, 8
xor eax, eax
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
test edi, edi
je 0x46c806
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x248]
call fcn.0046a750
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x2a8]
mov ecx, dword [ebp - 0x308]
push 3
push 0
push eax
call fcn.0041c8dd
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x2d8]
push 0xffffffffffffffff
push dword [ebp - 0x298]
lea ecx, [ebp - 0x260]
push eax
call fcn.0041c8dd
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0x2f4]
lea ecx, [ebp - 0x2d8]
mov dword [ebp - 0x2f4], 0
call fcn.0045eb80
mov eax, dword [ebp - 0x2f4]
xor ecx, ecx
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 7
mov word [ebp - 0x290], cx
mov byte [ebp - 4], 0xf
inc eax
push ecx
lea edx, [ebp - 0x290]
mov dword [ebp - 0x30c], eax
mov ecx, eax
call fcn.0045ea40
add esp, 4
mov byte [ebp - 4], 0x10
xor eax, eax
mov word [ebp - 0x230], ax
lea ecx, [ebp - 0x230]
or ebx, 4
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x304], ebx
mov eax, dword [ebp - 0x280]
add eax, dword [ebp - 0x298]
mov dword [ebp - 0x21c], 0
push eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
call fcn.004056eb
cmp dword [ebp - 0x294], 8
lea edx, [ebp - 0x2a8]
mov edi, dword [ebp - 0x21c]
mov eax, edi
cmovae edx, dword [ebp - 0x2a8]
mov ecx, dword [ebp - 0x220]
sub eax, ecx
mov ebx, dword [ebp - 0x298]
mov dword [ebp - 0x308], edx
mov dword [ebp - 0x300], ebx
mov dword [ebp - 0x2f4], ecx
cmp ebx, eax
ja 0x46c0a9
lea eax, [ecx + ebx]
cmp edi, 8
mov dword [ebp - 0x220], eax
lea esi, [ebp - 0x230]
cmovae esi, dword [ebp - 0x230]
lea eax, [ebx + ebx]
push eax
push edx
lea eax, [esi + ecx*2]
push eax
call fcn.004dc330
mov eax, dword [ebp - 0x2f4]
add esp, 0xc
add eax, ebx
xor ecx, ecx
mov word [esi + eax*2], cx
mov ebx, dword [ebp - 0x230]
jmp 0x46c24b
mov edx, 0x7ffffffe
mov eax, edx
sub eax, ecx
cmp eax, ebx
jb 0x46c8cf
lea eax, [ebx + ecx]
mov esi, eax
mov dword [ebp - 0x2f8], eax
or esi, 7
cmp esi, edx
jbe 0x46c0d0
mov esi, edx
jmp 0x46c0e8
mov ecx, edi
mov eax, edx
shr ecx, 1
sub eax, ecx
cmp edi, eax
jbe 0x46c0e0
mov esi, edx
jmp 0x46c0e8
lea eax, [ecx + edi]
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
test eax, eax
jne 0x46c0f3
xor ebx, ebx
jmp 0x46c131
cmp eax, 0x7fffffff
ja 0x46c8d4
add eax, eax
cmp eax, 0x1000
jb 0x46c126
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x46c8d4
push ecx
call fcn.004da6a7
add esp, 4
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x46c131
push eax
call fcn.004da6a7
add esp, 4
mov ebx, eax
mov eax, dword [ebp - 0x2f8]
mov ecx, dword [ebp - 0x2f4]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x300]
mov dword [ebp - 0x21c], esi
lea edx, [ecx + ecx]
push edx
lea esi, [eax + eax]
add eax, ecx
mov dword [ebp - 0x2f4], esi
lea esi, [edx + ebx]
mov dword [ebp - 0x2fc], esi
mov esi, dword [ebp - 0x2f4]
lea eax, [ebx + eax*2]
mov dword [ebp - 0x300], eax
cmp edi, 8
jb 0x46c215
mov esi, dword [ebp - 0x230]
push esi
push ebx
mov dword [ebp - 0x2f8], esi
call fcn.004dbdb0
add esp, 0xc
push dword [ebp - 0x2f4]
push dword [ebp - 0x308]
push dword [ebp - 0x2fc]
call fcn.004dbdb0
mov eax, dword [ebp - 0x300]
xor ecx, ecx
add esp, 0xc
mov word [eax], cx
lea ecx, [edi + 1]
cmp ecx, 0x7fffffff
ja 0x46c8ca
add ecx, ecx
cmp ecx, 0x1000
jb 0x46c209
lea eax, [ecx + 0x23]
cmp eax, ecx
jbe 0x46c8ca
mov ecx, eax
mov eax, esi
test al, 0x1f
jne 0x46c8ca
mov esi, dword [eax - 4]
cmp esi, eax
jae 0x46c8ca
sub eax, esi
cmp eax, 4
jb 0x46c8ca
cmp eax, 0x23
ja 0x46c8ca
push ecx
push esi
call fcn.004dadb5
add esp, 8
jmp 0x46c245
lea eax, [ebp - 0x230]
push eax
push ebx
call fcn.004dbdb0
add esp, 0xc
push esi
push dword [ebp - 0x308]
push dword [ebp - 0x2fc]
call fcn.004dbdb0
mov eax, dword [ebp - 0x300]
add esp, 0xc
xor ecx, ecx
mov word [eax], cx
mov dword [ebp - 0x230], ebx
cmp dword [ebp - 0x27c], 8
lea edx, [ebp - 0x290]
mov esi, dword [ebp - 0x21c]
mov eax, esi
cmovae edx, dword [ebp - 0x290]
mov ecx, dword [ebp - 0x220]
sub eax, ecx
mov edi, dword [ebp - 0x280]
mov dword [ebp - 0x308], edx
mov dword [ebp - 0x2fc], edi
mov dword [ebp - 0x2f4], ecx
mov dword [ebp - 0x300], esi
cmp edi, eax
ja 0x46c2ce
cmp dword [ebp - 0x300], 8
lea eax, [ecx + edi]
mov dword [ebp - 0x220], eax
lea esi, [ebp - 0x230]
cmovae esi, ebx
lea eax, [edi + edi]
push eax
push edx
lea eax, [esi + ecx*2]
push eax
call fcn.004dc330
mov eax, dword [ebp - 0x2f4]
add esp, 0xc
add eax, edi
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x46c479
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, edi
jb 0x46c8cf
lea eax, [ecx + edi]
mov edi, eax
mov dword [ebp - 0x2f8], eax
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x46c2fa
mov edi, 0x7ffffffe
jmp 0x46c318
mov edx, esi
mov eax, 0x7ffffffe
shr edx, 1
sub eax, edx
cmp esi, eax
jbe 0x46c310
mov edi, 0x7ffffffe
jmp 0x46c318
lea eax, [edx + esi]
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
test eax, eax
jne 0x46c323
xor esi, esi
jmp 0x46c36d
cmp eax, 0x7fffffff
ja 0x46c8d4
add eax, eax
cmp eax, 0x1000
jb 0x46c356
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x46c8d4
push ecx
call fcn.004da6a7
add esp, 4
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x46c361
push eax
call fcn.004da6a7
add esp, 4
mov esi, eax
mov ecx, dword [ebp - 0x2f4]
mov ebx, dword [ebp - 0x230]
mov eax, dword [ebp - 0x2f8]
lea edx, [ecx + ecx]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x2fc]
mov dword [ebp - 0x21c], edi
push edx
lea edi, [eax + eax]
add eax, ecx
mov dword [ebp - 0x2fc], edi
lea edi, [edx + esi]
mov dword [ebp - 0x2f4], edi
mov edi, dword [ebp - 0x300]
lea eax, [esi + eax*2]
mov dword [ebp - 0x2f8], eax
cmp edi, 8
jb 0x46c43e
push ebx
push esi
call fcn.004dbdb0
add esp, 0xc
push dword [ebp - 0x2fc]
push dword [ebp - 0x308]
push dword [ebp - 0x2f4]
call fcn.004dbdb0
mov eax, dword [ebp - 0x2f8]
xor ecx, ecx
add esp, 0xc
mov word [eax], cx
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x46c8ca
add eax, eax
cmp eax, 0x1000
jb 0x46c432
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x46c8ca
mov eax, ecx
test bl, 0x1f
jne 0x46c8ca
mov ecx, dword [ebx - 4]
cmp ecx, ebx
jae 0x46c8ca
sub ebx, ecx
cmp ebx, 4
jb 0x46c8ca
cmp ebx, 0x23
ja 0x46c8ca
mov ebx, ecx
push eax
push ebx
call fcn.004dadb5
add esp, 8
jmp 0x46c473
lea eax, [ebp - 0x230]
push eax
push esi
call fcn.004dbdb0
add esp, 0xc
push dword [ebp - 0x2fc]
push dword [ebp - 0x308]
push dword [ebp - 0x2f4]
call fcn.004dbdb0
mov eax, dword [ebp - 0x2f8]
add esp, 0xc
xor ecx, ecx
mov word [eax], cx
mov dword [ebp - 0x230], esi
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x278]
call fcn.0042f846
cmp dword [ebp - 0x264], 8
lea ebx, [ebp - 0x278]
mov edi, dword [ebp - 0x268]
lea eax, [ebp - 0x330]
cmovae ebx, dword [ebp - 0x278]
mov dword [ebp - 0x2f8], eax
mov dword [ebp - 0x320], 0
mov dword [ebp - 0x31c], 0
cmp edi, 8
jae 0x46c4e3
push 0x10
push ebx
push eax
call fcn.004dbdb0
mov dword [ebp - 0x31c], 7
jmp 0x46c521
mov esi, edi
mov eax, 0x7ffffffe
or esi, 7
cmp esi, 0x7ffffffe
push 2
cmova esi, eax
push 2
lea eax, [esi + 1]
push eax
call fcn.00405483
add esp, 0xc
mov dword [ebp - 0x330], eax
lea ecx, [edi*2 + 2]
push ecx
push ebx
push eax
call fcn.004dbdb0
mov dword [ebp - 0x31c], esi
mov dword [ebp - 0x320], edi
add esp, 0xc
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x330]
push 0x18
push eax
lea eax, [ebp - 0x2c0]
mov dword [ebp - 0x2b0], 0
push eax
mov dword [ebp - 0x2ac], 0
call fcn.004dbdb0
xor eax, eax
mov dword [ebp - 0x320], 0
add esp, 0xc
mov dword [ebp - 0x31c], 7
mov word [ebp - 0x330], ax
mov byte [ebp - 4], 0x11
mov ebx, dword [ebp - 0x304]
or ebx, 8
mov dword [ebp - 0x320], eax
mov word [ebp - 0x330], ax
mov dword [ebp - 0x304], ebx
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x31c], 7
cmp eax, 8
jb 0x46c5c0
push 2
inc eax
push 2
push eax
push dword [ebp - 0x248]
call fcn.004055f7
add esp, 0x10
xor eax, eax
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
lea eax, [ebp - 0x2c0]
push 0x18
push eax
lea eax, [ebp - 0x248]
mov dword [ebp - 0x234], 7
push eax
call fcn.004dbdb0
xor eax, eax
mov dword [ebp - 0x2b0], 0
and ebx, 0xfffffff7
mov dword [ebp - 0x2ac], 7
add esp, 0xc
mov word [ebp - 0x2c0], ax
mov dword [ebp - 0x304], ebx
mov byte [ebp - 4], 0x10
and ebx, 0xfffffffb
mov dword [ebp - 0x2b0], eax
mov dword [ebp - 0x2ac], 7
mov word [ebp - 0x2c0], ax
mov dword [ebp - 0x304], ebx
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x46c662
push 2
inc eax
push 2
push eax
push dword [ebp - 0x230]
call fcn.004055f7
add esp, 0x10
push dword [ebp - 0x310]
xor eax, eax
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.0046ab70
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x27c]
cmp eax, 8
jb 0x46c6b3
push 2
inc eax
push 2
push eax
push dword [ebp - 0x290]
call fcn.004055f7
add esp, 0x10
xor eax, eax
mov dword [ebp - 0x280], 0
mov word [ebp - 0x290], ax
lea ecx, [ebp - 0x248]
lea eax, [ebp - 0x2f0]
mov dword [ebp - 0x27c], 7
push eax
call fcn.0046d3b0
mov byte [ebp - 4], 0x19
cmp dword [eax + 0x14], 8
jb 0x46c6ee
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x2dc]
cmp ecx, 8
jb 0x46c71a
push 2
inc ecx
push 2
push ecx
push dword [ebp - 0x2f0]
call fcn.004055f7
add esp, 0x10
xor eax, eax
mov dword [ebp - 0x2e0], 0
mov dword [ebp - 0x2dc], 7
mov word [ebp - 0x2f0], ax
test esi, esi
je 0x46c746
mov eax, dword [ebp - 0x30c]
jmp 0x46bf83
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x2c4]
cmp eax, 8
jb 0x46c769
push 2
inc eax
push 2
push eax
push dword [ebp - 0x2d8]
call fcn.004055f7
add esp, 0x10
xor eax, eax
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x2c4], 7
mov word [ebp - 0x2d8], ax
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x294]
cmp eax, 8
jb 0x46c7a9
push 2
inc eax
push 2
push eax
push dword [ebp - 0x2a8]
call fcn.004055f7
add esp, 0x10
xor eax, eax
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 7
mov word [ebp - 0x2a8], ax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x24c]
cmp eax, 8
jb 0x46c7e9
push 2
inc eax
push 2
push eax
push dword [ebp - 0x260]
call fcn.004055f7
add esp, 0x10
xor eax, eax
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
mov edi, dword [ebp - 0x314]
lea eax, [ebp - 0x248]
push 0x18
push eax
push edi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.004dbdb0
xor eax, eax
mov dword [ebp - 0x238], 0
add esp, 0xc
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov byte [ebp - 4], 4
or ebx, 1
mov dword [ebp - 0x304], ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x264]
cmp eax, 8
jb 0x46c893
push 2
push 2
inc eax
push eax
push dword [ebp - 0x278]
call fcn.004055f7
add esp, 0x10
xor eax, eax
mov dword [ebp - 0x264], 7
mov dword [ebp - 0x268], eax
mov word [ebp - 0x278], ax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004da696
mov esp, ebp
pop ebp
ret
call fcn.004e0754
call fcn.0040537b
call fcn.0040547e
call fcn.0040547e
int3