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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0414
mov eax, dword fs:[0]
push eax
sub esp, 0x534
mov eax, dword [0x53fbb0]
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 0x42eac1
push 0
push 0x1a
mov ecx, 0x5437d8
call fcn.0044d380
push eax
push 0x19
mov ecx, 0x5437d8
call fcn.0044d380
push eax
mov ecx, dword [ebp - 0x528]
add ecx, 4
call fcn.00431a10
mov eax, 1
jmp 0x42f336
mov ecx, dword [ebp - 0x528]
movzx edx, byte [ecx + 0x68]
test edx, edx
je 0x42ead6
xor eax, eax
jmp 0x42f336
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.004319b0
mov ecx, eax
call fcn.004319e0
mov ecx, eax
call fcn.00430fb0
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.004319b0
mov ecx, eax
call fcn.004319e0
mov ecx, eax
call fcn.00430fb0
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.00431a70
mov ecx, eax
call fcn.004319e0
mov ecx, eax
call fcn.00431910
xor eax, eax
mov word [ebp - 0x424], ax
push 0x206
push 0
lea ecx, [ebp - 0x422]
push ecx
call fcn.00491200
add esp, 0xc
push 0x104
lea edx, [ebp - 0x424]
push edx
push 0x3ec
mov ecx, dword [ebp - 0x528]
add ecx, 4
call fcn.00431950
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.00431980
lea edx, [ebp - 0x424]
push edx
mov ecx, 0x543740
call fcn.00415130
movzx eax, word [ebp - 0x424]
test eax, eax
jne 0x42ecec
push 0
push 0x1a
mov ecx, 0x5437d8
call fcn.0044d380
push eax
push 0x1b
mov ecx, 0x5437d8
call fcn.0044d380
push eax
mov ecx, dword [ebp - 0x528]
add ecx, 4
call fcn.00431a10
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.004319b0
mov ecx, eax
call fcn.004319e0
mov ecx, eax
call fcn.00430fb0
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.004319b0
mov ecx, eax
call fcn.004319e0
mov ecx, eax
call fcn.00430fb0
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.00431a70
mov ecx, eax
call fcn.004319e0
mov ecx, eax
call fcn.00431910
push 0x3ec
lea ecx, [ebp - 0x488]
push ecx
mov ecx, dword [ebp - 0x528]
add ecx, 4
call fcn.004319e0
mov ecx, eax
call fcn.00431930
mov eax, 1
jmp 0x42f336
lea edx, [ebp - 0x424]
push edx
mov ecx, dword [ebp - 0x528]
call fcn.0042e340
test eax, eax
jne 0x42edf9
push 0
push 0x1a
mov ecx, 0x5437d8
call fcn.0044d380
push eax
push 0x1c
mov ecx, 0x5437d8
call fcn.0044d380
push eax
mov ecx, dword [ebp - 0x528]
add ecx, 4
call fcn.00431a10
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.004319b0
mov ecx, eax
call fcn.004319e0
mov ecx, eax
call fcn.00430fb0
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.004319b0
mov ecx, eax
call fcn.004319e0
mov ecx, eax
call fcn.00430fb0
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.00431a70
mov ecx, eax
call fcn.004319e0
mov ecx, eax
call fcn.00431910
push 0x3ec
lea eax, [ebp - 0x4a4]
push eax
mov ecx, dword [ebp - 0x528]
add ecx, 4
call fcn.004319e0
mov ecx, eax
call fcn.00431930
mov eax, 1
jmp 0x42f336
mov ecx, dword [ebp - 0x528]
add ecx, 0x6c
call fcn.00430e30
lea ecx, [ebp - 0x424]
push ecx
mov ecx, dword [ebp - 0x528]
call fcn.0042e450
lea edx, [ebp - 0x44c]
push edx
mov ecx, dword [ebp - 0x528]
add ecx, 0x6c
call fcn.00411170
jmp 0x42ee44
push 0
lea eax, [ebp - 0x4ac]
push eax
lea ecx, [ebp - 0x44c]
call fcn.00411300
lea ecx, [ebp - 0x4b4]
push ecx
mov ecx, dword [ebp - 0x528]
add ecx, 0x6c
call fcn.004111a0
push eax
lea ecx, [ebp - 0x44c]
call fcn.00411340
movzx edx, al
test edx, edx
je 0x42eea6
lea ecx, [ebp - 0x44c]
call fcn.00430f50
mov ecx, eax
call fcn.00430fb0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42eea4
lea ecx, [ebp - 0x44c]
call fcn.00430f50
mov ecx, eax
call fcn.00430fb0
push eax
call fcn.00418e60
add esp, 4
jmp 0x42ee30
lea eax, [ebp - 0x424]
push eax
mov ecx, dword [ebp - 0x528]
call fcn.0042e450
mov ecx, dword [ebp - 0x528]
add ecx, 0x6c
call fcn.00430e30
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.00491200
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x4fa8d4
push 0x4fa908
push 0x543740
lea edx, [ebp - 0x4d0]
push edx
call fcn.0041b0d0
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.0041b0d0
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4d0]
call fcn.00401740
push 0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4d4], esp
lea eax, [ebp - 0x444]
push eax
call fcn.00401700
mov dword [ebp - 0x534], eax
call fcn.00431f90
add esp, 0x20
movzx ecx, word [ebp - 0x424]
push ecx
call fcn.004976e5
add esp, 4
mov word [ebp - 0x10], ax
movzx edx, word [ebp - 0x10]
cmp edx, 0x41
jl 0x42efc0
movzx eax, word [ebp - 0x10]
cmp eax, 0x5a
jle 0x42f0e1
push 0x124
push 9
mov ecx, 0x5437d8
call fcn.0044d380
push eax
push 0x27
mov ecx, 0x5437d8
call fcn.0044d380
push eax
mov ecx, dword [ebp - 0x528]
add ecx, 4
call fcn.00431a10
cmp eax, 6
je 0x42f0dc
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.004319b0
mov ecx, eax
call fcn.004319e0
mov ecx, eax
call fcn.00430fb0
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.004319b0
mov ecx, eax
call fcn.004319e0
mov ecx, eax
call fcn.00430fb0
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.00431a70
mov ecx, eax
call fcn.004319e0
mov ecx, eax
call fcn.00431910
push 0x3ec
lea ecx, [ebp - 0x4f0]
push ecx
mov ecx, dword [ebp - 0x528]
add ecx, 4
call fcn.004319e0
mov ecx, eax
call fcn.00431930
mov dword [ebp - 0x4f4], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x444]
call fcn.00401740
mov eax, dword [ebp - 0x4f4]
jmp 0x42f336
jmp 0x42f247
mov dword [ebp - 0x454], 0x1000000
mov dword [ebp - 0x450], 0
movzx edx, word [ebp - 0x424]
push edx
call fcn.0042e9e0
add esp, 4
mov dword [ebp - 0x53c], eax
mov dword [ebp - 0x538], edx
mov eax, dword [ebp - 0x538]
cmp eax, dword [ebp - 0x450]
ja 0x42f247
jb 0x42f137
mov ecx, dword [ebp - 0x53c]
cmp ecx, dword [ebp - 0x454]
jae 0x42f247
push 0
push 9
mov ecx, 0x5437d8
call fcn.0044d380
push eax
push 0x28
mov ecx, 0x5437d8
call fcn.0044d380
push eax
mov ecx, dword [ebp - 0x528]
add ecx, 4
call fcn.00431a10
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.004319b0
mov ecx, eax
call fcn.004319e0
mov ecx, eax
call fcn.00430fb0
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.004319b0
mov ecx, eax
call fcn.004319e0
mov ecx, eax
call fcn.00430fb0
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.00431a70
mov ecx, eax
call fcn.004319e0
mov ecx, eax
call fcn.00431910
push 0x3ec
lea edx, [ebp - 0x510]
push edx
mov ecx, dword [ebp - 0x528]
add ecx, 4
call fcn.004319e0
mov ecx, eax
call fcn.00431930
mov dword [ebp - 0x514], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x444]
call fcn.00401740
mov eax, dword [ebp - 0x514]
jmp 0x42f336
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.004319e0
mov ecx, eax
call fcn.004318a0
push 1
push 0x3ee
lea edx, [ebp - 0x51c]
push edx
mov ecx, dword [ebp - 0x528]
add ecx, 4
call fcn.004319e0
mov ecx, eax
call fcn.004318a0
push 0
push 0x64
push 0x64
mov ecx, dword [ebp - 0x528]
add ecx, 4
call fcn.004318c0
mov ecx, dword [ebp - 0x528]
mov dword [ecx + 0x64], eax
push 0
push 0
mov edx, dword [ebp - 0x528]
push edx
push fcn.0042e930
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x428], eax
cmp dword [ebp - 0x428], 0
je 0x42f2ed
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.00401700
mov dword [ebp - 0x540], eax
call fcn.00431f90
add esp, 0x20
mov dword [ebp - 0x524], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x444]
call fcn.00401740
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.0049115e
mov esp, ebp
pop ebp
ret