Function at 0x1013703
Capabilities:
Accept command line arguments

Disassembly:
push 0x250
mov eax, 0x1039aef
call fcn.01037352
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x22c], edi
call fcn.01014810
xor ebx, ebx
lea ecx, [ebp - 0x23c]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
call fcn.01014810
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 1
call fcn.01014810
mov byte [ebp - 4], 2
cmp esi, ebx
je 0x1013c0f
cmp edi, ebx
je 0x1013c0f
xor eax, eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x248]
push eax
push esi
call fcn.01010ce1
cmp eax, ebx
mov dword [ebp - 0x21c], eax
jge 0x10137c8
mov eax, dword [section..data]
cmp eax, section..data
je 0x1013bce
test byte [eax + 0x1c], 1
je 0x1013bce
push dword [ebp - 0x21c]
push 0x1002f90
push 0xda
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01008600
jmp 0x1013bce
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x248]
call fcn.01015d45
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, eax
mov dword [ebp - 0x228], ecx
cmp ecx, ebx
jne 0x1013833
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x1013801
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x21c], eax
mov eax, dword [section..data]
cmp eax, section..data
je 0x1013bce
test byte [eax + 0x1c], 1
je 0x1013bce
push dword [ebp - 0x21c]
push 0x1002f90
push 0xdb
jmp 0x10137b8
mov esi, dword [ebp - 0x224]
cmp esi, 2
jge 0x101387c
mov dword [ebp - 0x21c], 0x80004005
mov eax, dword [section..data]
cmp eax, section..data
je 0x1013bce
test byte [eax + 0x1c], 1
je 0x1013bce
push 0x1002f90
push 0xdc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010078b5
jmp 0x1013bce
xor eax, eax
inc eax
cmp eax, esi
jge 0x101389c
mov edx, dword [ecx + eax*4]
movzx edx, word [edx]
cmp dx, 0x2f
je 0x1013895
cmp dx, 0x2d
jne 0x101389a
inc eax
cmp eax, esi
jl 0x1013883
cmp eax, esi
jne 0x10138ce
mov dword [ebp - 0x21c], 0x80004005
mov eax, dword [section..data]
cmp eax, section..data
je 0x1013bce
test byte [eax + 0x1c], 1
je 0x1013bce
push 0x1002f90
push 0xdd
jmp 0x101386c
mov edi, dword [ecx + eax*4]
push 0x2c
push edi
mov dword [ebp - 0x230], edi
call sub.msvcrt.dll_wcschr
pop ecx
pop ecx
cmp eax, ebx
jne 0x1013918
mov dword [ebp - 0x21c], 0x80004005
mov eax, dword [section..data]
cmp eax, section..data
je 0x1013bce
test byte [eax + 0x1c], 1
je 0x1013bce
push 0x1002f90
push 0xde
jmp 0x101386c
xor ecx, ecx
push 0x2e
push edi
mov word [eax], cx
call sub.msvcrt.dll_wcsrchr
push 0x5c
push edi
mov esi, eax
call sub.msvcrt.dll_wcschr
add esp, 0x10
test eax, eax
jne 0x1013ae0
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
jne 0x1013989
mov eax, dword [section..data]
mov edi, section..data
cmp eax, edi
je 0x1013981
test byte [eax + 0x1c], 1
je 0x1013981
push dword [ebp - 0x21c]
push 0x1002f90
push 0xdf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01008600
mov dword [ebp - 0x220], ebx
jmp 0x101398e
mov edi, section..data
lea ecx, [ebp - 0x23c]
call fcn.010154e4
cmp eax, ebx
mov dword [ebp - 0x21c], eax
jge 0x10139cf
mov eax, dword [section..data]
cmp eax, edi
je 0x1013bce
test byte [eax + 0x1c], 1
je 0x1013bce
push dword [ebp - 0x21c]
push 0x1002f90
push pe_nt_image_headers32
jmp 0x10137b8
push ebx
push dword [ebp - 0x220]
lea ecx, [ebp - 0x254]
call fcn.01015552
cmp eax, ebx
mov dword [ebp - 0x21c], eax
jge 0x1013a17
mov eax, dword [section..data]
cmp eax, edi
je 0x1013bce
test byte [eax + 0x1c], 1
je 0x1013bce
push dword [ebp - 0x21c]
push 0x1002f90
push 0xe1
jmp 0x10137b8
lea ecx, [ebp - 0x23c]
call fcn.01015d45
lea ecx, [ebp - 0x254]
mov dword [ebp - 0x25c], eax
call fcn.01015d45
neg esi
sbb esi, esi
not esi
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x21c], 0x80070002
and esi, 0x100348c
mov edi, 0x104
push 0
lea eax, [ebp - 0x218]
push eax
push edi
push esi
push dword [ebp - 0x230]
push dword [ebp + ebx*4 - 0x25c]
call dword [sym.imp.KERNEL32.dll_SearchPathW]
cmp eax, edi
ja 0x1013aad
test eax, eax
jne 0x1013b2c
inc ebx
cmp ebx, 2
jb 0x1013a54
mov eax, dword [section..data]
cmp eax, section..data
je 0x1013bce
test byte [eax + 0x1c], 1
je 0x1013bce
push 0x1002f90
push 0xe3
jmp 0x101386c
mov dword [ebp - 0x21c], 0x8007007a
mov eax, dword [section..data]
cmp eax, section..data
je 0x1013bce
test byte [eax + 0x1c], 1
je 0x1013bce
push 0x1002f90
push 0xe2
jmp 0x101386c
push edi
mov edi, 0x104
push edi
lea eax, [ebp - 0x218]
push eax
call fcn.0100a010
cmp eax, ebx
mov dword [ebp - 0x21c], eax
jge 0x1013b2e
mov eax, dword [section..data]
cmp eax, section..data
je 0x1013bce
test byte [eax + 0x1c], 1
je 0x1013bce
push dword [ebp - 0x21c]
push 0x1002f90
push 0xe4
jmp 0x10137b8
xor ebx, ebx
lea eax, [ebp - 0x218]
push 0x2e
push eax
call sub.msvcrt.dll_wcsrchr
pop ecx
pop ecx
cmp eax, ebx
jne 0x1013b85
push 0x100348c
push edi
lea eax, [ebp - 0x218]
push eax
call fcn.0100cb9c
cmp eax, ebx
mov dword [ebp - 0x21c], eax
jge 0x1013b85
mov eax, dword [section..data]
cmp eax, section..data
je 0x1013bce
test byte [eax + 0x1c], 1
je 0x1013bce
push dword [ebp - 0x21c]
push 0x1002f90
push 0xe5
jmp 0x10137b8
mov ecx, dword [ebp - 0x22c]
lea eax, [ebp - 0x218]
push eax
call fcn.01014c4a
cmp eax, ebx
mov dword [ebp - 0x21c], eax
jge 0x1013bc8
mov eax, dword [section..data]
cmp eax, section..data
je 0x1013bce
test byte [eax + 0x1c], 1
je 0x1013bce
push dword [ebp - 0x21c]
push 0x1002f90
push 0xe6
jmp 0x10137b8
mov dword [ebp - 0x21c], ebx
push dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 1
call fcn.01014822
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0
call fcn.01014822
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.01014822
mov eax, dword [ebp - 0x21c]
jmp 0x1013c68
mov eax, dword [section..data]
cmp eax, section..data
je 0x1013c36
test byte [eax + 0x1c], 1
je 0x1013c36
push 0x1002f90
push 0xd9
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010078b5
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 1
call fcn.01014822
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0
call fcn.01014822
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.01014822
mov eax, 0x80070057
call fcn.010373e4
ret 8