Function at 0x4553f0
Capabilities:
Check if file exists
Create directory
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f0d4
mov eax, dword fs:[0]
push eax
sub esp, 0x534
mov eax, dword [0x568cb8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x528], ecx
mov eax, dword [ebp - 0x528]
cmp dword [eax + 0x54], 0
je 0x455461
push 0
push 0x1a
mov ecx, 0x56d2e8
call fcn.00474010
push eax
push 0x19
mov ecx, 0x56d2e8
call fcn.00474010
push eax
mov ecx, dword [ebp - 0x528]
add ecx, 4
call fcn.00457f60
mov eax, 1
jmp 0x455cd6
mov ecx, dword [ebp - 0x528]
movzx edx, byte [ecx + 0x68]
test edx, edx
je 0x455476
xor eax, eax
jmp 0x455cd6
push 0
push 0x3023
lea eax, [ebp - 0x45c]
push eax
lea ecx, [ebp - 0x458]
push ecx
mov ecx, dword [ebp - 0x528]
add ecx, 4
call fcn.00457f00
mov ecx, eax
call fcn.00457f30
mov ecx, eax
call fcn.0043e5c0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 2
lea edx, [ebp - 0x464]
push edx
lea eax, [ebp - 0x460]
push eax
mov ecx, dword [ebp - 0x528]
add ecx, 4
call fcn.00457f00
mov ecx, eax
call fcn.00457f30
mov ecx, eax
call fcn.0043e5c0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 0x3024
lea ecx, [ebp - 0x46c]
push ecx
lea edx, [ebp - 0x468]
push edx
mov ecx, dword [ebp - 0x528]
add ecx, 4
call fcn.00457fc0
mov ecx, eax
call fcn.00457f30
mov ecx, eax
call fcn.00457e60
xor eax, eax
mov word [ebp - 0x424], ax
push 0x206
push 0
lea ecx, [ebp - 0x422]
push ecx
call fcn.004b83b0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x424]
push edx
push 0x3ec
mov ecx, dword [ebp - 0x528]
add ecx, 4
call fcn.00457ea0
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea ecx, [ebp - 0x424]
push ecx
push 0x3ec
mov ecx, dword [ebp - 0x528]
add ecx, 4
call fcn.00457ed0
lea edx, [ebp - 0x424]
push edx
mov ecx, 0x56d218
call fcn.0040b030
movzx eax, word [ebp - 0x424]
test eax, eax
jne 0x45568c
push 0
push 0x1a
mov ecx, 0x56d2e8
call fcn.00474010
push eax
push 0x1b
mov ecx, 0x56d2e8
call fcn.00474010
push eax
mov ecx, dword [ebp - 0x528]
add ecx, 4
call fcn.00457f60
push 1
push 0x3023
lea ecx, [ebp - 0x474]
push ecx
lea edx, [ebp - 0x470]
push edx
mov ecx, dword [ebp - 0x528]
add ecx, 4
call fcn.00457f00
mov ecx, eax
call fcn.00457f30
mov ecx, eax
call fcn.0043e5c0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
push 2
lea eax, [ebp - 0x47c]
push eax
lea ecx, [ebp - 0x478]
push ecx
mov ecx, dword [ebp - 0x528]
add ecx, 4
call fcn.00457f00
mov ecx, eax
call fcn.00457f30
mov ecx, eax
call fcn.0043e5c0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
push 0x3024
lea edx, [ebp - 0x484]
push edx
lea eax, [ebp - 0x480]
push eax
mov ecx, dword [ebp - 0x528]
add ecx, 4
call fcn.00457fc0
mov ecx, eax
call fcn.00457f30
mov ecx, eax
call fcn.00457e60
push 0x3ec
lea ecx, [ebp - 0x488]
push ecx
mov ecx, dword [ebp - 0x528]
add ecx, 4
call fcn.00457f30
mov ecx, eax
call fcn.00457e80
mov eax, 1
jmp 0x455cd6
lea edx, [ebp - 0x424]
push edx
mov ecx, dword [ebp - 0x528]
call fcn.00454ce0
test eax, eax
jne 0x455799
push 0
push 0x1a
mov ecx, 0x56d2e8
call fcn.00474010
push eax
push 0x1c
mov ecx, 0x56d2e8
call fcn.00474010
push eax
mov ecx, dword [ebp - 0x528]
add ecx, 4
call fcn.00457f60
push 1
push 0x3023
lea eax, [ebp - 0x490]
push eax
lea ecx, [ebp - 0x48c]
push ecx
mov ecx, dword [ebp - 0x528]
add ecx, 4
call fcn.00457f00
mov ecx, eax
call fcn.00457f30
mov ecx, eax
call fcn.0043e5c0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
push 2
lea edx, [ebp - 0x498]
push edx
lea eax, [ebp - 0x494]
push eax
mov ecx, dword [ebp - 0x528]
add ecx, 4
call fcn.00457f00
mov ecx, eax
call fcn.00457f30
mov ecx, eax
call fcn.0043e5c0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
push 0x3024
lea ecx, [ebp - 0x4a0]
push ecx
lea edx, [ebp - 0x49c]
push edx
mov ecx, dword [ebp - 0x528]
add ecx, 4
call fcn.00457fc0
mov ecx, eax
call fcn.00457f30
mov ecx, eax
call fcn.00457e60
push 0x3ec
lea eax, [ebp - 0x4a4]
push eax
mov ecx, dword [ebp - 0x528]
add ecx, 4
call fcn.00457f30
mov ecx, eax
call fcn.00457e80
mov eax, 1
jmp 0x455cd6
mov ecx, dword [ebp - 0x528]
add ecx, 0x6c
call fcn.004578b0
lea ecx, [ebp - 0x424]
push ecx
mov ecx, dword [ebp - 0x528]
call fcn.00454df0
lea edx, [ebp - 0x44c]
push edx
mov ecx, dword [ebp - 0x528]
add ecx, 0x6c
call fcn.00457840
jmp 0x4557e4
push 0
lea eax, [ebp - 0x4ac]
push eax
lea ecx, [ebp - 0x44c]
call fcn.00451db0
lea ecx, [ebp - 0x4b4]
push ecx
mov ecx, dword [ebp - 0x528]
add ecx, 0x6c
call fcn.0045ca00
push eax
lea ecx, [ebp - 0x44c]
call fcn.00451df0
movzx edx, al
test edx, edx
je 0x455846
lea ecx, [ebp - 0x44c]
call fcn.00451d90
mov ecx, eax
call fcn.0040a1c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x455844
lea ecx, [ebp - 0x44c]
call fcn.00451d90
mov ecx, eax
call fcn.0040a1c0
push eax
call fcn.00438960
add esp, 4
jmp 0x4557d0
lea eax, [ebp - 0x424]
push eax
mov ecx, dword [ebp - 0x528]
call fcn.00454df0
mov ecx, dword [ebp - 0x528]
add ecx, 0x6c
call fcn.004578b0
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
lea ecx, [ebp - 0x424]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor edx, edx
mov word [ebp - 0x21c], dx
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.004b83b0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x51a0dc
push 0x51a110
push 0x56d218
lea edx, [ebp - 0x4d0]
push edx
call fcn.0043ae80
add esp, 0xc
mov dword [ebp - 0x52c], eax
mov eax, dword [ebp - 0x52c]
mov dword [ebp - 0x530], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x530]
push ecx
lea edx, [ebp - 0x444]
push edx
call fcn.0043ae80
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4d0]
call fcn.00401320
push 0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4d4], esp
lea eax, [ebp - 0x444]
push eax
call fcn.0040de90
mov dword [ebp - 0x534], eax
call fcn.00459370
add esp, 0x20
movzx ecx, word [ebp - 0x424]
push ecx
call fcn.004bf121
add esp, 4
mov word [ebp - 0x10], ax
movzx edx, word [ebp - 0x10]
cmp edx, 0x41
jl 0x455960
movzx eax, word [ebp - 0x10]
cmp eax, 0x5a
jle 0x455a81
push 0x124
push 9
mov ecx, 0x56d2e8
call fcn.00474010
push eax
push 0x27
mov ecx, 0x56d2e8
call fcn.00474010
push eax
mov ecx, dword [ebp - 0x528]
add ecx, 4
call fcn.00457f60
cmp eax, 6
je 0x455a7c
push 1
push 0x3023
lea ecx, [ebp - 0x4dc]
push ecx
lea edx, [ebp - 0x4d8]
push edx
mov ecx, dword [ebp - 0x528]
add ecx, 4
call fcn.00457f00
mov ecx, eax
call fcn.00457f30
mov ecx, eax
call fcn.0043e5c0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
push 2
lea eax, [ebp - 0x4e4]
push eax
lea ecx, [ebp - 0x4e0]
push ecx
mov ecx, dword [ebp - 0x528]
add ecx, 4
call fcn.00457f00
mov ecx, eax
call fcn.00457f30
mov ecx, eax
call fcn.0043e5c0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
push 0x3024
lea edx, [ebp - 0x4ec]
push edx
lea eax, [ebp - 0x4e8]
push eax
mov ecx, dword [ebp - 0x528]
add ecx, 4
call fcn.00457fc0
mov ecx, eax
call fcn.00457f30
mov ecx, eax
call fcn.00457e60
push 0x3ec
lea ecx, [ebp - 0x4f0]
push ecx
mov ecx, dword [ebp - 0x528]
add ecx, 4
call fcn.00457f30
mov ecx, eax
call fcn.00457e80
mov dword [ebp - 0x4f4], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x444]
call fcn.00401320
mov eax, dword [ebp - 0x4f4]
jmp 0x455cd6
jmp 0x455be7
mov dword [ebp - 0x454], 0x1000000
mov dword [ebp - 0x450], 0
movzx edx, word [ebp - 0x424]
push edx
call fcn.00455380
add esp, 4
mov dword [ebp - 0x53c], eax
mov dword [ebp - 0x538], edx
mov eax, dword [ebp - 0x538]
cmp eax, dword [ebp - 0x450]
ja 0x455be7
jb 0x455ad7
mov ecx, dword [ebp - 0x53c]
cmp ecx, dword [ebp - 0x454]
jae 0x455be7
push 0
push 9
mov ecx, 0x56d2e8
call fcn.00474010
push eax
push 0x28
mov ecx, 0x56d2e8
call fcn.00474010
push eax
mov ecx, dword [ebp - 0x528]
add ecx, 4
call fcn.00457f60
push 1
push 0x3023
lea edx, [ebp - 0x4fc]
push edx
lea eax, [ebp - 0x4f8]
push eax
mov ecx, dword [ebp - 0x528]
add ecx, 4
call fcn.00457f00
mov ecx, eax
call fcn.00457f30
mov ecx, eax
call fcn.0043e5c0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
push 2
lea ecx, [ebp - 0x504]
push ecx
lea edx, [ebp - 0x500]
push edx
mov ecx, dword [ebp - 0x528]
add ecx, 4
call fcn.00457f00
mov ecx, eax
call fcn.00457f30
mov ecx, eax
call fcn.0043e5c0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
push 0x3024
lea eax, [ebp - 0x50c]
push eax
lea ecx, [ebp - 0x508]
push ecx
mov ecx, dword [ebp - 0x528]
add ecx, 4
call fcn.00457fc0
mov ecx, eax
call fcn.00457f30
mov ecx, eax
call fcn.00457e60
push 0x3ec
lea edx, [ebp - 0x510]
push edx
mov ecx, dword [ebp - 0x528]
add ecx, 4
call fcn.00457f30
mov ecx, eax
call fcn.00457e80
mov dword [ebp - 0x514], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x444]
call fcn.00401320
mov eax, dword [ebp - 0x514]
jmp 0x455cd6
mov eax, dword [ebp - 0x528]
mov dword [eax + 0x54], 1
push 1
push 0x3f0
lea ecx, [ebp - 0x518]
push ecx
mov ecx, dword [ebp - 0x528]
add ecx, 4
call fcn.00457f30
mov ecx, eax
call fcn.00457df0
push 1
push 0x3ee
lea edx, [ebp - 0x51c]
push edx
mov ecx, dword [ebp - 0x528]
add ecx, 4
call fcn.00457f30
mov ecx, eax
call fcn.00457df0
push 0
push 0x64
push 0x64
mov ecx, dword [ebp - 0x528]
add ecx, 4
call fcn.00457e10
mov ecx, dword [ebp - 0x528]
mov dword [ecx + 0x64], eax
push 0
push 0
mov edx, dword [ebp - 0x528]
push edx
push fcn.004552d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x428], eax
cmp dword [ebp - 0x428], 0
je 0x455c8d
mov eax, dword [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x520], esp
lea edx, [ebp - 0x444]
push edx
call fcn.0040de90
mov dword [ebp - 0x540], eax
call fcn.00459370
add esp, 0x20
mov dword [ebp - 0x524], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x444]
call fcn.00401320
mov eax, dword [ebp - 0x524]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b8307
mov esp, ebp
pop ebp
ret