Function at 0x10001577
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 0xc], 1
jne 0x100017e2
push 0x80000006
push 0
push 0x100075a7
push 1
mov ebx, 0x9dc
call fcn.1002b480
add esp, 0x10
push eax
mov eax, 0x1003122b
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
mov eax, str.kernel32.dll
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0x10034425
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x100015e0
push ebx
call fcn.1002a5f0
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100015f0
push ebx
call fcn.1002a5f0
add esp, 4
mov ebx, dword [0x10034429]
mov dword [ebp - 4], ebx
mov eax, 0x10031245
push eax
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10001611
push ebx
call fcn.1002a5f0
add esp, 4
pop eax
mov ebx, dword [ebp - 4]
mov dword [ebx], eax
mov ebx, dword [0x10034429]
add ebx, 8
mov dword [ebp - 4], ebx
mov eax, 0x10031250
push eax
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
test ebx, ebx
je 0x1000163b
push ebx
call fcn.1002a5f0
add esp, 4
pop eax
mov ebx, dword [ebp - 4]
mov dword [ebx], eax
mov ebx, dword [0x10034429]
add ebx, 4
mov dword [ebp - 4], ebx
mov eax, str.1.0.0
push eax
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10001665
push ebx
call fcn.1002a5f0
add esp, 4
pop eax
mov ebx, dword [ebp - 4]
mov dword [ebx], eax
mov ebx, dword [0x10034429]
add ebx, 0xc
mov dword [ebp - 4], ebx
mov eax, 0x10031245
push eax
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
test ebx, ebx
je 0x1000168f
push ebx
call fcn.1002a5f0
add esp, 4
pop eax
mov ebx, dword [ebp - 4]
mov dword [ebx], eax
mov ebx, dword [0x10034429]
add ebx, 0x10
mov dword [ebp - 4], ebx
mov eax, str.SDG5D4Ys89h7DJ849d
push eax
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
test ebx, ebx
je 0x100016b9
push ebx
call fcn.1002a5f0
add esp, 4
pop eax
mov ebx, dword [ebp - 4]
mov dword [ebx], eax
mov ebx, dword [0x10034429]
add ebx, 0x14
mov dword [ebp - 4], ebx
mov eax, 0x10031270
push eax
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
test ebx, ebx
je 0x100016e3
push ebx
call fcn.1002a5f0
add esp, 4
pop eax
mov ebx, dword [ebp - 4]
mov dword [ebx], eax
push 0x80000006
push 0
push 0x10007691
push 1
mov ebx, 0xa08
call fcn.1002ae00
add esp, 0x10
push 0
mov ebx, 0x104
call fcn.1002b560
add esp, 4
mov dword [ebp - 4], eax
mov ebx, dword [0x10034429]
mov dword [ebp - 8], ebx
push 0x10031273
mov ebx, dword [ebp - 8]
push dword [ebx]
push str.dataplugin_
push dword [ebp - 4]
mov ecx, 4
call fcn.1000151b
add esp, 0x10
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10001757
push ebx
call fcn.1002a5f0
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [0x1003442d]
test ebx, ebx
je 0x1000176e
push ebx
call fcn.1002a5f0
add esp, 4
pop eax
mov dword [0x1003442d], eax
push 0x80000004
push 0
mov eax, dword [0x1003442d]
test eax, eax
jne 0x10001789
mov eax, 0x10031283
push eax
push 1
mov ebx, 0x24c
call fcn.1002b5f0
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100017d8
mov dword [ebp - 4], esp
push dword [0x1003442d]
xor eax, eax
call dword [sym.imp.imagehlp.dll_MakeSureDirectoryPathExists]
nop
nop
cmp dword [ebp - 4], esp
je 0x100017d8
push 0x282
push 0x401000d
push 6
call fcn.1002a5fc
add esp, 0xc
call fcn.100018d2
jmp 0x10001889
cmp dword [ebp + 0xc], 0
jne 0x10001870
push 0x10034425
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
cmp dword [0x10034431], 0
jle 0x1000186b
mov dword [ebp - 4], esp
push 0
push dword [0x10034431]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
nop
nop
cmp dword [ebp - 4], esp
je 0x1000183c
push 0x332
push 0x401000d
push 6
call fcn.1002a5fc
add esp, 0xc
mov dword [ebp - 4], esp
push dword [0x10034431]
xor eax, eax
call dword [0x100344a5]
nop
nop
cmp dword [ebp - 4], esp
je 0x1000186b
push 0x355
push 0x401000d
push 6
call fcn.1002a5fc
add esp, 0xc
jmp 0x10001889
cmp dword [ebp + 0xc], 2
jne 0x1000187f
jmp 0x10001889
cmp dword [ebp + 0xc], 3
jne 0x10001889
mov eax, 1
jmp 0x10001893
mov esp, ebp
pop ebp
ret 0xc