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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509c0f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x348
mov eax, dword [0x546330]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x344], edi
mov esi, dword [ebx + 8]
lea eax, [edi + 4]
mov dword [ebp - 0x354], edi
xorps xmm0, xmm0
push 0xe
movups xmmword [eax], xmm0
push str.GeeksUninstPro
mov ecx, eax
mov dword [ebp - 0x34c], eax
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
call fcn.00405590
lea ecx, [edi + 0x1c]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push 9
movups xmmword [ecx], xmm0
push str.Geeks
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00405590
lea ecx, [edi + 0x34]
mov byte [ebp - 4], 1
push esi
call fcn.004051b0
lea ecx, [edi + 0x4c]
mov byte [ebp - 4], 2
xorps xmm0, xmm0
push 0xe
movups xmmword [ecx], xmm0
push str.GeeksUninstPro
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00405590
mov byte [ebp - 4], 3
lea esi, [edi + 0x68]
mov dword [edi + 0x64], reloc.OLEAUT32.dll_SysReAllocString
xorps xmm0, xmm0
push 0x17
movups xmmword [esi], xmm0
push str.SOFTWAREGeeksUninstPro
mov ecx, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00405590
lea ecx, [edi + 0x80]
mov byte [ebp - 4], 4
xorps xmm0, xmm0
push 0x12
movups xmmword [ecx], xmm0
push str.GeeksUninstPro.exe
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00405590
lea ecx, [edi + 0x98]
mov byte [ebp - 4], 5
xorps xmm0, xmm0
push 0xd
movups xmmword [ecx], xmm0
push str.Uninstall.exe
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00405590
xorps xmm0, xmm0
xor eax, eax
movups xmmword [edi + 0xb4], xmm0
mov dword [edi + 0xc4], 0
mov dword [edi + 0xc8], 7
mov word [edi + 0xb4], ax
movups xmmword [edi + 0xcc], xmm0
mov dword [edi + 0xdc], eax
mov dword [edi + 0xe0], 7
mov word [edi + 0xcc], ax
movups xmmword [edi + 0xe4], xmm0
mov dword [edi + 0xf4], eax
mov dword [edi + 0xf8], 7
mov word [edi + 0xe4], ax
movups xmmword [edi + 0xfc], xmm0
mov dword [edi + 0x10c], eax
mov dword [edi + 0x110], 7
mov word [edi + 0xfc], ax
movups xmmword [edi + 0x114], xmm0
mov dword [edi + 0x124], eax
mov dword [edi + 0x128], 7
mov word [edi + 0x114], ax
movups xmmword [edi + 0x12c], xmm0
mov dword [edi + 0x13c], eax
mov dword [edi + 0x140], 7
mov word [edi + 0x12c], ax
movups xmmword [edi + 0x144], xmm0
mov dword [edi + 0x154], eax
mov dword [edi + 0x158], 7
mov word [edi + 0x144], ax
movups xmmword [edi + 0x15c], xmm0
mov dword [edi + 0x16c], eax
mov dword [edi + 0x170], 7
mov word [edi + 0x15c], ax
movups xmmword [edi + 0x174], xmm0
mov dword [edi + 0x184], eax
mov dword [edi + 0x188], 7
mov word [edi + 0x174], ax
movq qword [edi + 0x18c], xmm0
mov dword [edi + 0x194], eax
mov dword [edi + 0x1bc], eax
mov byte [ebp - 4], 0x11
mov eax, SysReAllocString
mov ecx, dword [esi + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x40f908
cmp dword [esi + 0x14], 8
jb 0x40ee19
mov esi, dword [esi]
push 1
push 0x533a50
push ecx
push esi
push ecx
push dword [ebp - 0x354]
lea ecx, [ebp - 0x2d0]
call fcn.00414940
mov byte [ebp - 4], 0x12
lea ecx, [edi + 4]
cmp dword [ecx + 0x14], 8
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x344], edx
jb 0x40ee52
mov ecx, dword [ecx]
mov dword [ebp - 0x34c], ecx
mov esi, dword [ebp - 0x2c0]
mov eax, dword [ebp - 0x2bc]
sub eax, esi
mov dword [ebp - 0x350], esi
cmp edx, eax
ja 0x40eebd
cmp dword [ebp - 0x2bc], 8
lea eax, [esi + edx]
mov dword [ebp - 0x2c0], eax
lea esi, [ebp - 0x2d0]
cmovae esi, dword [ebp - 0x2d0]
mov eax, dword [ebp - 0x350]
lea ecx, [esi + eax*2]
lea eax, [edx + edx]
push eax
push dword [ebp - 0x34c]
push ecx
call fcn.004e2000
mov eax, dword [ebp - 0x344]
add esp, 0xc
add eax, dword [ebp - 0x350]
xor ecx, ecx
mov word [esi + eax*2], cx
lea eax, [ebp - 0x2d0]
jmp 0x40eed1
push edx
push ecx
push dword [ebp - 0x354]
lea ecx, [ebp - 0x2d0]
push edx
call fcn.00409c20
movups xmm0, xmmword [eax]
lea esi, [edi + 0xb4]
xor ecx, ecx
movq xmm1, qword [eax + 0x10]
movups xmmword [ebp - 0x328], xmm0
movups xmmword [ebp - 0x340], xmm0
movq qword [ebp - 0x348], xmm1
movq qword [ebp - 0x330], xmm1
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x340]
cmp esi, eax
je 0x40ef88
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x40ef62
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x40ef49
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f90d
mov eax, edx
push ecx
push eax
call fcn.004bd6ef
movups xmm0, xmmword [ebp - 0x328]
add esp, 8
movq xmm1, qword [ebp - 0x348]
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 7
mov ecx, 7
movups xmmword [esi], xmm0
mov word [ebp - 0x340], ax
movq qword [esi + 0x10], xmm1
jmp 0x40ef8e
mov ecx, dword [ebp - 0x32c]
cmp ecx, 8
jb 0x40efc8
mov edx, dword [ebp - 0x340]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40efbe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f90d
push ecx
push edx
call fcn.004bd6ef
add esp, 8
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x2bc]
cmp ecx, 8
jb 0x40f00c
mov edx, dword [ebp - 0x2d0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f002
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f90d
push ecx
push edx
call fcn.004bd6ef
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x2f0], 0
xor eax, eax
mov dword [ebp - 0x2ec], 7
movups xmmword [ebp - 0x300], xmm0
mov word [ebp - 0x300], ax
lea edx, [ebp - 0x300]
mov byte [ebp - 4], 0x13
lea ecx, [eax + 0x10]
call fcn.00414010
test al, al
je 0x40f124
lea eax, [edi + 4]
push eax
lea edx, [ebp - 0x300]
lea ecx, [ebp - 0x2b8]
call fcn.004140d0
lea esi, [edi + 0x144]
mov dword [ebp - 0x344], eax
add esp, 4
cmp esi, eax
je 0x40f0e4
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x40f0b4
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x40f0a4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f912
mov eax, edx
push ecx
push eax
call fcn.004bd6ef
mov eax, dword [ebp - 0x344]
add esp, 8
mov dword [esi + 0x10], 0
xor ecx, ecx
mov dword [esi + 0x14], 7
mov word [esi], cx
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x2a4]
cmp ecx, 8
jb 0x40f124
mov edx, dword [ebp - 0x2b8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f11a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f912
push ecx
push edx
call fcn.004bd6ef
add esp, 8
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
push 0x80
lea eax, [ebp - 0x98]
push 0
push eax
call fcn.004e2580
add esp, 0xc
lea eax, [ebp - 0x98]
push 0x40
push eax
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
xorps xmm0, xmm0
mov dword [ebp - 0x308], 0
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x304], 0
movups xmmword [ebp - 0x318], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f184
sub ecx, edx
lea eax, [ebp - 0x98]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x318]
call fcn.00405590
push 0x208
lea eax, [ebp - 0x2a0]
mov byte [ebp - 4], 0x14
push 0
push eax
call fcn.004e2580
add esp, 0xc
lea eax, [ebp - 0x2a0]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xorps xmm0, xmm0
mov dword [ebp - 0x2c0], 0
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x2bc], 0
movups xmmword [ebp - 0x2d0], xmm0
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f200
sub ecx, edx
lea eax, [ebp - 0x2a0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2d0]
call fcn.00405590
lea eax, [ebp - 0x318]
mov byte [ebp - 4], 0x15
push eax
lea edx, [ebp - 0x2d0]
lea ecx, [ebp - 0x2b8]
call fcn.004140d0
lea esi, [edi + 0xe4]
mov dword [ebp - 0x344], eax
add esp, 4
cmp esi, eax
je 0x40f2c0
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x40f290
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x40f280
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f917
mov eax, edx
push ecx
push eax
call fcn.004bd6ef
mov eax, dword [ebp - 0x344]
add esp, 8
mov dword [esi + 0x10], 0
xor ecx, ecx
mov dword [esi + 0x14], 7
mov word [esi], cx
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x2a4]
cmp ecx, 8
jb 0x40f300
mov edx, dword [ebp - 0x2b8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f2f6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f917
push ecx
push edx
call fcn.004bd6ef
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x2bc]
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 7
mov word [ebp - 0x2b8], ax
cmp ecx, 8
jb 0x40f361
mov edx, dword [ebp - 0x2d0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f357
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f917
push ecx
push edx
call fcn.004bd6ef
add esp, 8
push str.setup.7z
mov edx, esi
lea ecx, [ebp - 0x2b8]
call fcn.00414420
mov ecx, eax
add esp, 4
lea eax, [edi + 0xfc]
mov dword [ebp - 0x344], ecx
cmp eax, ecx
je 0x40f3ff
mov edx, dword [eax + 0x14]
cmp edx, 8
jb 0x40f3cd
mov eax, dword [eax]
lea ecx, [edx*2 + 2]
cmp ecx, 0x1000
jb 0x40f3b7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f91c
mov eax, edx
push ecx
push eax
call fcn.004bd6ef
mov ecx, dword [ebp - 0x344]
lea eax, [edi + 0xfc]
add esp, 8
mov dword [eax + 0x10], 0
xor edx, edx
mov dword [eax + 0x14], 7
mov word [eax], dx
movups xmm0, xmmword [ecx]
movups xmmword [eax], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x14], 7
mov word [ecx], ax
mov ecx, dword [ebp - 0x2a4]
cmp ecx, 8
jb 0x40f43f
mov edx, dword [ebp - 0x2b8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f435
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f91c
push ecx
push edx
call fcn.004bd6ef
add esp, 8
push 0x533e94
mov edx, esi
lea ecx, [ebp - 0x2b8]
call fcn.00414420
mov ecx, eax
add esp, 4
lea eax, [edi + 0x114]
mov dword [ebp - 0x344], ecx
cmp eax, ecx
je 0x40f4dd
mov edx, dword [eax + 0x14]
cmp edx, 8
jb 0x40f4ab
mov eax, dword [eax]
lea ecx, [edx*2 + 2]
cmp ecx, 0x1000
jb 0x40f495
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f921
mov eax, edx
push ecx
push eax
call fcn.004bd6ef
mov ecx, dword [ebp - 0x344]
lea eax, [edi + 0x114]
add esp, 8
mov dword [eax + 0x10], 0
xor edx, edx
mov dword [eax + 0x14], 7
mov word [eax], dx
movups xmm0, xmmword [ecx]
movups xmmword [eax], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x14], 7
mov word [ecx], ax
mov ecx, dword [ebp - 0x2a4]
cmp ecx, 8
jb 0x40f51d
mov edx, dword [ebp - 0x2b8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f513
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f921
push ecx
push edx
call fcn.004bd6ef
add esp, 8
push str.Client7z.dll
mov edx, esi
lea ecx, [ebp - 0x2b8]
call fcn.00414420
lea esi, [edi + 0x12c]
mov dword [ebp - 0x344], eax
add esp, 4
cmp esi, eax
je 0x40f5b1
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x40f581
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x40f571
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f926
mov eax, edx
push ecx
push eax
call fcn.004bd6ef
mov eax, dword [ebp - 0x344]
add esp, 8
mov dword [esi + 0x10], 0
xor ecx, ecx
mov dword [esi + 0x14], 7
mov word [esi], cx
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x2a4]
cmp ecx, 8
jb 0x40f5f1
mov edx, dword [ebp - 0x2b8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f5e7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f926
push ecx
push edx
call fcn.004bd6ef
add esp, 8
lea eax, [edi + 0x80]
lea edx, [edi + 0x34]
push eax
lea ecx, [ebp - 0x2b8]
call fcn.004140d0
lea esi, [edi + 0x15c]
mov dword [ebp - 0x344], eax
add esp, 4
cmp esi, eax
je 0x40f688
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x40f658
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x40f648
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f92b
mov eax, edx
push ecx
push eax
call fcn.004bd6ef
mov eax, dword [ebp - 0x344]
add esp, 8
mov dword [esi + 0x10], 0
xor ecx, ecx
mov dword [esi + 0x14], 7
mov word [esi], cx
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x2a4]
cmp ecx, 8
jb 0x40f6c8
mov edx, dword [ebp - 0x2b8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f6be
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f92b
push ecx
push edx
call fcn.004bd6ef
add esp, 8
lea eax, [edi + 0x98]
push eax
lea edx, [edi + 0x34]
lea ecx, [ebp - 0x2b8]
call fcn.004140d0
mov ecx, eax
add esp, 4
lea eax, [edi + 0x174]
mov dword [ebp - 0x344], ecx
cmp eax, ecx
je 0x40f769
mov edx, dword [eax + 0x14]
cmp edx, 8
jb 0x40f737
mov eax, dword [eax]
lea ecx, [edx*2 + 2]
cmp ecx, 0x1000
jb 0x40f721
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f930
mov eax, edx
push ecx
push eax
call fcn.004bd6ef
mov ecx, dword [ebp - 0x344]
lea eax, [edi + 0x174]
add esp, 8
mov dword [eax + 0x10], 0
xor edx, edx
mov dword [eax + 0x14], 7
mov word [eax], dx
movups xmm0, xmmword [ecx]
movups xmmword [eax], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x14], 7
mov word [ecx], ax
mov ecx, dword [ebp - 0x2a4]
cmp ecx, 8
jb 0x40f7a9
mov edx, dword [ebp - 0x2b8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f79f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f930
push ecx
push edx
call fcn.004bd6ef
add esp, 8
push str.app.icon
lea edx, [edi + 0x34]
lea ecx, [ebp - 0x2e8]
call fcn.00414420
add esp, 4
mov byte [ebp - 4], 0x16
cmp dword [ebp - 0x2d8], 0
je 0x40f7f1
cmp dword [ebp - 0x2d4], 8
lea eax, [ebp - 0x2e8]
cmovae eax, dword [ebp - 0x2e8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40f7f1
lea esi, [ebp - 0x2e8]
lea ecx, [edi + 0xcc]
cmp ecx, esi
je 0x40f80d
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x40f806
mov esi, dword [esi]
push eax
push esi
call fcn.00406e80
mov ecx, dword [ebp - 0x2d4]
cmp ecx, 8
jb 0x40f84d
mov edx, dword [ebp - 0x2e8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f843
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f935
push ecx
push edx
call fcn.004bd6ef
add esp, 8
mov ecx, dword [ebp - 0x304]
xor eax, eax
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2d4], 7
mov word [ebp - 0x2e8], ax
cmp ecx, 8
jb 0x40f8aa
mov edx, dword [ebp - 0x318]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f8a0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f935
push ecx
push edx
call fcn.004bd6ef
add esp, 8
mov ecx, dword [ebp - 0x2ec]
cmp ecx, 8
jb 0x40f8e6
mov edx, dword [ebp - 0x300]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40f8dc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f935
push ecx
push edx
call fcn.004bd6ef
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004bd6ac
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.00404850
call fcn.004e61e1
call fcn.004e61e1
call fcn.004e61e1
call fcn.004e61e1
call fcn.004e61e1
call fcn.004e61e1
call fcn.004e61e1
call fcn.004e61e1
call fcn.004e61e1
int3