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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x944
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x10004d80
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
push 0x100247d4
call fcn.10005c78
add esp, 4
test eax, eax
jne 0x1000218a
cmp dword [0x10024800], 0x7fffffff
je 0x10002191
cmp byte [0x1002476e], 0
jne 0x10001e45
mov byte [0x1002476e], 1
xorps xmm0, xmm0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x10], 6
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x150]
push eax
push ecx
push 6
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExA]
lea ecx, [ebp - 0x150]
test eax, eax
je 0x10001b04
push 0x104
push ecx
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea edi, [ebp - 0x150]
push edi
call fcn.1000b070
add esp, 4
mov ecx, dword [ebp - 0x30]
cmp ecx, eax
jae 0x10001b3f
lea ecx, [ebp - 0x44]
mov edx, eax
push edi
call fcn.10004380
add esp, 4
jmp 0x10001b71
lea eax, [ebp - 0x950]
push eax
push 0x800
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea edi, [ebp - 0x950]
push edi
call fcn.1000b070
add esp, 4
mov ecx, dword [ebp - 0x30]
cmp ecx, eax
jae 0x10001b49
lea ecx, [ebp - 0x44]
mov edx, eax
push edi
call fcn.10004380
add esp, 4
jmp 0x10001bff
cmp ecx, 0x10
jb 0x10001b5a
mov esi, dword [ebp - 0x44]
jmp 0x10001b5d
cmp ecx, 0x10
jb 0x10001be8
mov esi, dword [ebp - 0x44]
jmp 0x10001beb
lea esi, [ebp - 0x44]
mov dword [ebp - 0x34], eax
push eax
push edi
push esi
mov edi, eax
call fcn.10007340
add esp, 0xc
mov byte [esi + edi], 0
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x10001b8f
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x10001bb9
mov ecx, dword [ebp - 0x44]
cmp byte [ecx + eax - 1], 0x5c
jne 0x10001bc3
jmp 0x10001c3b
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x30]
xorps xmm0, xmm0
movups xmmword [ebp - 0x950], xmm0
lea esi, [ebp - 0x950]
mov ecx, 0xf
xor edi, edi
mov ebx, 0xa
jmp 0x10001cdb
lea ecx, [ebp - 0x44]
cmp byte [ecx + eax - 1], 0x5c
je 0x10001c3b
cmp edx, eax
jne 0x10001be0
lea ecx, [ebp - 0x44]
mov edx, 1
push 1
push 0x1001e2bd
call fcn.100044c0
add esp, 8
jmp 0x10001c3b
lea edx, [eax + 1]
mov dword [ebp - 0x34], edx
jmp 0x10001c35
lea esi, [ebp - 0x44]
mov dword [ebp - 0x34], eax
push eax
push edi
push esi
mov edi, eax
call fcn.10007340
add esp, 0xc
mov byte [esi + edi], 0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
cmp ecx, eax
jne 0x10001c22
lea ecx, [ebp - 0x44]
mov edx, 1
push 1
push 0x1001e2bd
call fcn.100044c0
add esp, 8
jmp 0x10001c3b
lea edx, [eax + 1]
mov dword [ebp - 0x34], edx
cmp ecx, 0x10
jb 0x10001c32
mov ecx, dword [ebp - 0x44]
jmp 0x10001c35
lea ecx, [ebp - 0x44]
mov word [ecx + eax], 0x5c
mov edi, dword [ebp - 0x34]
cmp edi, 0x7ffffff6
jge 0x100021f5
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x30]
xorps xmm0, xmm0
movups xmmword [ebp - 0x950], xmm0
lea ebx, [edi + 0xa]
cmp ebx, 0x10
jb 0x10001cab
mov ecx, 0x7fffffff
cmp edi, 0xfffffff6
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], edx
jl 0x10001c8f
mov eax, ebx
or eax, 0xf
cmp eax, 0x17
mov ecx, 0x16
cmovae ecx, eax
cmp eax, 0xfff
jb 0x10001cb8
mov dword [ebp - 0x48], ecx
lea eax, [ecx + 0x24]
push eax
call fcn.10004ec0
add esp, 4
mov esi, eax
add esi, 0x23
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x10001cc9
lea esi, [ebp - 0x950]
mov ecx, 0xf
jmp 0x10001cdb
mov dword [ebp - 0x48], ecx
lea eax, [ecx + 1]
push eax
call fcn.10004ec0
add esp, 4
mov esi, eax
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x950], esi
mov edi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x48]
cmp edx, 0x10
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x20]
mov dword [ebp - 0x940], ebx
mov dword [ebp - 0x93c], ecx
push edi
push eax
push esi
call fcn.10007340
add esp, 0xc
mov dword [esi + edi], 0x6f647473
mov dword [esi + edi + 4], 0x742e7475
mov word [esi + edi + 8], 0x7478
mov byte [esi + ebx], 0
mov eax, dword [0x10023918]
cmp eax, 0x10
jb 0x10001d53
mov ecx, dword [0x10023904]
lea edx, [eax + 1]
cmp edx, 0x1000
jb 0x10001d49
mov esi, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, esi
cmp ecx, 0x20
jae 0x1000220b
add eax, 0x24
mov edx, eax
mov ecx, esi
push edx
push ecx
call fcn.10004ef5
add esp, 8
movsd xmm0, qword [ebp - 0x940]
movsd qword [0x10023914], xmm0
movups xmm0, xmmword [ebp - 0x950]
movups xmmword [0x10023904], xmm0
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x10001da9
mov ecx, dword [ebp - 0x44]
lea edx, [eax + 1]
cmp edx, 0x1000
jb 0x10001d9f
mov esi, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, esi
cmp ecx, 0x20
jae 0x10002217
add eax, 0x24
mov edx, eax
mov ecx, esi
push edx
push ecx
call fcn.10004ef5
add esp, 8
mov dword [ebp - 0x10], 3
push 4
call fcn.10004ec0
add esp, 4
mov dword [eax], 0x10004180
lea ecx, [ebp - 0x94c]
mov dword [ebp - 0x10], 5
push ecx
push 0
mov dword [ebp - 0x20], eax
push eax
push 0x10004b30
push 0
push 0
call fcn.10009b85
add esp, 0x18
mov dword [ebp - 0x950], eax
test eax, eax
je 0x100021ba
cmp dword [0x1002481c], 0
jne 0x100021ce
mov eax, dword [ebp - 0x950]
mov ecx, dword [ebp - 0x94c]
mov dword [0x1002481c], ecx
mov dword [0x10024818], eax
test ecx, ecx
je 0x100021d3
push ecx
push eax
call fcn.10005dd3
add esp, 8
test eax, eax
jne 0x100021e4
mov dword [0x10024818], 0
mov dword [0x1002481c], 0
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
movsd qword [ebp - 0x940], xmm0
xorps xmm0, xmm0
movups xmmword [ebp - 0x950], xmm0
push esi
call fcn.1000b070
add esp, 4
test eax, eax
js 0x100021a2
mov edi, eax
cmp eax, 0xf
ja 0x10001ea0
mov dword [ebp - 0x940], edi
mov dword [ebp - 0x93c], 0xf
lea eax, [ebp - 0x950]
push edi
push esi
push eax
call fcn.10007340
add esp, 0xc
add edi, ebp
add edi, 0xfffff6b0
jmp 0x10001f11
mov dword [ebp - 0x20], edi
or edi, 0xf
cmp edi, 0x17
mov ecx, 0x16
cmovae ecx, edi
mov dword [ebp - 0x10], 3
cmp edi, 0xfff
mov dword [ebp - 0x24], ecx
jb 0x10001edc
lea eax, [ecx + 0x24]
push eax
call fcn.10004ec0
add esp, 4
mov esi, eax
add esi, 0x23
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x10001eea
lea eax, [ecx + 1]
push eax
call fcn.10004ec0
add esp, 4
mov esi, eax
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x950], esi
mov dword [ebp - 0x940], edi
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x93c], eax
push edi
push dword [ebp + 8]
push esi
call fcn.10007340
add esp, 0xc
add edi, esi
mov byte [edi], 0
mov esi, dword [0x10024828]
mov eax, dword [0x10024830]
lea ecx, [eax + 1]
cmp esi, ecx
jbe 0x10001f31
mov edi, dword [0x10024824]
jmp 0x100020ec
cmp esi, 1
mov edi, esi
adc edi, 0
nop dword [eax]
mov eax, 0xaaaaaaa
sub eax, edi
cmp eax, edi
jb 0x1000217e
mov edx, edi
add edi, edi
cmp edi, 8
jb 0x10001f40
cmp edi, esi
je 0x10001f40
cmp edi, 0x40000000
jae 0x100021ae
mov ecx, dword [0x1002482c]
lea eax, [edx*8]
cmp edi, 0x400
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x2c], edi
jb 0x10001fb2
mov dword [ebp - 0x10], 4
cmp edi, 0x3ffffff8
jae 0x100021fa
add eax, 0x23
push eax
call fcn.10004ec0
add esp, 4
mov edx, eax
add edx, 0x23
and edx, 0xffffffe0
mov dword [edx - 4], eax
jmp 0x10001fc4
mov dword [ebp - 0x10], 4
push eax
call fcn.10004ec0
add esp, 4
mov edx, eax
mov eax, dword [ebp - 0x20]
and eax, 0x7fffffff
mov ecx, dword [ebp - 0x2c]
nop
mov esi, ecx
add ecx, ecx
cmp esi, eax
jbe 0x10001fd0
mov ebx, dword [ebp - 0x24]
lea eax, [edx + ebx*4]
mov dword [ebp - 0x28], eax
mov eax, dword [0x10024828]
sub esi, eax
mov dword [ebp - 0x20], esi
mov ecx, dword [0x10024824]
mov dword [ebp - 0x2c], edx
lea edi, [ecx + eax*4]
lea eax, [ecx + ebx*4]
sub edi, eax
push edi
push eax
mov esi, dword [ebp - 0x28]
push esi
call fcn.10007340
mov ecx, dword [ebp - 0x20]
add esp, 0xc
add edi, esi
mov esi, ecx
mov eax, dword [0x10024824]
sub esi, ebx
jae 0x1000205e
lea ebx, [ecx*4]
push ebx
push eax
push edi
mov esi, ecx
call fcn.10007340
add esp, 0xc
mov eax, dword [0x10024824]
mov ecx, dword [ebp - 0x24]
lea edi, [eax + ecx*4]
lea eax, [eax + esi*4]
sub edi, eax
push edi
push eax
mov esi, dword [ebp - 0x2c]
push esi
call fcn.10007340
add esp, 0xc
add edi, esi
push ebx
push 0
push edi
call fcn.100078c0
add esp, 0xc
mov edi, esi
jmp 0x10002099
mov ebx, dword [ebp - 0x24]
lea ecx, [ebx*4]
mov dword [ebp - 0x28], ecx
push ecx
push eax
push edi
call fcn.10007340
add esp, 0xc
lea eax, [edi + ebx*4]
shl esi, 2
push esi
push 0
push eax
call fcn.100078c0
add esp, 0xc
push dword [ebp - 0x28]
push 0
mov edi, dword [ebp - 0x2c]
push edi
call fcn.100078c0
add esp, 0xc
mov ecx, dword [0x10024824]
test ecx, ecx
mov esi, dword [ebp - 0x20]
je 0x100020d5
mov eax, dword [0x10024828]
shl eax, 2
cmp eax, 0x1000
jb 0x100020cb
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x100021ff
add eax, 0x23
mov ecx, edx
push eax
push ecx
call fcn.10004ef5
add esp, 8
mov dword [0x10024824], edi
add esi, dword [0x10024828]
mov dword [0x10024828], esi
mov eax, dword [0x10024830]
dec esi
mov edx, dword [0x1002482c]
and edx, esi
mov dword [0x1002482c], edx
add edx, eax
and esi, edx
mov ecx, dword [edi + esi*4]
test ecx, ecx
jne 0x10002140
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x10], 4
push 0x18
call fcn.10004ec0
add esp, 4
mov ecx, dword [0x10024824]
mov edx, dword [ebp - 0x20]
mov dword [ecx + edx*4], eax
mov eax, dword [0x10024828]
mov ecx, dword [0x10024824]
dec eax
and eax, dword [ebp - 0x24]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x10024830]
movsd xmm0, qword [ebp - 0x940]
movsd qword [ecx + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x950]
movups xmmword [ecx], xmm0
inc eax
mov dword [0x10024830], eax
push 0x100247d4
call fcn.10005c89
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x944
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 4
call fcn.100046a0
push 5
call fcn.10005635
mov dword [0x10024800], 0x7ffffffe
push 6
call fcn.10005635
mov dword [ebp - 0x10], 3
call fcn.100044b0
mov dword [ebp - 0x10], 4
call fcn.10003ea0
mov dword [ebp - 0x94c], 0
push 6
call fcn.10005635
add esp, 4
call fcn.1000b0fb
mov dword [ebp - 0x10], 3
push 1
call fcn.10005635
add esp, 4
mov dword [ebp - 0x10], 3
push 1
call fcn.10005635
add esp, 4
call fcn.100044b0
call fcn.10003ea0
mov dword [ebp - 0x10], 2
call fcn.1000a987
mov dword [ebp - 0x10], 0
call fcn.1000a987
mov dword [ebp - 0x10], 1
call fcn.1000a987
nop word cs:[eax + eax]
push ebp
sub esp, 0x18
add ebp, 0xc
call fcn.10006f55
nop dword [eax]
push ebp
sub esp, 0x18
add ebp, 0xc
call fcn.10006f55
nop dword [eax]
push ebp
sub esp, 0x18
add ebp, 0xc
call fcn.10006f55
nop dword [eax]
push ebp
sub esp, 0x18
add ebp, 0xc
push dword [ebp - 0x20]
call fcn.10004ef0
add esp, 0x1c
pop ebp
ret