Function at 0x410df0
Capabilities:
Create thread
Get common file path
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4426b5
mov eax, dword fs:[0]
push eax
sub esp, 0x33c
mov eax, dword [0x452598]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
lea ecx, [ebp - 0x330]
mov dword [ebp - 0x334], ebx
call fcn.00423f70
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push ebx
lea eax, [edi + 0xc0]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push eax
mov dword [ebp - 4], ebx
mov byte [ecx], bl
call fcn.00404640
call fcn.00422000
add esp, 0x18
mov ecx, edi
call fcn.004115f0
test al, al
je 0x4115b3
call fcn.0041ef50
push eax
lea ecx, [ebp - 0x230]
call fcn.0040f580
mov esi, dword [ebp - 0x220]
push 1
push esi
push 0x4452f0
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 1
call fcn.00415140
push esi
inc eax
push eax
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x230]
call fcn.00415ad0
mov esi, eax
lea eax, [ebp - 0x230]
cmp eax, esi
je 0x410efc
cmp dword [ebp - 0x21c], 8
jb 0x410ed3
push dword [ebp - 0x230]
call fcn.004281da
add esp, 4
xor eax, eax
push esi
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.00413f90
cmp dword [ebp - 0x264], 8
jb 0x410f13
push dword [ebp - 0x278]
call fcn.004281da
add esp, 4
mov dword [ebp - 0x348], 0
mov dword [ebp - 0x344], 0
mov dword [ebp - 0x340], 0
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x334]
push eax
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 2
mov dword [ebp - 0x334], 0x2e
call fcn.00415970
push eax
push 0
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x230]
call fcn.00415ad0
mov esi, eax
lea eax, [ebp - 0x230]
cmp eax, esi
je 0x410fb6
cmp dword [ebp - 0x21c], 8
jb 0x410f8d
push dword [ebp - 0x230]
call fcn.004281da
add esp, 4
xor eax, eax
push esi
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.00413f90
cmp dword [ebp - 0x264], 8
jb 0x410fcd
push dword [ebp - 0x278]
call fcn.004281da
add esp, 4
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x338], esp
push 0x44541c
call fcn.0040f580
sub esp, 0x18
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x230]
push eax
mov byte [ebp - 4], 3
call fcn.00414c70
lea eax, [ebp - 0x254]
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.00413e30
push eax
lea ecx, [ebp - 0x348]
mov byte [ebp - 4], 4
call fcn.00410d30
mov eax, dword [ebp - 0x254]
mov byte [ebp - 4], 2
test eax, eax
je 0x411064
push dword [ebp - 0x338]
lea ecx, [ebp - 0x331]
push ecx
push dword [ebp - 0x250]
push eax
call fcn.0040f080
push dword [ebp - 0x254]
call fcn.004281da
add esp, 0x14
mov ecx, dword [ebp - 0x344]
mov esi, dword [ebp - 0x348]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 3
jb 0x41109f
lea eax, [esi + 0x30]
lea ecx, [edi + 0x49c]
cmp ecx, eax
je 0x41109f
push 0xffffffffffffffff
push 0
push eax
call fcn.00414c70
cmp dword [edi + 0x398], 0x10
mov esi, dword [edi + 0x394]
lea ecx, [edi + 0x384]
jb 0x4110b6
mov ecx, dword [ecx]
mov eax, 1
cmp esi, eax
cmovb eax, esi
push eax
push 0x445420
push ecx
call fcn.00401010
add esp, 0xc
test eax, eax
jne 0x4110e7
cmp esi, 1
jae 0x4110dd
or eax, 0xffffffff
jmp 0x4110e5
xor eax, eax
cmp esi, 1
setne al
test eax, eax
sete al
test al, al
je 0x411479
push 0x4452f4
lea ecx, [ebp - 0x278]
call fcn.0040f580
push 0x4452f4
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 5
call fcn.0040f580
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x334]
lea esi, [edi + 0x39c]
push eax
mov ecx, esi
mov byte [ebp - 4], 6
mov byte [ebp - 0x334], 0x2f
call fcn.004158e0
push 0xffffffffffffffff
inc eax
push eax
lea eax, [ebp - 0x260]
push eax
mov ecx, esi
call fcn.00415a90
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
mov byte [ebp - 4], 7
call fcn.004296c0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp word [ebp - 0x218], 0
jne 0x41118d
xor ecx, ecx
jmp 0x4111a5
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411196
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x278]
call fcn.00414d90
cmp dword [ebp - 0x24c], 0x10
lea eax, [ebp - 0x260]
cmovae eax, dword [ebp - 0x260]
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.0041f5e0
lea ecx, [ebp - 0x248]
add esp, 8
mov dword [ebp - 0x334], eax
cmp ecx, eax
je 0x411232
cmp dword [ebp - 0x234], 8
jb 0x411209
push dword [ebp - 0x248]
call fcn.004281da
mov eax, dword [ebp - 0x334]
add esp, 4
xor ecx, ecx
mov word [ebp - 0x248], cx
push eax
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
call fcn.00413f90
cmp dword [ebp - 0x27c], 8
jb 0x411249
push dword [ebp - 0x290]
call fcn.004281da
add esp, 4
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x278]
call fcn.00414a30
push 0x44
call fcn.00428209
add esp, 4
mov dword [ebp - 0x338], eax
mov byte [ebp - 4], 8
test eax, eax
je 0x4112e2
cmp dword [esi + 0x14], 0x10
jb 0x41127f
mov esi, dword [esi]
lea eax, [ebp - 0x290]
push esi
push eax
call fcn.0041f5e0
add esp, 8
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 9
mov dword [ebp - 0x334], 1
jb 0x4112a5
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2a8]
call fcn.0040f580
mov ecx, dword [ebp - 0x338]
push 0
lea eax, [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x278]
mov ebx, 3
push eax
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x334], ebx
call fcn.0041ba60
mov esi, eax
jmp 0x4112e4
xor esi, esi
test bl, 2
je 0x411320
and ebx, 0xfffffffd
cmp dword [ebp - 0x294], 8
jb 0x411303
push dword [ebp - 0x2a8]
call fcn.004281da
add esp, 4
xor eax, eax
mov dword [ebp - 0x294], 7
mov dword [ebp - 0x298], 0
mov word [ebp - 0x2a8], ax
mov dword [ebp - 4], 7
test bl, 1
je 0x411360
cmp dword [ebp - 0x27c], 8
jb 0x411343
push dword [ebp - 0x290]
call fcn.004281da
add esp, 4
xor eax, eax
mov dword [ebp - 0x27c], 7
mov dword [ebp - 0x280], 0
mov word [ebp - 0x290], ax
lea eax, [esi + 8]
push eax
push 4
push esi
push 0x413f60
push 0
push 0
mov byte [esi + 0xd], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
test eax, eax
je 0x411388
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x338], esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
lea eax, [edi + 0x49c]
push 0
push eax
call fcn.00414c70
sub esp, 0x18
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x248]
push eax
mov byte [ebp - 4], 0xd
call fcn.00414c70
mov byte [ebp - 4], 7
call fcn.0041ff40
add esp, 0x30
cmp dword [ebp - 0x24c], 0x10
jb 0x41140f
push dword [ebp - 0x260]
call fcn.004281da
add esp, 4
cmp dword [ebp - 0x234], 8
mov dword [ebp - 0x24c], 0xf
mov dword [ebp - 0x250], 0
mov byte [ebp - 0x260], 0
jb 0x411441
push dword [ebp - 0x248]
call fcn.004281da
add esp, 4
xor eax, eax
cmp dword [ebp - 0x264], 8
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
mov byte [ebp - 4], 2
jb 0x411479
push dword [ebp - 0x278]
call fcn.004281da
add esp, 4
mov ecx, edi
call fcn.00412cb0
mov ecx, edi
call fcn.00412460
cmp dword [edi + 0x218], 0x10
mov esi, dword [edi + 0x214]
lea eax, [edi + 0x204]
jb 0x41149e
mov eax, dword [eax]
cmp esi, 1
mov ecx, 1
cmovb ecx, esi
push ecx
push 0x445420
push eax
call fcn.00401010
add esp, 0xc
test eax, eax
jne 0x4114d0
cmp esi, 1
jae 0x4114c6
or eax, 0xffffffff
jmp 0x4114ce
xor eax, eax
cmp esi, 1
setne al
test eax, eax
sete al
test al, al
je 0x411553
cmp dword [edi + 0x230], 0x10
lea eax, [edi + 0x21c]
jb 0x4114e8
mov eax, dword [eax]
push eax
call fcn.00428bb8
fstp dword [ebp - 0x338]
movss xmm0, dword [ebp - 0x338]
fnstcw word [ebp - 0x332]
mulss xmm0, dword [0x445548]
movzx eax, word [ebp - 0x332]
movss dword [ebp - 0x338], xmm0
or eax, 0xc00
fld dword [ebp - 0x338]
mov dword [ebp - 0x338], eax
add esp, 4
fldcw word [ebp - 0x338]
fistp qword [ebp - 0x33c]
mov eax, dword [ebp - 0x33c]
push eax
fldcw word [ebp - 0x332]
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, edi
call fcn.004133f0
mov ebx, dword [ebp - 0x348]
test ebx, ebx
je 0x41157f
push dword [ebp - 0x338]
lea eax, [ebp - 0x331]
push eax
push dword [ebp - 0x344]
push ebx
call fcn.0040f080
push ebx
call fcn.004281da
add esp, 0x14
cmp dword [ebp - 0x21c], 8
jb 0x411596
push dword [ebp - 0x230]
call fcn.004281da
add esp, 4
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
lea ecx, [ebp - 0x330]
mov dword [ebp - 4], 0xffffffff
call fcn.00423f90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00428be6
mov esp, ebp
pop ebp
ret