Function at 0x4096f0
Capabilities:
Create thread
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6f0a
mov eax, dword fs:[0]
push eax
sub esp, 0x390
mov eax, dword [0x50738c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x350], ecx
mov dword [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00402060
movzx eax, al
test eax, eax
je 0x409763
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.004021b0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.004021b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x38]
call fcn.004021b0
jmp 0x409a78
push 0xffffffffffffffff
push 0x2e
lea ecx, [ebp + 8]
call fcn.00401ff0
mov dword [ebp - 0x354], eax
lea ecx, [ebp + 8]
call fcn.00402090
sub eax, dword [ebp - 0x354]
push eax
mov ecx, dword [ebp - 0x354]
push ecx
lea edx, [ebp - 0x260]
push edx
lea ecx, [ebp + 8]
call fcn.00401fa0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x230]
call fcn.00402200
mov byte [ebp - 4], 4
lea edx, [ebp + 8]
lea ecx, [ebp - 0x384]
call fcn.0041ddf0
mov dword [ebp - 0x360], eax
mov edx, dword [ebp - 0x360]
mov dword [ebp - 0x364], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x364]
push eax
lea ecx, [ebp - 0x2cc]
call fcn.0040e650
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x384]
call fcn.00402340
lea ecx, [ebp - 0x248]
push ecx
lea ecx, [ebp - 0x2cc]
call fcn.0040fce0
mov byte [ebp - 4], 6
lea edx, [ebp - 0x248]
lea ecx, [ebp - 0x39c]
call fcn.0041ddc0
mov dword [ebp - 0x368], eax
mov edx, dword [ebp - 0x368]
mov dword [ebp - 0x36c], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x36c]
push eax
lea ecx, [ebp - 0x230]
call fcn.00402100
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x39c]
call fcn.004021b0
lea ecx, [ebp - 0x260]
push ecx
lea ecx, [ebp - 0x230]
call fcn.00402100
xor dl, dl
lea ecx, [ebp - 0x230]
call fcn.0041da30
movzx edx, al
test edx, edx
je 0x40996a
lea ecx, [ebp - 0x348]
call fcn.00405b80
mov byte [ebp - 4], 8
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x314]
call fcn.00402140
lea ecx, [ebp + 0x20]
push ecx
lea ecx, [ebp - 0x32c]
call fcn.00402140
lea edx, [ebp + 0x38]
push edx
lea ecx, [ebp - 0x2fc]
call fcn.00402140
mov eax, dword [ebp - 0x350]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x348], ecx
lea edx, [ebp + 8]
push edx
lea ecx, [ebp - 0x344]
call fcn.00402140
lea eax, [ebp - 0x348]
push eax
mov ecx, dword [ebp - 0x350]
call fcn.00409aa0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x348]
call fcn.00405160
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x248]
call fcn.00402340
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x230]
call fcn.004021b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x260]
call fcn.004021b0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.004021b0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.004021b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x38]
call fcn.004021b0
jmp 0x409a78
push 0x7c
call fcn.004b3f75
add esp, 4
mov dword [ebp - 0x358], eax
cmp dword [ebp - 0x358], 0
je 0x409996
mov ecx, dword [ebp - 0x358]
call fcn.00405b80
mov dword [ebp - 0x35c], eax
jmp 0x4099a0
mov dword [ebp - 0x35c], 0
mov ecx, dword [ebp - 0x35c]
mov dword [ebp - 0x34c], ecx
mov edx, dword [ebp - 0x34c]
mov eax, dword [ebp - 0x350]
mov ecx, dword [eax + 4]
mov dword [edx], ecx
lea edx, [ebp + 8]
push edx
mov ecx, dword [ebp - 0x34c]
add ecx, 4
call fcn.00402140
lea eax, [ebp + 0x20]
push eax
mov ecx, dword [ebp - 0x34c]
add ecx, 0x1c
call fcn.00402140
lea ecx, [ebp - 0x230]
push ecx
mov ecx, dword [ebp - 0x34c]
add ecx, 0x34
call fcn.00402140
lea edx, [ebp + 0x38]
push edx
mov ecx, dword [ebp - 0x34c]
add ecx, 0x4c
call fcn.00402140
push 0
push 0
mov eax, dword [ebp - 0x34c]
push eax
push 0x4050a0
push 0
push 0
call fcn.004b9dcb
add esp, 0x18
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x248]
call fcn.00402340
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x230]
call fcn.004021b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x260]
call fcn.004021b0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.004021b0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.004021b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x38]
call fcn.004021b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b3f64
mov esp, ebp
pop ebp
ret 0x48