Function at 0x408ff0
Capabilities:
Create process on windows
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 0x447a41
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x338
mov eax, dword [0x45f080]
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
lea eax, [ebp - 0x2cc]
mov dword [ebp - 4], 1
push eax
push 0
push 0
push 0x44a300
mov dword [ebp - 0x2cc], 0
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov esi, dword [ebp - 0x2cc]
test esi, esi
jne 0x409070
mov byte [ebp - 0x2dd], 0
jmp 0x409e14
push 0x104
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xorps xmm0, xmm0
test eax, eax
je 0x409194
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x2ec], 0
movups xmmword [ebp - 0x2fc], xmm0
mov dword [ebp - 0x2e8], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4090b1
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2fc]
call fcn.00403120
push 8
push str._tar.exe
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 2
call fcn.00402f00
mov dword [ebp - 0x228], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x238], xmm0
mov dword [ebp - 0x224], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x238], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x228], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2e8]
cmp ecx, 7
jbe 0x409175
mov edx, dword [ebp - 0x2fc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40916b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409ebc
push ecx
push edx
call fcn.00427b27
add esp, 8
xor eax, eax
mov dword [ebp - 0x2ec], 0
mov dword [ebp - 0x2e8], 7
mov word [ebp - 0x2fc], ax
jmp 0x4091c1
push 0x1b
push str.C:WindowsSystem32_tar.exe
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x228], 0
movups xmmword [ebp - 0x238], xmm0
mov dword [ebp - 0x224], 0
call fcn.00403120
mov byte [ebp - 0x2e4], 0
lea edx, [ebp - 0x238]
push dword [ebp - 0x2e4]
lea ecx, [ebp - 0x314]
mov byte [ebp - 4], 3
call fcn.0040b300
add esp, 4
lea ecx, [ebp - 0x314]
mov byte [ebp - 4], 4
call fcn.00404dd0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x300]
mov byte [ebp - 0x2dd], al
cmp ecx, 7
jbe 0x409245
mov edx, dword [ebp - 0x314]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409235
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409ec1
push ecx
push edx
call fcn.00427b27
mov al, byte [ebp - 0x2dd]
add esp, 8
test al, al
jne 0x4094e4
mov ecx, esi
mov dword [ebp - 0x31c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x318], 0
movups xmmword [ebp - 0x32c], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409270
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x32c]
call fcn.00403120
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x32c]
cmp dword [0x461518], 7
mov eax, 0x461504
push dword [0x461514]
cmova eax, dword [0x461504]
push eax
call fcn.00402f00
mov dword [ebp - 0x334], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x344], xmm0
mov dword [ebp - 0x330], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x344], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x334], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 0xa
push str.bsdtar.exe
lea ecx, [ebp - 0x344]
mov byte [ebp - 4], 6
call fcn.00402f00
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x314], xmm0
movq xmm0, qword [eax + 0x10]
mov word [eax], cx
lea ecx, [ebp - 0x238]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
lea eax, [ebp - 0x314]
push eax
movq qword [ebp - 0x304], xmm0
call fcn.0040a380
mov ecx, dword [ebp - 0x300]
cmp ecx, 7
jbe 0x40938f
mov edx, dword [ebp - 0x314]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409385
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409ec6
push ecx
push edx
call fcn.00427b27
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x330]
cmp ecx, 7
jbe 0x4093d3
mov edx, dword [ebp - 0x344]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4093c9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409ec6
push ecx
push edx
call fcn.00427b27
add esp, 8
xor eax, eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x318]
mov dword [ebp - 0x334], 0
mov dword [ebp - 0x330], 7
mov word [ebp - 0x344], ax
cmp ecx, 7
jbe 0x409434
mov edx, dword [ebp - 0x32c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40942a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409ec6
push ecx
push edx
call fcn.00427b27
add esp, 8
mov byte [ebp - 0x2e4], 0
lea edx, [ebp - 0x238]
push dword [ebp - 0x2e4]
lea ecx, [ebp - 0x314]
call fcn.0040b300
add esp, 4
lea ecx, [ebp - 0x314]
mov byte [ebp - 4], 7
call fcn.00404dd0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x300]
mov byte [ebp - 0x2dd], al
cmp ecx, 7
jbe 0x4094b4
mov edx, dword [ebp - 0x314]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4094a4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409ecb
push ecx
push edx
call fcn.00427b27
mov al, byte [ebp - 0x2dd]
add esp, 8
test al, al
jne 0x4094e4
sub esp, 0x18
lea eax, [ebp - 0x238]
mov ecx, esp
push eax
call fcn.0040a410
mov dl, 1
mov ecx, edi
call fcn.0040c150
add esp, 0x18
test al, al
jne 0x4094e4
mov byte [ebp - 0x2dd], al
jmp 0x409db7
mov ecx, esi
mov dword [ebp - 0x31c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x318], 0
movups xmmword [ebp - 0x32c], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409507
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x32c]
call fcn.00403120
mov byte [ebp - 4], 8
lea eax, [ebx + 8]
cmp dword [ebx + 0x1c], 7
lea ecx, [ebp - 0x32c]
push dword [ebx + 0x18]
cmova eax, dword [ebx + 8]
push eax
call fcn.00402f00
mov dword [ebp - 0x334], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x344], xmm0
mov dword [ebp - 0x330], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x344], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x334], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 9
lea eax, [ebx + 0x20]
cmp dword [ebx + 0x34], 7
lea ecx, [ebp - 0x344]
push dword [ebx + 0x30]
cmova eax, dword [ebx + 0x20]
push eax
call fcn.00402f00
mov dword [ebp - 0x240], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x250], xmm0
mov dword [ebp - 0x23c], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x250], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x240], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x330]
cmp ecx, 7
jbe 0x409633
mov edx, dword [ebp - 0x344]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409629
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409ed0
push ecx
push edx
call fcn.00427b27
add esp, 8
xor eax, eax
mov dword [ebp - 0x334], 0
mov dword [ebp - 0x330], 7
mov word [ebp - 0x344], ax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x318]
cmp ecx, 7
jbe 0x409694
mov edx, dword [ebp - 0x32c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40968a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409ed0
push ecx
push edx
call fcn.00427b27
add esp, 8
mov ecx, esi
mov dword [ebp - 0x31c], 0
xor eax, eax
mov dword [ebp - 0x318], 7
xorps xmm0, xmm0
mov word [ebp - 0x32c], ax
movups xmmword [ebp - 0x2fc], xmm0
mov dword [ebp - 0x2ec], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x2e8], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4096d0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2fc]
call fcn.00403120
mov byte [ebp - 4], 0xd
lea eax, [ebx + 8]
cmp dword [ebx + 0x1c], 7
lea ecx, [ebp - 0x2fc]
push dword [ebx + 0x18]
cmova eax, dword [ebx + 8]
push eax
call fcn.00402f00
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x280], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x270], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x2e8]
cmp ecx, 7
jbe 0x409778
mov edx, dword [ebp - 0x2fc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40976e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409ed5
push ecx
push edx
call fcn.00427b27
add esp, 8
xor eax, eax
mov dword [ebp - 0x2ec], 0
mov word [ebp - 0x2fc], ax
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x2e8], 7
lea ecx, [eax - 1]
cmp eax, ecx
jb 0x409eda
cmp dword [ebp - 0x26c], 7
lea eax, [ebp - 0x280]
mov dword [ebp - 0x270], ecx
mov esi, 0x7ffffffe
cmova eax, dword [ebp - 0x280]
xor edx, edx
mov word [eax + ecx*2], dx
mov eax, esi
mov ecx, dword [ebp - 0x228]
sub eax, ecx
cmp eax, 1
jb 0x409edf
cmp dword [ebp - 0x224], 7
lea eax, [ebp - 0x238]
push ecx
cmova eax, dword [ebp - 0x238]
push eax
push 1
push 0x451ebc
push ecx
push dword [ebp - 0x2e4]
lea ecx, [ebp - 0x32c]
call fcn.0040b1c0
push 1
push 0x451ebc
lea ecx, [ebp - 0x32c]
mov byte [ebp - 4], 0x10
call fcn.00402f00
mov dword [ebp - 0x258], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x268], xmm0
mov dword [ebp - 0x254], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x268], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x258], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x318]
cmp ecx, 7
jbe 0x4098af
mov edx, dword [ebp - 0x32c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4098a5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409ee4
push ecx
push edx
call fcn.00427b27
add esp, 8
push 5
xor eax, eax
mov dword [ebp - 0x31c], 0
push str.__xf
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x318], 7
mov word [ebp - 0x32c], ax
call fcn.00402f00
mov ecx, dword [ebp - 0x240]
mov eax, esi
sub eax, ecx
cmp eax, 1
jb 0x409ee9
cmp dword [ebp - 0x23c], 7
lea eax, [ebp - 0x250]
push ecx
cmova eax, dword [ebp - 0x250]
push eax
push 1
push 0x451ebc
push ecx
push dword [ebp - 0x2e4]
lea ecx, [ebp - 0x314]
call fcn.0040b1c0
push 1
push 0x451ebc
lea ecx, [ebp - 0x314]
mov byte [ebp - 4], 0x13
call fcn.00402f00
xor ecx, ecx
movups xmm1, xmmword [eax]
movq xmm0, qword [eax + 0x10]
movups xmmword [ebp - 0x2fc], xmm1
mov dword [eax + 0x10], 0
movq qword [ebp - 0x2ec], xmm0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x2fc]
cmp dword [ebp - 0x2e8], 7
push dword [ebp - 0x2ec]
movd eax, xmm1
cmova ecx, eax
push ecx
lea ecx, [ebp - 0x268]
call fcn.00402f00
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x2e8]
cmp ecx, 7
jbe 0x4099ce
mov edx, dword [ebp - 0x2fc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4099c4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409eee
push ecx
push edx
call fcn.00427b27
add esp, 8
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x300]
cmp ecx, 7
jbe 0x409a12
mov edx, dword [ebp - 0x314]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409a08
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409eee
push ecx
push edx
call fcn.00427b27
add esp, 8
push 4
push str.__C
lea ecx, [ebp - 0x268]
call fcn.00402f00
mov ecx, dword [ebp - 0x270]
sub esi, ecx
cmp esi, 1
jb 0x409ef3
cmp dword [ebp - 0x26c], 7
lea eax, [ebp - 0x280]
push ecx
cmova eax, dword [ebp - 0x280]
push eax
push 1
push 0x451ebc
push ecx
push dword [ebp - 0x2e4]
lea ecx, [ebp - 0x314]
call fcn.0040b1c0
push 1
push 0x451ebc
lea ecx, [ebp - 0x314]
mov byte [ebp - 4], 0x15
call fcn.00402f00
xor ecx, ecx
movups xmm1, xmmword [eax]
movq xmm0, qword [eax + 0x10]
movups xmmword [ebp - 0x2fc], xmm1
mov dword [eax + 0x10], 0
movq qword [ebp - 0x2ec], xmm0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x2fc]
cmp dword [ebp - 0x2e8], 7
push dword [ebp - 0x2ec]
movd eax, xmm1
cmova ecx, eax
push ecx
lea ecx, [ebp - 0x268]
call fcn.00402f00
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x2e8]
cmp ecx, 7
jbe 0x409b12
mov edx, dword [ebp - 0x2fc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409b08
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409ef8
push ecx
push edx
call fcn.00427b27
add esp, 8
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x300]
cmp ecx, 7
jbe 0x409b56
mov edx, dword [ebp - 0x314]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409b4c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409ef8
push ecx
push edx
call fcn.00427b27
add esp, 8
cmp dword [ebp - 0x254], 7
lea ecx, [ebp - 0x2dc]
push ecx
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 0x2c8], 0x44
push ecx
push 0
push 0
push 0x8000000
push 0
xorps xmm0, xmm0
lea eax, [ebp - 0x268]
cmova eax, dword [ebp - 0x268]
push 0
push 0
push eax
push 0
movlpd qword [ebp - 0x2c4], xmm0
movlpd qword [ebp - 0x2bc], xmm0
movlpd qword [ebp - 0x2b4], xmm0
movlpd qword [ebp - 0x2ac], xmm0
movlpd qword [ebp - 0x2a4], xmm0
movlpd qword [ebp - 0x29c], xmm0
movlpd qword [ebp - 0x294], xmm0
movlpd qword [ebp - 0x28c], xmm0
movups xmmword [ebp - 0x2dc], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x409cb6
push 0xffffffffffffffff
push dword [ebp - 0x2dc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x2dc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x2d8]
call esi
mov byte [ebp - 0x2e4], 0
lea edx, [ebp - 0x250]
push dword [ebp - 0x2e4]
lea ecx, [ebp - 0x314]
call fcn.0040b300
add esp, 4
lea ecx, [ebp - 0x314]
mov byte [ebp - 4], 0x17
call fcn.00404dd0
mov ecx, dword [ebp - 0x300]
mov byte [ebp - 0x2dd], al
cmp ecx, 7
jbe 0x409c8c
mov edx, dword [ebp - 0x314]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409c7c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409efd
push ecx
push edx
call fcn.00427b27
mov al, byte [ebp - 0x2dd]
add esp, 8
test al, al
je 0x409cad
cmp dword [ebp - 0x23c], 7
lea eax, [ebp - 0x250]
cmova eax, dword [ebp - 0x250]
push eax
call fcn.0042cb19
add esp, 4
mov byte [ebp - 0x2dd], 1
jmp 0x409cbd
mov byte [ebp - 0x2dd], 0
mov ecx, dword [ebp - 0x254]
cmp ecx, 7
jbe 0x409cfd
mov edx, dword [ebp - 0x268]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409cf3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409f02
push ecx
push edx
call fcn.00427b27
add esp, 8
mov ecx, dword [ebp - 0x26c]
xor eax, eax
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 7
mov word [ebp - 0x268], ax
cmp ecx, 7
jbe 0x409d5a
mov edx, dword [ebp - 0x280]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409d50
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409f02
push ecx
push edx
call fcn.00427b27
add esp, 8
mov ecx, dword [ebp - 0x23c]
cmp ecx, 7
jbe 0x409d9a
mov edx, dword [ebp - 0x250]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409d90
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409f02
push ecx
push edx
call fcn.00427b27
add esp, 8
xor eax, eax
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
mov ecx, dword [ebp - 0x224]
cmp ecx, 7
jbe 0x409df7
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409ded
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409f02
push ecx
push edx
call fcn.00427b27
add esp, 8
xor eax, eax
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
mov ecx, dword [ebx + 0x1c]
cmp ecx, 7
jbe 0x409e4e
mov edx, dword [ebx + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409e44
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409f02
push ecx
push edx
call fcn.00427b27
add esp, 8
mov ecx, dword [ebx + 0x34]
xor eax, eax
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 7
mov word [ebx + 8], ax
cmp ecx, 7
jbe 0x409e98
mov edx, dword [ebx + 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409e8e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409f02
push ecx
push edx
call fcn.00427b27
add esp, 8
mov al, byte [ebp - 0x2dd]
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.00427ae9
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0042c89f
call fcn.0042c89f
call fcn.0042c89f
call fcn.0042c89f
call fcn.0042c89f
call fcn.0042c89f
call fcn.0040a6f0
call fcn.00401350
call fcn.0042c89f
call fcn.00401350
call fcn.0042c89f
call fcn.00401350
call fcn.0042c89f
call fcn.0042c89f
call fcn.0042c89f
int3