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

Disassembly:
push 0x738
mov eax, 0x1009b747
call fcn.10086e52
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.1006d446
lea ecx, [ebp - 0x118]
mov dword [ebp - 4], ebx
call fcn.1006d713
push ecx
mov eax, esp
mov dword [ebp - 0x50], esp
mov esi, 0x10005e9c
push esi
push eax
call fcn.1005833e
lea eax, [ebp - 0x1c]
push eax
call fcn.1006988c
mov byte [ebp - 4], 1
push dword [eax]
mov ecx, dword [ebp + 0xc]
call fcn.10054e70
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10078f0e
push ecx
mov eax, esp
mov dword [ebp - 0x50], esp
push esi
push eax
call fcn.1005833e
lea eax, [ebp - 0x2c]
push eax
call fcn.1006988c
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.10078eab
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x24]
push eax
call fcn.1002a8cc
mov byte [ebp - 4], 3
push dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
push eax
call fcn.1005833e
mov byte [ebp - 4], 4
mov edi, dword [ebp + 0xc]
mov ecx, eax
call fcn.10055033
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10078f0e
push edi
lea eax, [ebp - 0x24]
push eax
call fcn.100551c0
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.10078f0e
call fcn.1006d01e
lea eax, [ebp - 0x1e8]
push eax
mov ecx, edi
call fcn.100359b8
lea ecx, [ebp - 0x1e8]
mov byte [ebp - 4], 5
call fcn.10036083
test al, al
jne 0x1006b514
push 0x10015e58
lea eax, [ebp + 0xc]
push eax
call fcn.1005833e
push esi
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 6
call fcn.1005833e
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.1002838a
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.10078f0e
mov byte [ebp - 4], 0xa
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.10078f0e
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x1f4]
call fcn.1002a378
push 0x1009bdc8
lea eax, [ebp - 0x1f4]
push eax
call fcn.100814aa
lea edi, [ebp - 0x1e8]
call fcn.10035e2b
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.10023e77
mov byte [ebp - 4], 0xb
call fcn.10069293
push dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
lea edi, [ebp - 0x1bc]
cmp byte [ebp - 0x1c4], bl
jne 0x1006b555
lea edi, [ebp - 0x1e4]
push ecx
mov eax, esp
mov dword [ebp - 0x50], esp
push esi
push eax
call fcn.1005833e
lea eax, [ebp - 0x1c]
push eax
call fcn.1006988c
mov byte [ebp - 4], 0xc
push dword [eax]
lea eax, [ebp - 0x368]
push eax
mov ecx, edi
call fcn.10044718
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10078f0e
push 0x10015f00
lea eax, [ebp - 0x2c]
push eax
call fcn.1005833e
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1bc]
cmp byte [ebp - 0x1c4], bl
jne 0x1006b5b4
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 [0x100b8468]
add edi, 0xbf4
call fcn.100584b9
mov eax, dword [ebp - 0x6c]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x40]
mov esi, 0x10018984
mov edi, 0x1001897c
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 0x1006b630
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x368]
call fcn.10044a3f
test al, al
je 0x1006b630
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], 0x1001a738
call fcn.10042d50
lea esi, [ebp - 0x164]
lea eax, [ebp - 0x30c]
mov byte [ebp - 4], 0x13
call fcn.10042d73
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.10023a16
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.100241d6
movzx eax, al
push eax
push edi
push ebx
push dword [ebp + 0xc]
lea ebx, [ebp - 0x16c]
push esi
call fcn.10057889
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.10057db0
lea eax, [ebp - 0x30c]
push eax
mov ecx, edi
call fcn.10057c9e
push dword [ebp - 0x260]
call fcn.10057e78
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.100243c4
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x15
call fcn.10025e41
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x28]
xor esi, esi
cmp dword [eax - 0xc], esi
je 0x1006b768
mov eax, dword [ebp - 0x30]
cmp dword [eax - 0xc], esi
jne 0x1006b883
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.10058f73
mov eax, dword [ebp - 0x30]
cmp dword [eax - 0xc], esi
jne 0x1006b7a8
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.10078eab
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x18
lea ebx, [ebp - 0x2c]
mov dword [ebp - 0x20], 1
jmp 0x1006b7c9
push 0x10013930
lea eax, [ebp - 0x88]
push eax
call fcn.1005833e
mov ebx, eax
mov dword [ebp - 4], 0x19
mov dword [ebp - 0x20], 2
lea esi, [ebp - 0x1c]
lea eax, [ebp - 0x30c]
call fcn.10042d50
push ebx
push eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0x1a
call fcn.100575b5
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10078f0e
test byte [ebp - 0x20], 2
je 0x1006b80b
mov eax, dword [ebp - 0x88]
and dword [ebp - 0x20], 0xfffffffd
add eax, 0xfffffff0
call fcn.10078f0e
mov byte [ebp - 4], 0x1e
test byte [ebp - 0x20], 1
je 0x1006b820
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
call fcn.10078f0e
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.10058e8b
mov eax, dword [edi]
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, edi
call dword [eax + 0x14]
cmp al, 1
jne 0x1006b85e
push edi
lea eax, [ebp - 0x24]
push eax
call fcn.10057a1c
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
call fcn.10078f0e
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.10078f0e
cmp dword [ebp - 0x40], 1
je 0x1006b893
cmp dword [ebp - 0x40], 4
jne 0x1006b956
push dword [ebp + 0xc]
lea edi, [ebp - 0x368]
call fcn.100553e5
test al, al
jne 0x1006b956
sub esp, 0x24
mov eax, esp
mov dword [ebp - 0x50], esp
push eax
lea edi, [ebp - 0x118]
mov dword [ebp - 0x2c], 0x80004005
call fcn.1006cb31
push 1
push ecx
mov byte [ebp - 4], 0x20
mov eax, esp
mov dword [ebp - 0x48], esp
push 0x10015f30
push eax
call fcn.1005833e
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 8]
mov byte [ebp - 4], 0x16
call fcn.1006ce5c
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.10078f0e
mov esi, dword [ebp - 0x2c]
lea ecx, [ebp - 0x16c]
call fcn.10055a5a
lea ecx, [ebp - 0x368]
mov dword [ebp - 0xdc], 0x1001897c
mov byte [ebp - 4], 0xb
call fcn.100443ed
lea ecx, [ebp - 0xa8]
call fcn.100241a9
lea edi, [ebp - 0x1e8]
call fcn.10035b32
lea ecx, [ebp - 0x118]
call fcn.1006d6d1
mov eax, esi
call fcn.10086f06
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.10056dcb
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x30c]
call fcn.10042d2f
mov esi, eax
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 0x22
call fcn.10024272
test al, al
jne 0x1006b9c3
lea eax, [ebp - 0xa8]
push eax
call fcn.100242b6
test al, al
jne 0x1006b9c3
cmp byte [ebp - 0x18], al
jne 0x1006b9c3
xor eax, eax
jmp 0x1006b9c6
xor eax, eax
inc eax
push eax
push esi
lea eax, [ebp - 0xbc]
push eax
call fcn.10046e46
mov byte [ebp - 4], 0x24
mov eax, dword [ebp - 0x88]
add eax, 0xfffffff0
call fcn.10078f0e
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 0x1006ba7c
sub esp, 0x24
mov eax, esp
mov dword [ebp - 0x50], esp
push eax
lea edi, [ebp - 0x118]
call fcn.1006cb31
push 1
push ecx
mov byte [ebp - 4], 0x25
mov eax, esp
mov dword [ebp - 0x48], esp
push 0x10015f54
push eax
call fcn.1005833e
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
mov byte [ebp - 4], 0x24
call fcn.1006ce5c
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x21
call fcn.10046f61
lea esi, [ebp - 0x78]
call fcn.1005be94
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.10078f0e
mov esi, edi
jmp 0x1006b907
lea esi, [ebp - 0x1c]
lea eax, [ebp - 0x30c]
mov dword [ebp - 0x7c], ebx
call fcn.10042d50
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.10078f0e
cmp dword [ebp - 0x14], ebx
jge 0x1006bae1
sub esp, 0x24
mov eax, esp
mov dword [ebp - 0x50], esp
push eax
lea edi, [ebp - 0x118]
call fcn.1006cb31
push ebx
push ecx
mov byte [ebp - 4], 0x27
mov eax, esp
mov dword [ebp - 0x48], esp
push 0x10015f80
jmp 0x1006ba2c
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.1002be2b
test al, al
je 0x1006bbd0
cmp byte [ebp - 0x234], 0
jne 0x1006bbd0
push 4
call fcn.1007c0aa
pop ecx
cmp eax, edi
je 0x1006bbc8
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.10042d50
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.1006cec8
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x2b
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1006bc5b
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.10046f61
lea esi, [ebp - 0x78]
call fcn.1005be94
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.10078f0e
mov esi, dword [ebp + 0xc]
jmp 0x1006b907
mov dword [ebp - 0x68], edi
jmp 0x1006bb2c
lea esi, [ebp - 0x1c]
lea eax, [ebp - 0x30c]
call fcn.10042d50
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.10078f0e
cmp dword [ebp - 0x14], edi
jge 0x1006bb2c
sub esp, 0x24
mov eax, esp
mov dword [ebp - 0x50], esp
push eax
lea edi, [ebp - 0x118]
call fcn.1006cb31
push 0
push ecx
mov byte [ebp - 4], 0x2a
mov eax, esp
mov dword [ebp - 0x48], esp
push 0x10015fa0
push eax
call fcn.1005833e
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
mov byte [ebp - 4], 0x28
call fcn.1006ce5c
mov edi, dword [ebp - 0x14]
mov byte [ebp - 4], 0x24
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
jmp 0x1006ba48
lea eax, [ebp - 0xa8]
call fcn.10024272
test al, al
jne 0x1006bc7f
lea eax, [ebp - 0xa8]
push eax
call fcn.100242b6
test al, al
jne 0x1006bc7f
cmp byte [ebp - 0x18], al
je 0x1006bcdf
sub esp, 0x24
mov eax, esp
mov dword [ebp - 0x50], esp
push eax
lea edi, [ebp - 0x118]
mov dword [ebp - 0x14], 0x80070057
call fcn.1006cb31
push 0
push ecx
mov byte [ebp - 4], 0x2d
mov eax, esp
mov dword [ebp - 0x48], esp
push 0x10015fc4
push eax
call fcn.1005833e
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
mov byte [ebp - 4], 0x2b
call fcn.1006ce5c
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 0x1006bc4b
push 0x10015fe8
lea eax, [ebp - 0x44]
push eax
call fcn.1005833e
lea eax, [ebp - 0x44]
push eax
lea edi, [ebp - 0xa8]
mov byte [ebp - 4], 0x2e
call fcn.10024552
test al, al
jne 0x1006bd72
sub esp, 0x24
mov eax, esp
mov dword [ebp - 0x50], esp
push eax
lea edi, [ebp - 0x118]
mov dword [ebp - 0x14], 0x80070057
call fcn.1006cb31
push 0
push ecx
mov byte [ebp - 4], 0x2f
mov eax, esp
mov dword [ebp - 0x48], esp
push 0x10015fc4
push eax
call fcn.1005833e
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.1006ce5c
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.10078f0e
jmp 0x1006bcce
lea esi, [ebp - 0x154]
lea eax, [ebp - 0x30c]
call fcn.10042d50
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.1005586d
mov byte [ebp - 4], 0x32
mov eax, dword [ebp - 0x154]
add eax, 0xfffffff0
call fcn.10078f0e
lea ecx, [ebp - 0x150]
call fcn.1005594b
xor edi, edi
mov dword [ebp - 0x14], eax
cmp eax, edi
je 0x1006beed
cmp eax, 0x652
jne 0x1006be8d
push ecx
mov eax, esp
mov dword [ebp - 0x50], esp
push 0x10016020
push eax
call fcn.1005833e
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x40]
push 7
push eax
call fcn.1005ae4a
lea eax, [ebp - 0xa8]
mov dword [ebp + 8], 0x13ec
call fcn.1002420c
push dword [ebp + 0xc]
lea eax, [ebp + 8]
push edi
push dword [ebp - 0x6c]
call fcn.10057a92
push dword [ebp - 0x150]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14c]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
call fcn.10078f0e
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.10046f61
lea esi, [ebp - 0x78]
call fcn.1005be94
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.10078f0e
mov esi, dword [ebp + 8]
jmp 0x1006b907
sub esp, 0x24
mov eax, esp
mov dword [ebp - 0x50], esp
push eax
lea edi, [ebp - 0x118]
call fcn.1006cb31
push 0
push ecx
mov byte [ebp - 4], 0x33
mov eax, esp
mov dword [ebp - 0x48], esp
push 0x10016020
push eax
call fcn.1005833e
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
mov byte [ebp - 4], 0x32
call fcn.1006ce5c
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.10078f0e
jmp 0x1006bd62
lea esi, [ebp - 0x1c]
lea eax, [ebp - 0x30c]
mov dword [ebp - 0x8c], edi
call fcn.10042d50
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.10078f0e
cmp dword [ebp - 0x14], edi
jge 0x1006bf9b
push dword [ebp - 0x150]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14c]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
call fcn.10078f0e
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.10046f61
lea esi, [ebp - 0x78]
call fcn.1005be94
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.10078f0e
mov esi, 0x13ec
jmp 0x1006b907
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.10042d50
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x360]
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.10048fce
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0x36
call fcn.10024486
mov eax, dword [eax]
cmp dword [eax - 0xc], edi
mov eax, dword [ebp - 0x1c]
sete byte [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10078f0e
cmp byte [ebp - 0x18], 0
je 0x1006c100
cmp dword [ebp - 0x40], 3
je 0x1006c023
cmp dword [ebp - 0x40], 2
jne 0x1006c036
lea eax, [ebp - 0xa8]
call fcn.1002420c
test al, al
jne 0x1006c100
push edi
lea ecx, [ebp - 0x198]
call fcn.10049048
mov esi, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
test al, al
je 0x1006c053
mov dword [ebp - 0x14], edi
jmp 0x1006c0a4
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, esi
call dword [eax + 4]
test al, al
jne 0x1006c0a4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
test al, al
je 0x1006c0ea
push 0x10016038
lea eax, [ebp - 0x24]
push eax
call fcn.1005833e
mov byte [ebp - 4], 0x37
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x40]
lea eax, [ebp - 0x24]
push eax
call fcn.1005b057
mov byte [ebp - 4], 0x36
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.10078f0e
mov dword [ebp - 0x14], 0x80070642
lea eax, [ebp - 0xa8]
call fcn.1002420c
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push edi
push dword [ebp - 0x6c]
call fcn.10057a92
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x180]
add eax, 0xfffffff0
call fcn.10078f0e
mov byte [ebp - 4], 0x32
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x198], 0x10019270
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1006bece
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
test al, al
je 0x1006c100
lea ecx, [ebp - 0x118]
call fcn.1006d713
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xa8]
call fcn.10024486
mov byte [ebp - 4], 0x38
push dword [eax]
lea eax, [ebp - 0x80]
push eax
call fcn.1005833e
mov byte [ebp - 4], 0x3a
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10078f0e
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 0x1006c17b
mov eax, esi
lea ecx, [ebp - 0x20]
call fcn.10078d3a
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.10078afc
lea esi, [ebp - 0x50]
lea eax, [ebp - 0x30c]
call fcn.10042d73
mov dword [ebp - 0x1c], eax
lea esi, [ebp - 0x48]
lea eax, [ebp - 0x30c]
mov byte [ebp - 4], 0x3d
call fcn.10042d50
push 0x10013910
lea ecx, [ebp - 0x84]
push ecx
mov edi, eax
mov byte [ebp - 4], 0x3e
call fcn.10058c7a
mov byte [ebp - 4], 0x3f
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x90]
push ecx
mov edi, eax
call fcn.10058c24
mov byte [ebp - 4], 0x40
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x20]
call fcn.1005ff21
mov eax, dword [ebp - 0x90]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, dword [ebp - 0x84]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff0
call fcn.10078f0e
mov byte [ebp - 4], 0x3c
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff0
call fcn.10078f0e
mov esi, dword [ebp - 0x20]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1006c25c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1006c25c
lea eax, [ebp - 0x50]
push eax
call fcn.10025d3f
lea edi, [ebp - 0x24]
mov byte [ebp - 4], 0x42
call fcn.100584b9
mov eax, dword [ebp - 0x50]
jmp 0x1006c278
push esi
lea eax, [ebp - 0x1c]
push eax
call fcn.1005833e
lea eax, [ebp - 0x1c]
lea edi, [ebp - 0x24]
mov byte [ebp - 4], 0x41
call fcn.100584b9
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10078f0e
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0x3b
call fcn.10078f0e
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.1006d779
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.1006e449
mov eax, esi
mov dword [ebp - fcn.100472f2], 0x100195d4
mov dword [ebp - 0x130], eax
call fcn.100259a2
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], 0x1001a728
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.10051494
mov byte [ebp - 0xcc], 0
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 0x48
push eax
mov dword [ebp - 0xd0], 0x1001a388
call fcn.10025d3f
mov byte [ebp - 4], 0x49
mov eax, dword [ebp - 0x80]
add eax, 0xfffffff0
call fcn.10078eab
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.10024486
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
mov eax, esi
je 0x1006c3f4
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xf4], fcn.100472f2
mov dword [ebp - 0xf0], eax
call fcn.100259a2
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.10078f0e
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0xa8]
call fcn.10024460
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.100476bb
mov byte [ebp - 4], 0x4e
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff0
call fcn.10078f0e
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0xa8]
call fcn.10024460
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.100476bb
mov byte [ebp - 4], 0x51
mov eax, dword [ebp - 0x84]
add eax, 0xfffffff0
call fcn.10078f0e
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.10024460
mov eax, dword [eax]
cmp dword [eax - 0xc], edi
mov eax, dword [ebp - 0x90]
setne byte [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10078f0e
cmp byte [ebp - 0x18], 0
je 0x1006c4f5
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.10047053
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 0x1006c627
sub esp, 0x24
mov eax, esp
mov dword [ebp - 0x50], esp
push eax
lea edi, [ebp - 0x118]
call fcn.1006cb31
push 0
push ecx
mov byte [ebp - 4], 0x53
mov eax, esp
mov dword [ebp - 0x48], esp
push 0x10016048
push eax
call fcn.1005833e
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
mov byte [ebp - 4], 0x52
call fcn.1006ce5c
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 0x51
call fcn.10047148
lea ecx, [ebp - 0x394]
call fcn.10047773
lea ecx, [ebp - 0x3c0]
call fcn.10047773
lea ecx, [ebp - 0xf4]
call fcn.10047292
mov eax, dword [ebp - 0xc4]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, dword [ebp - 0xc8]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, 0x10019564
lea ecx, [ebp - 0x134]
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0x228], 0x1001897c
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x124], 0x1001a728
call fcn.10047292
lea esi, [ebp - 0x3fc]
call fcn.1006e49e
lea ecx, [ebp - 0x744]
mov byte [ebp - 4], 0x3b
call fcn.1006d985
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, dword [ebp - 0x80]
add eax, 0xfffffff0
call fcn.10078f0e
jmp 0x1006c0c1
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 0x1006c6cc
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 0x1006c6cc
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.1002420c
neg al
sbb al, al
inc al
jne 0x1006c713
mov eax, dword [0x100b8468]
mov eax, dword [eax + 0x990]
cmp eax, 3
je 0x1006c6ff
cmp eax, 2
jne 0x1006c713
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [0x100b8468]
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.10057a92
lea esi, [ebp + 8]
lea eax, [ebp - 0x30c]
call fcn.10042d50
mov byte [ebp - 4], 0x58
cmp byte [ebp - 0x31], 0
je 0x1006c755
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x3c]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.100763d7
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.10078f0e
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.10047148
lea ecx, [ebp - 0x394]
call fcn.10047773
lea ecx, [ebp - 0x3c0]
call fcn.10047773
lea ecx, [ebp - 0xf4]
call fcn.10047292
mov eax, dword [ebp - 0xc4]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, dword [ebp - 0xc8]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, 0x10019564
mov edi, 0x1001897c
lea ecx, [ebp - 0x134]
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x124], 0x1001a728
call fcn.10047292
lea esi, [ebp - 0x3fc]
call fcn.1006e49e
lea ecx, [ebp - 0x744]
mov byte [ebp - 4], 0x3b
call fcn.1006d985
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, dword [ebp - 0x80]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, dword [ebp - 0x180]
add eax, 0xfffffff0
call fcn.10078f0e
mov byte [ebp - 4], 0x32
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x198], 0x10019270
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.10078f0e
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
call fcn.10078f0e
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.10046f61
lea esi, [ebp - 0x78]
call fcn.1005be94
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.10078f0e
lea ecx, [ebp - 0x16c]
call fcn.10055a5a
mov dword [ebp - 0xdc], edi
lea ecx, [ebp - 0x368]
mov byte [ebp - 4], 0xb
call fcn.100443ed
lea ecx, [ebp - 0xa8]
call fcn.100241a9
lea edi, [ebp - 0x1e8]
call fcn.10035b32
lea ecx, [ebp - 0x118]
call fcn.1006d6d1
mov eax, dword [ebp + 0xc]
jmp 0x1006b94e