Function at 0x1006b732
Capabilities:
Accept command line arguments
Create directory
Get common file path

Disassembly:
push 0x738
mov eax, 0x1009bb43
call fcn.100871e2
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x14], ebx
call fcn.1006d773
lea ecx, [ebp - 0x118]
mov dword [ebp - 4], ebx
call fcn.1006da40
push ecx
mov eax, esp
mov dword [ebp - 0x50], esp
mov esi, 0x10005e9c
push esi
push eax
call fcn.100580f9
lea eax, [ebp - 0x1c]
push eax
call fcn.10069c8f
mov byte [ebp - 4], 1
push dword [eax]
mov ecx, dword [ebp + 0xc]
call fcn.10054bbe
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.1007924a
push ecx
mov eax, esp
mov dword [ebp - 0x50], esp
push esi
push eax
call fcn.100580f9
lea eax, [ebp - 0x2c]
push eax
call fcn.10069c8f
mov byte [ebp - 4], 2
push dword [ebp + 0xc]
mov eax, dword [ebp - 0x2c]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x50], esp
mov edi, esp
call fcn.100791e7
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x24]
push eax
call fcn.1002a8ec
mov byte [ebp - 4], 3
push dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
push eax
call fcn.100580f9
mov byte [ebp - 4], 4
mov edi, dword [ebp + 0xc]
mov ecx, eax
call fcn.10054d81
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.1007924a
push edi
lea eax, [ebp - 0x24]
push eax
call fcn.10054f0e
push dword [ebp - 0x24]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
call fcn.1007924a
call fcn.1006d34b
lea eax, [ebp - 0x1e8]
push eax
mov ecx, edi
call fcn.100359f6
lea ecx, [ebp - 0x1e8]
mov byte [ebp - 4], 5
call fcn.100360c0
test al, al
jne 0x1006b8b6
push 0x10015e38
lea eax, [ebp + 0xc]
push eax
call fcn.100580f9
push esi
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 6
call fcn.100580f9
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.100283d2
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.1007924a
mov byte [ebp - 4], 0xa
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.1007924a
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x1f4]
call fcn.1002a398
push 0x1009c1c8
lea eax, [ebp - 0x1f4]
push eax
call fcn.10081847
lea edi, [ebp - 0x1e8]
call fcn.10035e68
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.10023ed7
mov byte [ebp - 4], 0xb
call fcn.10069675
push dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
lea edi, [ebp - 0x1bc]
cmp byte [ebp - 0x1c4], bl
jne 0x1006b8f7
lea edi, [ebp - 0x1e4]
push ecx
mov eax, esp
mov dword [ebp - 0x50], esp
push esi
push eax
call fcn.100580f9
lea eax, [ebp - 0x1c]
push eax
call fcn.10069c8f
mov byte [ebp - 4], 0xc
push dword [eax]
lea eax, [ebp - 0x368]
push eax
mov ecx, edi
call fcn.1004449e
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.1007924a
push 0x10015ee0
lea eax, [ebp - 0x2c]
push eax
call fcn.100580f9
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1bc]
cmp byte [ebp - 0x1c4], bl
jne 0x1006b956
lea ecx, [ebp - 0x1e4]
mov eax, dword [ecx]
lea edx, [ebp - 0x2c]
push edx
lea edx, [ebp - 0x6c]
push edx
call dword [eax]
mov byte [ebp - 4], 0x10
mov edi, dword [0x100b8508]
add edi, 0xbf4
call fcn.10058274
mov eax, dword [ebp - 0x6c]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x40]
mov esi, 0x10018964
mov edi, 0x1001895c
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 0x11
cmp eax, 1
jne 0x1006b9d2
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x368]
call fcn.100447c5
test al, al
je 0x1006b9d2
mov dword [ebp - 0x40], 3
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0xdc], edi
mov edi, dword [ebp - 0x40]
mov dword [ebp - 0xe4], esi
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 0xd4], edi
mov byte [ebp - 4], 0x12
lea esi, [ebp - 0x168]
lea eax, [ebp - 0x30c]
mov dword [ebp - 0x16c], 0x1001a730
call fcn.10042a90
lea esi, [ebp - 0x164]
lea eax, [ebp - 0x30c]
mov byte [ebp - 4], 0x13
call fcn.10036883
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x260]
mov dword [ebp - 0x15c], eax
mov al, byte [ebp - 0x253]
mov byte [ebp - 0x158], al
push ebx
push 0x10003bd0
lea eax, [ebp - 0xa4]
push eax
mov byte [ebp - 4], 0x14
call fcn.10023a76
mov byte [ebp - 0x1c], al
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
mov esi, dword [ebp + 8]
push dword [ebp - 0x1c]
movzx ebx, ax
add esi, 4
lea eax, [ebp - 0xa8]
mov dword [ebp - 0x6c], esi
call fcn.10024236
movzx eax, al
push eax
push edi
push ebx
push dword [ebp + 0xc]
lea ebx, [ebp - 0x16c]
push esi
call fcn.10057644
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x40]
push edi
mov edi, dword [ebp + 0xc]
mov esi, edi
mov dword [ebp - 0xf8], eax
call fcn.10057b6b
lea eax, [ebp - 0x30c]
push eax
mov ecx, edi
call fcn.10057a59
push dword [ebp - 0x260]
call fcn.10057c33
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.10024424
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x15
call fcn.10025e89
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x28]
xor esi, esi
cmp dword [eax - 0xc], esi
je 0x1006bb0a
mov eax, dword [ebp - 0x30]
cmp dword [eax - 0xc], esi
jne 0x1006bc25
mov eax, dword [edi]
lea ecx, [ebp - 0x24]
push ecx
mov ecx, edi
call dword [eax + 0x10]
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0x17
call fcn.10058d2e
mov eax, dword [ebp - 0x30]
cmp dword [eax - 0xc], esi
jne 0x1006bb4a
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.100791e7
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x18
lea ebx, [ebp - 0x2c]
mov dword [ebp - 0x20], 1
jmp 0x1006bb6b
push 0x10013918
lea eax, [ebp - 0x88]
push eax
call fcn.100580f9
mov ebx, eax
mov dword [ebp - 4], 0x19
mov dword [ebp - 0x20], 2
lea esi, [ebp - 0x1c]
lea eax, [ebp - 0x30c]
call fcn.10042a90
push ebx
push eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0x1a
call fcn.10057370
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.1007924a
test byte [ebp - 0x20], 2
je 0x1006bbad
mov eax, dword [ebp - 0x88]
and dword [ebp - 0x20], 0xfffffffd
add eax, 0xfffffff0
call fcn.1007924a
mov byte [ebp - 4], 0x1e
test byte [ebp - 0x20], 1
je 0x1006bbc2
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, dword [0x100aee70]
mov ecx, 0x100aee70
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 0x1f
push dword [ebp - 0x38]
lea eax, [ebp - 0x3c]
push dword [ebp - 0x24]
call fcn.10058c46
mov eax, dword [edi]
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, edi
call dword [eax + 0x14]
cmp al, 1
jne 0x1006bc00
push edi
lea eax, [ebp - 0x24]
push eax
call fcn.100577d7
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
call fcn.1007924a
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.1007924a
cmp dword [ebp - 0x40], 1
je 0x1006bc35
cmp dword [ebp - 0x40], 4
jne 0x1006bcf8
push dword [ebp + 0xc]
lea edi, [ebp - 0x368]
call fcn.10055133
test al, al
jne 0x1006bcf8
sub esp, 0x24
mov eax, esp
mov dword [ebp - 0x50], esp
push eax
lea edi, [ebp - 0x118]
mov dword [ebp - 0x2c], 0x80004005
call fcn.1006cec2
push 1
push ecx
mov byte [ebp - 4], 0x20
mov eax, esp
mov dword [ebp - 0x48], esp
push 0x10015f10
push eax
call fcn.100580f9
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 8]
mov byte [ebp - 4], 0x16
call fcn.1006d189
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.1007924a
mov esi, dword [ebp - 0x2c]
lea ecx, [ebp - 0x16c]
call fcn.100557b1
lea ecx, [ebp - 0x368]
mov dword [ebp - 0xdc], 0x1001895c
mov byte [ebp - 4], 0xb
call fcn.10044173
lea ecx, [ebp - 0xa8]
call fcn.10024209
lea edi, [ebp - 0x1e8]
call fcn.10035b70
lea ecx, [ebp - 0x118]
call fcn.1006d9fe
mov eax, esi
call fcn.10087296
ret 8
xor ebx, ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
lea eax, [ebp - 0x78]
push eax
mov byte [ebp - 4], 0x21
push dword [ebp + 0xc]
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10056b86
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x30c]
call fcn.10042a6f
mov esi, eax
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 0x22
call fcn.100242d2
test al, al
jne 0x1006bd65
lea eax, [ebp - 0xa8]
push eax
call fcn.10024316
test al, al
jne 0x1006bd65
cmp byte [ebp - 0x18], al
jne 0x1006bd65
xor eax, eax
jmp 0x1006bd68
xor eax, eax
inc eax
push eax
push esi
lea eax, [ebp - 0xbc]
push eax
call fcn.10046ba1
mov byte [ebp - 4], 0x24
mov eax, dword [ebp - 0x88]
add eax, 0xfffffff0
call fcn.1007924a
mov ecx, dword [ebp - 0xac]
push dword [ebp + 0xc]
mov eax, dword [ecx]
lea edx, [ebp - 0x1e8]
mov edi, ecx
push edx
mov dword [ebp - 0x3c], edi
call dword [eax + 8]
mov dword [ebp - 0x14], eax
cmp eax, ebx
jge 0x1006be1e
sub esp, 0x24
mov eax, esp
mov dword [ebp - 0x50], esp
push eax
lea edi, [ebp - 0x118]
call fcn.1006cec2
push 1
push ecx
mov byte [ebp - 4], 0x25
mov eax, esp
mov dword [ebp - 0x48], esp
push 0x10015f34
push eax
call fcn.100580f9
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
mov byte [ebp - 4], 0x24
call fcn.1006d189
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x21
call fcn.10046cbc
lea esi, [ebp - 0x78]
call fcn.1005b149
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.1007924a
mov esi, edi
jmp 0x1006bca9
lea esi, [ebp - 0x1c]
lea eax, [ebp - 0x30c]
mov dword [ebp - 0x7c], ebx
call fcn.10042a90
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x78]
push ecx
mov byte [ebp - 4], 0x26
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x24]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x24
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.1007924a
cmp dword [ebp - 0x14], ebx
jge 0x1006be83
sub esp, 0x24
mov eax, esp
mov dword [ebp - 0x50], esp
push eax
lea edi, [ebp - 0x118]
call fcn.1006cec2
push ebx
push ecx
mov byte [ebp - 4], 0x27
mov eax, esp
mov dword [ebp - 0x48], esp
push 0x10015f60
jmp 0x1006bdce
mov ebx, dword [ebp - 0x7c]
mov dword [ebp - 0x19c], ebx
mov byte [ebp - 4], 0x28
xor edi, edi
lea eax, [ebp - 0x288]
mov dword [ebp - 0x68], edi
call fcn.1002be4b
test al, al
je 0x1006bf72
cmp byte [ebp - 0x234], 0
jne 0x1006bf72
push 4
call fcn.1007c44a
pop ecx
cmp eax, edi
je 0x1006bf6a
mov dword [eax], 0x1001a8d8
mov dword [ebp - 0x68], eax
mov edi, dword [ebp - 0x68]
mov dword [ebp - 0x38], edi
lea esi, [ebp - 0x1c]
lea eax, [ebp - 0x30c]
mov byte [ebp - 4], 0x2b
call fcn.10042a90
mov byte [ebp - 4], 0x2c
mov ecx, dword [ebp + 0xc]
push eax
push dword [ebp - 0x3c]
lea edx, [ebp - 0x118]
push dword [ebp + 8]
call fcn.1006d1f5
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x2b
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1006bffd
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 0x28
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 4], 0x24
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x21
call fcn.10046cbc
lea esi, [ebp - 0x78]
call fcn.1005b149
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.1007924a
mov esi, dword [ebp + 0xc]
jmp 0x1006bca9
mov dword [ebp - 0x68], edi
jmp 0x1006bece
lea esi, [ebp - 0x1c]
lea eax, [ebp - 0x30c]
call fcn.10042a90
mov byte [ebp - 4], 0x29
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx]
lea esi, [ebp - 0x68]
push esi
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x28
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.1007924a
cmp dword [ebp - 0x14], edi
jge 0x1006bece
sub esp, 0x24
mov eax, esp
mov dword [ebp - 0x50], esp
push eax
lea edi, [ebp - 0x118]
call fcn.1006cec2
push 0
push ecx
mov byte [ebp - 4], 0x2a
mov eax, esp
mov dword [ebp - 0x48], esp
push 0x10015f80
push eax
call fcn.100580f9
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
mov byte [ebp - 4], 0x28
call fcn.1006d189
mov edi, dword [ebp - 0x14]
mov byte [ebp - 4], 0x24
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
jmp 0x1006bdea
lea eax, [ebp - 0xa8]
call fcn.100242d2
test al, al
jne 0x1006c021
lea eax, [ebp - 0xa8]
push eax
call fcn.10024316
test al, al
jne 0x1006c021
cmp byte [ebp - 0x18], al
je 0x1006c081
sub esp, 0x24
mov eax, esp
mov dword [ebp - 0x50], esp
push eax
lea edi, [ebp - 0x118]
mov dword [ebp - 0x14], 0x80070057
call fcn.1006cec2
push 0
push ecx
mov byte [ebp - 4], 0x2d
mov eax, esp
mov dword [ebp - 0x48], esp
push 0x10015fa4
push eax
call fcn.100580f9
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
mov byte [ebp - 4], 0x2b
call fcn.1006d189
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, eax
mov byte [ebp - 4], 0x28
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1006bfed
push 0x10015fc8
lea eax, [ebp - 0x44]
push eax
call fcn.100580f9
lea eax, [ebp - 0x44]
push eax
lea edi, [ebp - 0xa8]
mov byte [ebp - 4], 0x2e
call fcn.100245b2
test al, al
jne 0x1006c114
sub esp, 0x24
mov eax, esp
mov dword [ebp - 0x50], esp
push eax
lea edi, [ebp - 0x118]
mov dword [ebp - 0x14], 0x80070057
call fcn.1006cec2
push 0
push ecx
mov byte [ebp - 4], 0x2f
mov eax, esp
mov dword [ebp - 0x48], esp
push 0x10015fa4
push eax
call fcn.100580f9
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
mov ecx, esi
mov byte [ebp - 4], 0x2e
call fcn.1006d189
push dword [ebp - 0x44]
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
call fcn.1007924a
jmp 0x1006c070
lea esi, [ebp - 0x154]
lea eax, [ebp - 0x30c]
call fcn.10042a90
mov byte [ebp - 4], 0x30
push dword [ebp + 0xc]
lea ecx, [ebp - 0x118]
push ecx
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x244]
push eax
lea eax, [ebp - 0x150]
push eax
call fcn.100555bb
mov byte [ebp - 4], 0x32
mov eax, dword [ebp - 0x154]
add eax, 0xfffffff0
call fcn.1007924a
lea ecx, [ebp - 0x150]
call fcn.10055699
xor edi, edi
mov dword [ebp - 0x14], eax
cmp eax, edi
je 0x1006c28f
cmp eax, 0x652
jne 0x1006c22f
push ecx
mov eax, esp
mov dword [ebp - 0x50], esp
push 0x10016000
push eax
call fcn.100580f9
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x40]
push 7
push eax
call fcn.1005ab8e
lea eax, [ebp - 0xa8]
mov dword [ebp + 8], 0x13ec
call fcn.1002426c
push dword [ebp + 0xc]
lea eax, [ebp + 8]
push edi
push dword [ebp - 0x6c]
call fcn.1005784d
push dword [ebp - 0x150]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14c]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
call fcn.1007924a
mov byte [ebp - 4], 0x28
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x24
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x21
call fcn.10046cbc
lea esi, [ebp - 0x78]
call fcn.1005b149
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.1007924a
mov esi, dword [ebp + 8]
jmp 0x1006bca9
sub esp, 0x24
mov eax, esp
mov dword [ebp - 0x50], esp
push eax
lea edi, [ebp - 0x118]
call fcn.1006cec2
push 0
push ecx
mov byte [ebp - 4], 0x33
mov eax, esp
mov dword [ebp - 0x48], esp
push 0x10016000
push eax
call fcn.100580f9
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
mov byte [ebp - 4], 0x32
call fcn.1006d189
mov edi, dword [ebp - 0x14]
push dword [ebp - 0x150]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14c]
add eax, 0xfffffff0
call fcn.1007924a
jmp 0x1006c104
lea esi, [ebp - 0x1c]
lea eax, [ebp - 0x30c]
mov dword [ebp - 0x8c], edi
call fcn.10042a90
mov byte [ebp - 4], 0x34
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx]
lea esi, [ebp - 0x8c]
push esi
push eax
call dword [edx + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.1007924a
cmp dword [ebp - 0x14], edi
jge 0x1006c33d
push dword [ebp - 0x150]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14c]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
call fcn.1007924a
mov byte [ebp - 4], 0x28
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x24
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x21
call fcn.10046cbc
lea esi, [ebp - 0x78]
call fcn.1005b149
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.1007924a
mov esi, 0x13ec
jmp 0x1006bca9
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x35
mov eax, dword [ebp + 8]
push dword [eax + 0x40]
lea eax, [ebp - 0x118]
push dword [ebp + 0xc]
push eax
push dword [ebp - 0x3c]
lea eax, [ebp - 0x30c]
push ecx
mov esi, esp
mov dword [ebp - 0x50], esp
call fcn.10042a90
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x360]
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.10048d75
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0x36
call fcn.100244e6
mov eax, dword [eax]
cmp dword [eax - 0xc], edi
mov eax, dword [ebp - 0x1c]
sete byte [ebp - 0x18]
add eax, 0xfffffff0
call fcn.1007924a
cmp byte [ebp - 0x18], 0
je 0x1006c4a2
cmp dword [ebp - 0x40], 3
je 0x1006c3c5
cmp dword [ebp - 0x40], 2
jne 0x1006c3d8
lea eax, [ebp - 0xa8]
call fcn.1002426c
test al, al
jne 0x1006c4a2
push edi
lea ecx, [ebp - 0x198]
call fcn.10048def
mov esi, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
test al, al
je 0x1006c3f5
mov dword [ebp - 0x14], edi
jmp 0x1006c446
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, esi
call dword [eax + 4]
test al, al
jne 0x1006c446
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
test al, al
je 0x1006c48c
push 0x10016018
lea eax, [ebp - 0x24]
push eax
call fcn.100580f9
mov byte [ebp - 4], 0x37
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x40]
lea eax, [ebp - 0x24]
push eax
call fcn.1005ad9b
mov byte [ebp - 4], 0x36
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.1007924a
mov dword [ebp - 0x14], 0x80070642
lea eax, [ebp - 0xa8]
call fcn.1002426c
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push edi
push dword [ebp - 0x6c]
call fcn.1005784d
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x180]
add eax, 0xfffffff0
call fcn.1007924a
mov byte [ebp - 4], 0x32
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x198], 0x10019250
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1006c270
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
test al, al
je 0x1006c4a2
lea ecx, [ebp - 0x118]
call fcn.1006da40
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xa8]
call fcn.100244e6
mov byte [ebp - 4], 0x38
push dword [eax]
lea eax, [ebp - 0x80]
push eax
call fcn.100580f9
mov byte [ebp - 4], 0x3a
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, dword [0x100aee70]
mov esi, 0x100aee70
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0x3b
mov eax, dword [0x100aee70]
mov ecx, esi
call dword [eax + 0xc]
lea ecx, [eax + 0x10]
mov dword [ebp - 0x20], ecx
xor edx, edx
mov byte [ebp - 4], 0x3c
mov eax, dword [ecx - 8]
inc edx
sub edx, dword [ecx - 4]
mov esi, 0x100
sub eax, esi
or eax, edx
jge 0x1006c51d
mov eax, esi
lea ecx, [ebp - 0x20]
call fcn.10079066
mov ecx, dword [ebp - 0x20]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
or eax, 0xffffffff
lea esi, [ebp - 0x20]
call fcn.10078e28
lea esi, [ebp - 0x50]
lea eax, [ebp - 0x30c]
call fcn.10036883
mov dword [ebp - 0x1c], eax
lea esi, [ebp - 0x48]
lea eax, [ebp - 0x30c]
mov byte [ebp - 4], 0x3d
call fcn.10042a90
push 0x100138f8
lea ecx, [ebp - 0x84]
push ecx
mov edi, eax
mov byte [ebp - 4], 0x3e
call fcn.10058a35
mov byte [ebp - 4], 0x3f
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x90]
push ecx
mov edi, eax
call fcn.100589df
mov byte [ebp - 4], 0x40
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x20]
call fcn.1005ff5c
mov eax, dword [ebp - 0x90]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, dword [ebp - 0x84]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff0
call fcn.1007924a
mov byte [ebp - 4], 0x3c
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff0
call fcn.1007924a
mov esi, dword [ebp - 0x20]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1006c5fe
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1006c5fe
lea eax, [ebp - 0x50]
push eax
call fcn.10025d87
lea edi, [ebp - 0x24]
mov byte [ebp - 4], 0x42
call fcn.10058274
mov eax, dword [ebp - 0x50]
jmp 0x1006c61a
push esi
lea eax, [ebp - 0x1c]
push eax
call fcn.100580f9
lea eax, [ebp - 0x1c]
lea edi, [ebp - 0x24]
mov byte [ebp - 4], 0x41
call fcn.10058274
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.1007924a
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0x3b
call fcn.1007924a
mov esi, dword [ebp + 8]
push dword [esi + 0x40]
mov edi, dword [ebp + 0xc]
push edi
lea eax, [ebp - 0x118]
push eax
push dword [ebp - 0x40]
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x368]
push eax
lea eax, [ebp - 0x744]
push eax
call fcn.1006daa6
push dword [ebp - 0x2d8]
mov eax, dword [esi + 0x40]
push dword [ebp - 0x2dc]
lea ecx, [ebp - 0x744]
push dword [ebp - 0x2e0]
lea esi, [ebp - 0x3fc]
push ecx
call fcn.1006e76d
mov eax, esi
mov dword [ebp - fcn.100470a0], 0x100195b4
mov dword [ebp - 0x130], eax
call fcn.100259ea
and dword [ebp - 0x128], 0
mov dword [ebp - 0x12c], eax
mov ecx, edi
mov byte [ebp - 4], 0x45
mov eax, dword [ecx]
call dword [eax + 0x38]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0xe4]
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0x16c]
mov dword [ebp - 0x124], 0x1001a720
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x40]
mov ecx, dword [ebp - 0x2e8]
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 0x740]
push dword [ebp - 0x8c]
mov dword [ebp - 0x4c], ecx
push dword [ebp - 0x68]
mov cl, byte [ebp - 0x2e4]
push eax
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x744]
push eax
push dword [ebp - 0x40]
lea edi, [ebp - 0x4c]
lea esi, [ebp - 0x230]
mov byte [ebp - 0x48], cl
call fcn.10051270
mov byte [ebp - 0xcc], 0
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 0x48
push eax
mov dword [ebp - 0xd0], 0x1001a380
call fcn.10025d87
mov byte [ebp - 4], 0x49
mov eax, dword [ebp - 0x80]
add eax, 0xfffffff0
call fcn.100791e7
add eax, 0x10
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0x4a
call fcn.100244e6
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
mov eax, esi
je 0x1006c796
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xf4], fcn.100470a0
mov dword [ebp - 0xf0], eax
call fcn.100259ea
xor edi, edi
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xe8], edi
mov byte [ebp - 4], 0x4b
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff0
call fcn.1007924a
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0xa8]
call fcn.100244c0
push 1
push eax
lea eax, [ebp - 0x134]
push eax
mov byte [ebp - 4], 0x4c
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x3c0]
push eax
mov ecx, esi
call fcn.10047462
mov byte [ebp - 4], 0x4e
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff0
call fcn.1007924a
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0xa8]
call fcn.100244c0
push edi
push eax
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0x394]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x4f
call fcn.10047462
mov byte [ebp - 4], 0x51
mov eax, dword [ebp - 0x84]
add eax, 0xfffffff0
call fcn.1007924a
lea eax, [ebp - 0x134]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0xf4]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0xa8]
call fcn.100244c0
mov eax, dword [eax]
cmp dword [eax - 0xc], edi
mov eax, dword [ebp - 0x90]
setne byte [ebp - 0x18]
add eax, 0xfffffff0
call fcn.1007924a
cmp byte [ebp - 0x18], 0
je 0x1006c897
lea eax, [ebp - 0x3c0]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x394]
mov dword [ebp - 0x50], eax
push dword [ebp - 0x20]
lea eax, [ebp - 0x438]
push eax
mov ecx, esi
lea edx, [ebp - 0x54]
call fcn.10046e01
lea edx, [ebp - 0x64]
push edx
mov byte [ebp - 4], 0x52
mov ecx, dword [ebp - 0x3c]
lea edx, [ebp - 0x740]
push edx
lea edx, [ebp - 0x438]
mov dword [ebp - 0x64], edi
mov eax, dword [ecx]
push edx
call dword [eax + 0xc]
mov dword [ebp - 0x14], eax
cmp eax, edi
jge 0x1006c9c9
sub esp, 0x24
mov eax, esp
mov dword [ebp - 0x50], esp
push eax
lea edi, [ebp - 0x118]
call fcn.1006cec2
push 0
push ecx
mov byte [ebp - 4], 0x53
mov eax, esp
mov dword [ebp - 0x48], esp
push 0x10016028
push eax
call fcn.100580f9
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
mov byte [ebp - 4], 0x52
call fcn.1006d189
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 0x51
call fcn.10046ef6
lea ecx, [ebp - 0x394]
call fcn.1004751a
lea ecx, [ebp - 0x3c0]
call fcn.1004751a
lea ecx, [ebp - 0xf4]
call fcn.10047040
mov eax, dword [ebp - 0xc4]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, dword [ebp - 0xc8]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, 0x10019544
lea ecx, [ebp - 0x134]
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0x228], 0x1001895c
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x124], 0x1001a720
call fcn.10047040
lea esi, [ebp - 0x3fc]
call fcn.1006e7c2
lea ecx, [ebp - 0x744]
mov byte [ebp - 4], 0x3b
call fcn.1006dcb2
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, dword [ebp - 0x80]
add eax, 0xfffffff0
call fcn.1007924a
jmp 0x1006c463
mov ecx, dword [ebp - 0x64]
mov edi, ecx
mov dword [ebp - 0x48], edi
mov byte [ebp - 4], 0x54
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x458], eax
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x224], eax
mov eax, dword [ecx]
call dword [eax + 0xc]
mov byte [ebp - 4], 0x55
mov ecx, dword [ebp - 0x64]
lea edx, [ebp - 0x31]
mov dword [ebp - 0xd8], eax
mov byte [ebp - 0x31], 0
mov eax, dword [ecx]
push edx
call dword [eax + 8]
mov dword [ebp - 4], 0x54
push dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
push dword [ebp - 0x20]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
mov eax, dword [ebp - 0x194]
lea ecx, [ebp - 0x194]
call dword [eax]
mov byte [ebp + 0xb], al
test al, al
jne 0x1006ca6e
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x194]
lea ecx, [ebp - 0x194]
call dword [eax + 4]
test al, al
je 0x1006ca6e
mov eax, dword [ebp - 0x1c]
mov byte [ebp + 0xb], 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x64]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0xa8]
call fcn.1002426c
neg al
sbb al, al
inc al
jne 0x1006cab5
mov eax, dword [0x100b8508]
mov eax, dword [eax + 0x990]
cmp eax, 3
je 0x1006caa1
cmp eax, 2
jne 0x1006cab5
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [0x100b8508]
mov dword [ecx + 0x990], eax
cmp byte [ebp + 0xb], 0
push esi
sete al
movzx eax, al
push eax
push dword [ebp - 0x6c]
lea eax, [ebp - 0x14]
call fcn.1005784d
lea esi, [ebp + 8]
lea eax, [ebp - 0x30c]
call fcn.10042a90
mov byte [ebp - 4], 0x58
cmp byte [ebp - 0x31], 0
je 0x1006caf7
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x3c]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.10076713
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, dword [ebp - 0x14]
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 0x52
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 0x51
call fcn.10046ef6
lea ecx, [ebp - 0x394]
call fcn.1004751a
lea ecx, [ebp - 0x3c0]
call fcn.1004751a
lea ecx, [ebp - 0xf4]
call fcn.10047040
mov eax, dword [ebp - 0xc4]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, dword [ebp - 0xc8]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, 0x10019544
mov edi, 0x1001895c
lea ecx, [ebp - 0x134]
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x124], 0x1001a720
call fcn.10047040
lea esi, [ebp - 0x3fc]
call fcn.1006e7c2
lea ecx, [ebp - 0x744]
mov byte [ebp - 4], 0x3b
call fcn.1006dcb2
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, dword [ebp - 0x80]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, dword [ebp - 0x180]
add eax, 0xfffffff0
call fcn.1007924a
mov byte [ebp - 4], 0x32
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x198], 0x10019250
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x150]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14c]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
call fcn.1007924a
mov byte [ebp - 4], 0x28
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x24
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x21
call fcn.10046cbc
lea esi, [ebp - 0x78]
call fcn.1005b149
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.1007924a
lea ecx, [ebp - 0x16c]
call fcn.100557b1
mov dword [ebp - 0xdc], edi
lea ecx, [ebp - 0x368]
mov byte [ebp - 4], 0xb
call fcn.10044173
lea ecx, [ebp - 0xa8]
call fcn.10024209
lea edi, [ebp - 0x1e8]
call fcn.10035b70
lea ecx, [ebp - 0x118]
call fcn.1006d9fe
mov eax, dword [ebp + 0xc]
jmp 0x1006bcf0