Function at 0x4091b0
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 0x448122
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x338
mov eax, dword [0x460080]
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 0x44b300
mov dword [ebp - 0x2cc], 0
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov esi, dword [ebp - 0x2cc]
test esi, esi
jne 0x409230
mov byte [ebp - 0x2dd], 0
jmp 0x40a149
push 0x104
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xorps xmm0, xmm0
test eax, eax
je 0x409354
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 0x409271
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2fc]
call fcn.004032e0
push 8
push str._tar.exe
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 2
call fcn.004030c0
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 0x409335
mov edx, dword [ebp - 0x2fc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40932b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a1f1
push ecx
push edx
call fcn.004281e7
add esp, 8
xor eax, eax
mov dword [ebp - 0x2ec], 0
mov dword [ebp - 0x2e8], 7
mov word [ebp - 0x2fc], ax
jmp 0x409381
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.004032e0
mov byte [ebp - 0x2e4], 0
lea edx, [ebp - 0x238]
push dword [ebp - 0x2e4]
lea ecx, [ebp - 0x32c]
mov byte [ebp - 4], 3
call fcn.0040b640
add esp, 4
lea ecx, [ebp - 0x32c]
mov byte [ebp - 4], 4
call fcn.00404f90
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x318]
mov byte [ebp - 0x2dd], al
cmp ecx, 7
jbe 0x409405
mov edx, dword [ebp - 0x32c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4093f5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a1f6
push ecx
push edx
call fcn.004281e7
mov al, byte [ebp - 0x2dd]
add esp, 8
test al, al
jne 0x409817
mov ecx, esi
mov dword [ebp - 0x304], 0
xorps xmm0, xmm0
mov dword [ebp - 0x300], 0
movups xmmword [ebp - 0x314], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409430
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x314]
call fcn.004032e0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x314]
cmp dword [0x462530], 7
mov eax, 0x46251c
push dword [0x46252c]
cmova eax, dword [0x46251c]
push eax
call fcn.004030c0
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.004030c0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x32c], 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 - 0x32c]
push eax
movq qword [ebp - 0x31c], xmm0
call fcn.0040a6c0
mov ecx, dword [ebp - 0x318]
cmp ecx, 7
jbe 0x40954f
mov edx, dword [ebp - 0x32c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409545
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a1fb
push ecx
push edx
call fcn.004281e7
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x330]
cmp ecx, 7
jbe 0x409593
mov edx, dword [ebp - 0x344]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409589
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a1fb
push ecx
push edx
call fcn.004281e7
add esp, 8
xor eax, eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x300]
mov dword [ebp - 0x334], 0
mov dword [ebp - 0x330], 7
mov word [ebp - 0x344], ax
cmp ecx, 7
jbe 0x4095f4
mov edx, dword [ebp - 0x314]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4095ea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a1fb
push ecx
push edx
call fcn.004281e7
add esp, 8
mov byte [ebp - 0x2e4], 0
lea edx, [ebp - 0x238]
push dword [ebp - 0x2e4]
lea ecx, [ebp - 0x32c]
call fcn.0040b640
add esp, 4
lea ecx, [ebp - 0x32c]
mov byte [ebp - 4], 7
call fcn.00404f90
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x318]
mov byte [ebp - 0x2dd], al
cmp ecx, 7
jbe 0x409674
mov edx, dword [ebp - 0x32c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409664
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a200
push ecx
push edx
call fcn.004281e7
mov al, byte [ebp - 0x2dd]
add esp, 8
test al, al
jne 0x409817
mov ecx, esi
mov dword [ebp - 0x334], 0
xorps xmm0, xmm0
mov dword [ebp - 0x330], 0
movups xmmword [ebp - 0x344], xmm0
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4096a0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x344]
call fcn.004032e0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x344]
cmp dword [0x462530], 7
mov eax, 0x46251c
push dword [0x46252c]
cmova eax, dword [0x46251c]
push eax
call fcn.004030c0
xor ecx, ecx
movups xmm1, xmmword [eax]
movq xmm0, qword [eax + 0x10]
movups xmmword [ebp - 0x32c], xmm1
mov dword [eax + 0x10], 0
movq qword [ebp - 0x31c], xmm0
mov dword [eax + 0x14], 7
mov word [eax], cx
xor eax, eax
movq qword [ebp - 0x304], xmm0
movups xmmword [ebp - 0x314], xmm1
mov dword [ebp - 0x31c], ecx
mov dword [ebp - 0x318], 7
mov word [ebp - 0x32c], ax
lea ecx, [ebp - 0x314]
mov byte [ebp - 4], 0xa
call fcn.004053c0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x300]
cmp ecx, 7
jbe 0x40978a
mov edx, dword [ebp - 0x314]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409780
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a205
push ecx
push edx
call fcn.004281e7
add esp, 8
xor eax, eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x330]
mov dword [ebp - 0x304], 0
mov dword [ebp - 0x300], 7
mov word [ebp - 0x314], ax
cmp ecx, 7
jbe 0x4097eb
mov edx, dword [ebp - 0x344]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4097e1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a205
push ecx
push edx
call fcn.004281e7
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0x238]
mov ecx, esp
push eax
call fcn.0040a750
mov dl, 1
mov ecx, edi
call fcn.0040c490
add esp, 0x18
test al, al
jne 0x409817
mov byte [ebp - 0x2dd], al
jmp 0x40a0ec
mov ecx, esi
mov dword [ebp - 0x304], 0
xorps xmm0, xmm0
mov dword [ebp - 0x300], 0
movups xmmword [ebp - 0x314], xmm0
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409840
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x314]
call fcn.004032e0
mov byte [ebp - 4], 0xb
lea eax, [ebx + 8]
cmp dword [ebx + 0x1c], 7
lea ecx, [ebp - 0x314]
push dword [ebx + 0x18]
cmova eax, dword [ebx + 8]
push eax
call fcn.004030c0
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], 0xc
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.004030c0
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], 0xe
mov ecx, dword [ebp - 0x330]
cmp ecx, 7
jbe 0x40996c
mov edx, dword [ebp - 0x344]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409962
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a20a
push ecx
push edx
call fcn.004281e7
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], 0xf
mov ecx, dword [ebp - 0x300]
cmp ecx, 7
jbe 0x4099cd
mov edx, dword [ebp - 0x314]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4099c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a20a
push ecx
push edx
call fcn.004281e7
add esp, 8
mov ecx, esi
mov dword [ebp - 0x304], 0
xor eax, eax
mov dword [ebp - 0x300], 7
xorps xmm0, xmm0
mov word [ebp - 0x314], ax
movups xmmword [ebp - 0x2fc], xmm0
mov dword [ebp - 0x2ec], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x2e8], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409a05
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2fc]
call fcn.004032e0
mov byte [ebp - 4], 0x10
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.004030c0
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], 0x12
mov ecx, dword [ebp - 0x2e8]
cmp ecx, 7
jbe 0x409aad
mov edx, dword [ebp - 0x2fc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409aa3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a20f
push ecx
push edx
call fcn.004281e7
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 0x40a214
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 0x40a219
cmp dword [ebp - 0x224], 7
lea eax, [ebp - 0x238]
push ecx
cmova eax, dword [ebp - 0x238]
push eax
push 1
push 0x452ebc
push ecx
push dword [ebp - 0x2e4]
lea ecx, [ebp - 0x314]
call fcn.0040b500
push 1
push 0x452ebc
lea ecx, [ebp - 0x314]
mov byte [ebp - 4], 0x13
call fcn.004030c0
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], 0x15
mov ecx, dword [ebp - 0x300]
cmp ecx, 7
jbe 0x409be4
mov edx, dword [ebp - 0x314]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409bda
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a21e
push ecx
push edx
call fcn.004281e7
add esp, 8
push 5
xor eax, eax
mov dword [ebp - 0x304], 0
push str.__xf
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x300], 7
mov word [ebp - 0x314], ax
call fcn.004030c0
mov ecx, dword [ebp - 0x240]
mov eax, esi
sub eax, ecx
cmp eax, 1
jb 0x40a223
cmp dword [ebp - 0x23c], 7
lea eax, [ebp - 0x250]
push ecx
cmova eax, dword [ebp - 0x250]
push eax
push 1
push 0x452ebc
push ecx
push dword [ebp - 0x2e4]
lea ecx, [ebp - 0x32c]
call fcn.0040b500
push 1
push 0x452ebc
lea ecx, [ebp - 0x32c]
mov byte [ebp - 4], 0x16
call fcn.004030c0
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], 0x17
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.004030c0
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x2e8]
cmp ecx, 7
jbe 0x409d03
mov edx, dword [ebp - 0x2fc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409cf9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a228
push ecx
push edx
call fcn.004281e7
add esp, 8
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x318]
cmp ecx, 7
jbe 0x409d47
mov edx, dword [ebp - 0x32c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409d3d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a228
push ecx
push edx
call fcn.004281e7
add esp, 8
push 4
push str.__C
lea ecx, [ebp - 0x268]
call fcn.004030c0
mov ecx, dword [ebp - 0x270]
sub esi, ecx
cmp esi, 1
jb 0x40a22d
cmp dword [ebp - 0x26c], 7
lea eax, [ebp - 0x280]
push ecx
cmova eax, dword [ebp - 0x280]
push eax
push 1
push 0x452ebc
push ecx
push dword [ebp - 0x2e4]
lea ecx, [ebp - 0x32c]
call fcn.0040b500
push 1
push 0x452ebc
lea ecx, [ebp - 0x32c]
mov byte [ebp - 4], 0x18
call fcn.004030c0
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], 0x19
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.004030c0
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x2e8]
cmp ecx, 7
jbe 0x409e47
mov edx, dword [ebp - 0x2fc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409e3d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a232
push ecx
push edx
call fcn.004281e7
add esp, 8
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x318]
cmp ecx, 7
jbe 0x409e8b
mov edx, dword [ebp - 0x32c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409e81
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a232
push ecx
push edx
call fcn.004281e7
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 0x409feb
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 - 0x32c]
call fcn.0040b640
add esp, 4
lea ecx, [ebp - 0x32c]
mov byte [ebp - 4], 0x1a
call fcn.00404f90
mov ecx, dword [ebp - 0x318]
mov byte [ebp - 0x2dd], al
cmp ecx, 7
jbe 0x409fc1
mov edx, dword [ebp - 0x32c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x409fb1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a237
push ecx
push edx
call fcn.004281e7
mov al, byte [ebp - 0x2dd]
add esp, 8
test al, al
je 0x409fe2
cmp dword [ebp - 0x23c], 7
lea eax, [ebp - 0x250]
cmova eax, dword [ebp - 0x250]
push eax
call fcn.0042d1d9
add esp, 4
mov byte [ebp - 0x2dd], 1
jmp 0x409ff2
mov byte [ebp - 0x2dd], 0
mov ecx, dword [ebp - 0x254]
cmp ecx, 7
jbe 0x40a032
mov edx, dword [ebp - 0x268]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a028
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a23c
push ecx
push edx
call fcn.004281e7
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 0x40a08f
mov edx, dword [ebp - 0x280]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a085
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a23c
push ecx
push edx
call fcn.004281e7
add esp, 8
mov ecx, dword [ebp - 0x23c]
cmp ecx, 7
jbe 0x40a0cf
mov edx, dword [ebp - 0x250]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a0c5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a23c
push ecx
push edx
call fcn.004281e7
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 0x40a12c
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a122
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a23c
push ecx
push edx
call fcn.004281e7
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 0x40a183
mov edx, dword [ebx + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a179
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a23c
push ecx
push edx
call fcn.004281e7
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 0x40a1cd
mov edx, dword [ebx + 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a1c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a23c
push ecx
push edx
call fcn.004281e7
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.004281a9
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0042cf5f
call fcn.0042cf5f
call fcn.0042cf5f
call fcn.0042cf5f
call fcn.0042cf5f
call fcn.0042cf5f
call fcn.0042cf5f
call fcn.0040aa30
call fcn.00401510
call fcn.0042cf5f
call fcn.00401510
call fcn.0042cf5f
call fcn.00401510
call fcn.0042cf5f
call fcn.0042cf5f
call fcn.0042cf5f
int3