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

Disassembly:
push 0xffffffffffffffff
push 0x1001dc72
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x460
push ebp
mov ebp, ecx
push esi
mov eax, dword [ebp]
call dword [eax + 0x10]
xor ecx, ecx
mov dword [esp + 0xc], eax
cmp eax, ecx
jl 0x100049a3
lea eax, [ebp + 0x2ec2]
xor edx, edx
mov dword [ebp + 0x2eb8], ecx
mov dword [ebp + 0x2ebc], ecx
mov word [ebp + 0x2ec0], 0x400
mov dword [eax], edx
push ebx
mov ebx, dword [esp + 0x480]
mov dword [eax + 4], edx
push edi
mov edi, ebx
lea esi, [ebp + 0x2ed4]
mov dword [eax + 8], edx
push 1
mov dword [eax + 0xc], edx
mov al, byte [esp + 0x490]
mov edx, dword [esp + 0x484]
mov dword [ebp + 0x2f08], ecx
mov byte [ebp + 0x2f14], al
mov dword [ebp + 0x2f18], ecx
mov byte [ebp + 0x2f15], cl
or ecx, 0xffffffff
xor eax, eax
mov dword [ebp + 0x2f10], edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
mov ecx, esi
push edi
mov dword [esp + 0x20], edi
call fcn.10001e50
test al, al
je 0x1000459b
mov eax, dword [esi + 4]
mov ecx, edi
mov edx, ecx
mov esi, ebx
mov edi, eax
mov eax, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp + 0x2ed4]
call fcn.10001e30
mov esi, dword [esp + 0x488]
test esi, esi
jne 0x100047a6
lea edi, [ebp + 0x2ee4]
push 0x10024358
push esi
push edi
mov byte [ebp + 0x2f15], 1
call fcn.1000f970
push 0x5c
push ebx
call fcn.10013240
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x100045e9
push 0x2f
push ebx
call fcn.10013240
mov esi, eax
add esp, 8
test esi, esi
je 0x100046cb
push 0x10024354
call fcn.100125b7
add esp, 4
mov ecx, edi
push eax
push 0x10024354
call fcn.10004ae0
mov al, byte [esi + 1]
inc esi
cmp al, 0x63
jne 0x10004612
mov byte [ebp + 0x2f14], 0
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x20], cl
lea ecx, [esp + 0x20]
call fcn.10001ba0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x20]
push ebx
call fcn.10001e50
test al, al
je 0x10004661
mov edi, dword [esp + 0x20]
mov ecx, ebx
mov edx, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
call fcn.10001e30
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x50]
push eax
push ecx
mov dword [esp + 0x480], 0
call fcn.10011950
add esp, 8
mov edx, dword [0x1001f2c8]
lea ecx, [ebp + 0x2ee4]
push edx
push 0
push eax
mov byte [esp + 0x484], 1
call fcn.100049f0
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0x47c], 0
call fcn.100036b0
push 1
lea ecx, [esp + 0x20]
mov dword [esp + 0x47c], 0xffffffff
call fcn.10001ba0
xor esi, esi
jmp 0x100048a0
push 0x10024354
call fcn.100125b7
add esp, 4
mov ecx, edi
push eax
push 0x10024354
call fcn.10004ae0
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x20]
mov byte [esp + 0x20], al
call fcn.10001ba0
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
lea ecx, [esp + 0x20]
push esi
mov dword [esp + 0x20], esi
call fcn.10001e50
test al, al
je 0x1000473c
mov edi, dword [esp + 0x20]
mov ecx, esi
mov edx, ecx
mov esi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
call fcn.10001e30
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x50]
push ecx
push edx
mov dword [esp + 0x480], 2
call fcn.10011950
add esp, 8
mov ecx, dword [0x1001f2c8]
mov byte [esp + 0x478], 3
push ecx
push 0
push eax
lea ecx, [ebp + 0x2ee4]
call fcn.100049f0
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0x47c], 2
call fcn.100036b0
push 1
lea ecx, [esp + 0x20]
mov dword [esp + 0x47c], 0xffffffff
call fcn.10001ba0
xor esi, esi
jmp 0x100048a0
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x30]
mov byte [esp + 0x30], dl
call fcn.10001ba0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x30]
push ebx
call fcn.10001e50
test al, al
je 0x100047f7
mov edi, dword [esp + 0x30]
mov ecx, ebx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x34], ebx
mov byte [ecx + ebx], 0
lea edx, [esp + 0x2c]
lea eax, [esp + 0x40]
push edx
push eax
mov dword [esp + 0x480], 4
call fcn.10011950
add esp, 8
mov ecx, dword [0x1001f2c8]
xor esi, esi
push ecx
push esi
push eax
lea ecx, [ebp + 0x2ee4]
mov byte [esp + 0x484], 5
call fcn.10004ba0
mov ecx, dword [esp + 0x44]
cmp ecx, esi
je 0x10004858
mov al, byte [ecx - 1]
test al, al
je 0x1000484c
cmp al, 0xff
je 0x1000484c
dec al
mov byte [ecx - 1], al
jmp 0x10004858
add ecx, 0xfffffffe
push ecx
call fcn.10011d80
add esp, 4
mov eax, dword [esp + 0x30]
mov dword [esp + 0x44], esi
cmp eax, esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x478], 0xffffffff
je 0x10004894
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x1000488b
cmp al, 0xff
je 0x1000488b
dec al
mov byte [ecx], al
jmp 0x10004894
push ecx
call fcn.10011d80
add esp, 4
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x26a]
mov word [esp + 0x268], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x62]
mov word [esp + 0x60], si
rep stosd dword es:[edi], eax
lea edx, [esp + 0x268]
push edx
push 0x104
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [esp + 0x60]
lea ecx, [esp + 0x268]
push eax
push esi
push 0x1002434c
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea edx, [esp + 0x60]
lea edi, [ebp + 0x2ef4]
push edx
call fcn.100125b7
add esp, 4
mov ebx, eax
mov ecx, edi
push 1
push ebx
call fcn.10001f70
test al, al
je 0x10004945
mov eax, dword [edi + 4]
cmp ebx, esi
lea ecx, [esp + 0x60]
jbe 0x1000493b
mov edx, ebx
mov si, word [ecx]
add ecx, 2
mov word [eax], si
add eax, 2
dec edx
jne 0x1000492a
xor esi, esi
mov eax, dword [edi + 4]
mov dword [edi + 8], ebx
mov word [eax + ebx*2], si
mov edi, dword [edi + 4]
cmp edi, esi
jne 0x10004951
mov edi, 0x1001f2c4
push 0x10024134
push edi
call fcn.100125a4
add esp, 8
cmp eax, esi
mov dword [ebp + 0x2f04], eax
pop edi
pop ebx
jne 0x10004979
mov dword [esp + 0xc], 0xfffffff6
mov eax, dword [esp + 0xc]
jmp 0x100049a3
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x10004983
jmp 0x100049a3
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], esi
push ecx
push esi
push ebp
push 0x100049c0
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp + 0x2f08], eax
xor eax, eax
mov ecx, dword [esp + 0x468]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x46c
ret 0x10