Function at 0x404af0
Capabilities:
Accept command line arguments
Check for time delay via gettickcount
Check mutex on windows
Get common file path
Link many functions at runtime
Print debug messages
Read .ini file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4536a5
mov eax, dword fs:[0]
push eax
sub esp, 0x59c
mov eax, dword [0x46a850]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x584], ecx
mov dword [ebp - 0x338], 0
mov dword [ebp - 0x36c], 0
push str.ggfdgrter3654611
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x360], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x404b60
cmp dword [ebp - 0x360], 0
jne 0x404b7e
mov eax, dword [ebp - 0x360]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x360], 0
xor eax, eax
jmp 0x405979
mov ecx, 0x46bf80
call fcn.00410f90
call fcn.0041f307
push eax
lea ecx, [ebp - 0x354]
call fcn.00407790
mov dword [ebp - 4], 0
call fcn.0041f307
push eax
lea ecx, [ebp - 0x328]
call fcn.00407790
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x368]
call fcn.004068f0
mov byte [ebp - 4], 2
push 0x400
lea ecx, [ebp - 0x328]
call fcn.00407b50
mov dword [ebp - 0x3e8], eax
mov ecx, dword [ebp - 0x3e8]
push ecx
lea ecx, [ebp - 0x368]
call fcn.004072a0
push eax
mov ecx, 0x46c2b0
call fcn.00405a30
lea edx, [ebp - 0x368]
push edx
lea ecx, [ebp - 0x328]
call fcn.00407820
push 0x40
mov ecx, dword [ebp - 0x584]
add ecx, 0xac
call fcn.00407b50
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x39c], esp
push 0x457c4c
call fcn.004068f0
mov dword [ebp - 0x588], eax
mov eax, dword [ebp - 0x588]
mov dword [ebp - 0x58c], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x328]
call fcn.004072a0
push eax
mov byte [ebp - 4], 2
call fcn.004043b0
add esp, 0xc
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x584]
add ecx, 0xac
call fcn.004072e0
push 0x40
mov ecx, dword [ebp - 0x584]
add ecx, 0xb0
call fcn.00407b50
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x3a0], esp
push 0x457c44
call fcn.004068f0
mov dword [ebp - 0x590], eax
mov ecx, dword [ebp - 0x590]
mov dword [ebp - 0x594], ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x328]
call fcn.004072a0
push eax
mov byte [ebp - 4], 2
call fcn.004043b0
add esp, 0xc
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x584]
add ecx, 0xb0
call fcn.004072e0
mov edx, dword [ebp - 0x584]
mov eax, dword [edx + 0xac]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x418], ecx
xor edx, edx
cmp dword [ebp - 0x418], 0
sete dl
movzx eax, dl
test eax, eax
jne 0x404d30
mov ecx, dword [ebp - 0x584]
mov edx, dword [ecx + 0xb0]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x41c], eax
xor ecx, ecx
cmp dword [ebp - 0x41c], 0
sete cl
movzx edx, cl
test edx, edx
je 0x404d75
mov dword [ebp - 0x3a4], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x368]
call fcn.004077e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x328]
call fcn.004077e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x354]
call fcn.004077e0
mov eax, dword [ebp - 0x3a4]
jmp 0x405979
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push str.cfg.db
lea ecx, [ebp - 0x21c]
push ecx
push str._s_s
push 0x46bd10
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 0x46bd10
push 0x32
push str.opch
push str.FLOWDA
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x34c], eax
cmp dword [ebp - 0x34c], 0x64
jle 0x404dd8
mov dword [ebp - 0x34c], 0x64
jmp 0x404deb
cmp dword [ebp - 0x34c], 0
jge 0x404deb
mov dword [ebp - 0x34c], 0
push 0x46bd10
push 0x46
push str.nopch
push str.FLOWDA
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x334], eax
cmp dword [ebp - 0x334], 0x64
jle 0x404e1d
mov dword [ebp - 0x334], 0x64
jmp 0x404e30
cmp dword [ebp - 0x334], 0
jge 0x404e30
mov dword [ebp - 0x334], 0
push 0x46bd10
push 8
push str.begintime
push str.FLOWDA
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x350], eax
cmp dword [ebp - 0x350], 0x17
jle 0x404e62
mov dword [ebp - 0x350], 0x17
jmp 0x404e75
cmp dword [ebp - 0x350], 0
jge 0x404e75
mov dword [ebp - 0x350], 0
push 0x46bd10
push 0x16
push str.endtime
push str.FLOWDA
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x364], eax
cmp dword [ebp - 0x364], 0x17
jle 0x404ea7
mov dword [ebp - 0x364], 0x17
jmp 0x404eba
cmp dword [ebp - 0x364], 0
jge 0x404eba
mov dword [ebp - 0x364], 0
push 0
call fcn.0043e265
add esp, 4
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x42c], edx
mov edx, dword [ebp - 0x430]
mov dword [ebp - 0x378], edx
mov eax, dword [ebp - 0x42c]
mov dword [ebp - 0x374], eax
lea ecx, [ebp - 0x454]
push ecx
lea ecx, [ebp - 0x378]
call fcn.004059a0
mov dword [ebp - 0x458], eax
cmp dword [ebp - 0x458], 0
je 0x404f1a
mov edx, dword [ebp - 0x458]
mov eax, dword [edx + 8]
mov dword [ebp - 0x598], eax
jmp 0x404f24
mov dword [ebp - 0x598], 0xffffffff
mov ecx, dword [ebp - 0x598]
mov dword [ebp - 0x330], ecx
mov edx, dword [ebp - 0x330]
cmp edx, dword [ebp - 0x350]
jl 0x404f5a
mov eax, dword [ebp - 0x330]
cmp eax, dword [ebp - 0x364]
jge 0x404f5a
mov ecx, dword [ebp - 0x34c]
mov dword [0x4690e4], ecx
jmp 0x404f66
mov edx, dword [ebp - 0x334]
mov dword [0x4690e4], edx
call fcn.0041f307
push eax
lea ecx, [ebp - 0x35c]
call fcn.00407790
mov byte [ebp - 4], 5
mov eax, dword [0x4690e4]
push eax
push str.OpenChance:__d
lea ecx, [ebp - 0x35c]
push ecx
call fcn.00409590
add esp, 0xc
mov edx, dword [ebp - 0x35c]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebp - 0x324]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0xffff
div ecx
push edx
lea edx, [ebp - 0x324]
push edx
push str._sFData_03X.dll
lea eax, [ebp - 0x354]
push eax
call fcn.00409590
add esp, 0x10
mov ecx, dword [ebp - 0x354]
mov dword [ebp - 0x45c], ecx
mov edx, dword [ebp - 0x45c]
push edx
lea ecx, [ebp - 0x32c]
call fcn.004069d0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x32c]
mov dword [ebp - 0x464], eax
mov ecx, dword [ebp - 0x464]
push ecx
push str.DATA
push 0x84
push 0
call fcn.00404240
test eax, eax
jne 0x40508c
mov dword [ebp - 0x3a8], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x32c]
call fcn.004077e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x35c]
call fcn.004077e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x368]
call fcn.004077e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x328]
call fcn.004077e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x354]
call fcn.004077e0
mov eax, dword [ebp - 0x3a8]
jmp 0x405979
push 6
push 0x400
lea ecx, [ebp - 0x354]
call fcn.00409160
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x354]
call fcn.00408f60
mov edx, dword [ebp - 0x354]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x484], eax
cmp dword [ebp - 0x484], 1
jge 0x40512d
mov dword [ebp - 0x3ac], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x32c]
call fcn.004077e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x35c]
call fcn.004077e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x368]
call fcn.004077e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x328]
call fcn.004077e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x354]
call fcn.004077e0
mov eax, dword [ebp - 0x3ac]
jmp 0x405979
mov ecx, dword [ebp - 0x354]
mov dword [ebp - 0x49c], ecx
mov edx, dword [ebp - 0x49c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp - 0x584]
mov dword [ecx + 0xb8], eax
mov edx, dword [ebp - 0x584]
cmp dword [edx + 0xb8], 0
jne 0x4051c4
mov dword [ebp - 0x3b0], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x32c]
call fcn.004077e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x35c]
call fcn.004077e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x368]
call fcn.004077e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x328]
call fcn.004077e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x354]
call fcn.004077e0
mov eax, dword [ebp - 0x3b0]
jmp 0x405979
mov dword [ebp - 0x348], 0
push str.CMPROJECT_SP0001
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x37c], 0
jmp 0x4051f8
mov eax, dword [ebp - 0x37c]
add eax, 1
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 5
jge 0x40520e
push 0x1adb0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4051e9
push 0x457b90
mov ecx, dword [ebp - 0x584]
mov edx, dword [ecx + 0xb8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x584]
mov dword [ecx + 0xbc], eax
push 0x457b88
mov edx, dword [ebp - 0x584]
mov eax, dword [edx + 0xb8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x584]
mov dword [ecx + 0xc0], eax
push 0x457b80
mov edx, dword [ebp - 0x584]
mov eax, dword [edx + 0xb8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x584]
mov dword [ecx + 0xc4], eax
push 0x457b78
mov edx, dword [ebp - 0x584]
mov eax, dword [edx + 0xb8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x584]
mov dword [ecx + 0xc8], eax
push 0x457b70
mov edx, dword [ebp - 0x584]
mov eax, dword [edx + 0xb8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x348], eax
push 0x404210
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov dword [0x46bf3c], eax
cmp dword [ebp - 0x338], 0
je 0x4052db
call dword [ebp - 0x338]
cmp dword [ebp - 0x36c], 0
je 0x4052ec
push 0xf
call dword [ebp - 0x36c]
push str.NTDLL.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x344], eax
push str.ZwCreateProcessEx
mov ecx, dword [ebp - 0x344]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x46bf1c], eax
cmp dword [0x46bf1c], 0
jne 0x405380
mov dword [ebp - 0x3b4], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x32c]
call fcn.004077e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x35c]
call fcn.004077e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x368]
call fcn.004077e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x328]
call fcn.004077e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x354]
call fcn.004077e0
mov eax, dword [ebp - 0x3b4]
jmp 0x405979
call fcn.00451ef0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.00452242
push 0x403f20
push 0x46bf1c
call fcn.004524fa
push str.ZwCreateProcess
mov edx, dword [ebp - 0x344]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x46bf20], eax
cmp dword [0x46bf20], 0
je 0x4053cf
push 0x403f20
push 0x46bf20
call fcn.004524fa
push 0x403f30
push 0x46c298
call fcn.004524fa
push 0x403f30
push 0x46c29c
call fcn.004524fa
push 0x403eb0
push 0x46bf7c
call fcn.004524fa
push 0x403ee0
push 0x46c294
call fcn.004524fa
push 0x403f40
push 0x46c2a0
call fcn.004524fa
push str.DirectSoundCreate
push str.DSound.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x340], eax
cmp dword [ebp - 0x340], 0
je 0x405451
push 0x403f10
lea eax, [ebp - 0x340]
push eax
call fcn.004524fa
push str.DirectSoundCreate8
push str.DSound.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x358], eax
cmp dword [ebp - 0x358], 0
je 0x405488
push 0x403f10
lea ecx, [ebp - 0x358]
push ecx
call fcn.004524fa
push 0x404040
push 0x46c2a4
call fcn.004524fa
push 0x4040a0
push 0x46c2a8
call fcn.004524fa
call fcn.004524f2
test eax, eax
je 0x405512
mov dword [ebp - 0x3b8], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x32c]
call fcn.004077e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x35c]
call fcn.004077e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x368]
call fcn.004077e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x328]
call fcn.004077e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x354]
call fcn.004077e0
mov eax, dword [ebp - 0x3b8]
jmp 0x405979
push 0
call fcn.0042645b
test eax, eax
jne 0x405580
mov dword [ebp - 0x3bc], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x32c]
call fcn.004077e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x35c]
call fcn.004077e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x368]
call fcn.004077e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x328]
call fcn.004077e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x354]
call fcn.004077e0
mov eax, dword [ebp - 0x3bc]
jmp 0x405979
push 0
call fcn.00425f05
add esp, 4
cmp dword [ebp - 0x348], 0
je 0x4055c0
call dword [ebp - 0x348]
test eax, eax
je 0x4055c0
push 0
call fcn.00401380
add esp, 4
push 0
call fcn.00401340
add esp, 4
call fcn.004014a0
push 1
call fcn.00404220
add esp, 4
push 0x8001f
push 0x8001f
call fcn.0043df56
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.0043ddf4
add esp, 4
call fcn.0043de06
mov dword [ebp - 0x370], eax
mov ecx, dword [ebp - 0x584]
call fcn.00405aa0
mov edx, dword [0x46bf78]
mov dword [ebp - 0x4f0], edx
mov eax, dword [ebp - 0x4f0]
mov dword [ebp - 0x33c], eax
mov ecx, dword [ebp - 0x33c]
mov dword [0x46bf18], ecx
mov dword [ebp - 0x380], 0
jmp 0x405636
mov edx, dword [ebp - 0x380]
add edx, 1
mov dword [ebp - 0x380], edx
mov eax, dword [ebp - 0x380]
cmp eax, dword [ebp - 0x33c]
jge 0x4058fe
lea ecx, [ebp - 0x380]
push ecx
lea edx, [ebp - 0x38c]
push edx
mov ecx, 0x46bf5c
call fcn.004075b0
mov eax, dword [0x46bf74]
mov dword [ebp - 0x520], eax
mov dword [ebp - 0x3c4], 0
mov ecx, dword [ebp - 0x520]
mov dword [ebp - 0x3c0], ecx
mov edx, 0x46bf5c
test edx, edx
jne 0x40568f
call fcn.0043b4f8
xor eax, eax
jne 0x40568f
mov ecx, dword [0x46bf5c]
mov dword [ebp - 0x3c4], ecx
xor edx, edx
cmp dword [ebp - 0x38c], 0
setne dl
movzx eax, dl
test eax, eax
je 0x4056ca
mov ecx, dword [ebp - 0x38c]
xor edx, edx
cmp ecx, dword [ebp - 0x3c4]
sete dl
movzx eax, dl
test eax, eax
jne 0x4056cf
call fcn.0043b4f8
xor ecx, ecx
jne 0x4056cf
mov edx, dword [ebp - 0x388]
xor eax, eax
cmp edx, dword [ebp - 0x3c0]
sete al
movzx ecx, al
test ecx, ecx
je 0x4056f0
jmp 0x405627
lea ecx, [ebp - 0x38c]
call fcn.00408620
mov edx, dword [eax + 8]
mov dword [ebp - 0x390], edx
lea ecx, [ebp - 0x38c]
call fcn.00408620
mov dword [ebp - 0x52c], eax
mov eax, dword [ebp - 0x52c]
mov ecx, dword [eax + 4]
sub ecx, 0x10
mov dword [ebp - 0x530], ecx
mov edx, dword [ebp - 0x530]
push edx
call fcn.00409380
add esp, 4
mov dword [ebp - 0x534], eax
mov eax, dword [ebp - 0x534]
add eax, 0x10
mov dword [ebp - 0x384], eax
mov byte [ebp - 4], 7
cmp dword [ebp - 0x390], 0
jl 0x40577a
mov ecx, dword [ebp - 0x384]
mov edx, dword [ecx - 0xc]
mov dword [ebp - 0x548], edx
xor eax, eax
cmp dword [ebp - 0x548], 0
sete al
movzx ecx, al
test ecx, ecx
je 0x40578e
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x384]
call fcn.004077e0
jmp 0x405627
push 0x16c
call fcn.0041c9f4
add esp, 4
mov dword [ebp - 0x3cc], eax
mov byte [ebp - 4], 8
cmp dword [ebp - 0x3cc], 0
je 0x405826
push ecx
mov edx, esp
mov dword [ebp - 0x3d0], esp
mov dword [ebp - 0x568], edx
mov eax, dword [ebp - 0x384]
sub eax, 0x10
mov dword [ebp - 0x550], eax
mov ecx, dword [ebp - 0x550]
push ecx
call fcn.00409380
add esp, 4
mov dword [ebp - 0x554], eax
mov edx, dword [ebp - 0x554]
add edx, 0x10
mov eax, dword [ebp - 0x568]
mov dword [eax], edx
mov ecx, dword [ebp - 0x568]
mov dword [ebp - 0x59c], ecx
mov edx, dword [ebp - 0x390]
push edx
push 0
mov ecx, dword [ebp - 0x3cc]
call fcn.0040a520
mov dword [ebp - 0x5a0], eax
mov eax, dword [ebp - 0x5a0]
mov dword [ebp - 0x5a4], eax
jmp 0x405830
mov dword [ebp - 0x5a4], 0
mov ecx, dword [ebp - 0x5a4]
mov dword [ebp - 0x3c8], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x3c8]
mov dword [ebp - 0x394], edx
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [ebp - 0x398], eax
push 0
push 0x66
mov eax, dword [ebp - 0x394]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x394]
mov eax, dword [edx + 0x13c]
call eax
push 4
mov ecx, dword [ebp - 0x394]
call fcn.00424aee
cmp dword [ebp - 0x398], 0
je 0x405895
mov ecx, dword [ebp - 0x398]
push ecx
call dword [sym.imp.USER32.dll_SetActiveWindow]
push 0
mov ecx, dword [ebp - 0x394]
call fcn.004216af
mov edx, dword [ebp - 0x394]
mov dword [ebp - 0x3d8], edx
mov eax, dword [ebp - 0x3d8]
mov dword [ebp - 0x3d4], eax
cmp dword [ebp - 0x3d4], 0
je 0x4058e0
push 1
mov ecx, dword [ebp - 0x3d4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x3d4]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x5a8], eax
jmp 0x4058ea
mov dword [ebp - 0x5a8], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x384]
call fcn.004077e0
jmp 0x405627
mov dword [0x46c2d0], 0
mov ecx, dword [ebp - 0x584]
mov edx, dword [ecx + 0xb4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x3dc], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x32c]
call fcn.004077e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x35c]
call fcn.004077e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x368]
call fcn.004077e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x328]
call fcn.004077e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x354]
call fcn.004077e0
mov eax, dword [ebp - 0x3dc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043b25a
mov esp, ebp
pop ebp
ret