Function at 0x1000938f
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10042f50
mov eax, dword fs:[0]
push eax
mov eax, 0x1a30
call fcn.100318a0
mov eax, dword [0x1005a4a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x10]
xor ebx, ebx
mov esi, 0x104
push esi
lea eax, [ebp - 0x117]
push ebx
push eax
mov dword [ebp - 0x1a28], ebx
mov byte [ebp - 0x118], bl
call fcn.10030e40
add esp, 0xc
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.100224c0
push eax
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
xor eax, eax
push 0xffe
mov word [ebp - 0x1918], ax
lea eax, [ebp - 0x1916]
push ebx
push eax
call fcn.10030e40
push edi
lea eax, [ebp - 0x1918]
push 0x10047a64
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0x1a38]
push eax
lea eax, [ebp - 0x1918]
push eax
mov dword [ebp - 0x1a38], ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [ebp - 0x1a38], 1
mov esi, eax
mov dword [ebp - 0x1a34], esi
jge 0x10009467
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
xor eax, eax
inc eax
jmp 0x10009a02
lea eax, [ebp - 0x1934]
push eax
call fcn.100071ee
cmp dword [eax + 0x14], 8
pop ecx
jb 0x1000947c
mov eax, dword [eax]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
jne 0x10009499
cmp dword [ebp - 0x1a38], 2
mov byte [ebp - 0x1a1d], 1
jge 0x1000949f
mov byte [ebp - 0x1a1d], bl
push ebx
push 1
lea ecx, [ebp - 0x1934]
call fcn.10002dfc
cmp byte [ebp - 0x1a1d], bl
je 0x100099f9
push 2
call dword [sym.imp.KERNEL32.DLL_SetErrorMode]
xor eax, eax
lea edi, [ebp - 0x1a1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0xf
pop ecx
mov dword [ebp - 0x1a00], ecx
mov dword [ebp - 0x1a04], ebx
mov byte [ebp - 0x1a14], bl
xor eax, eax
lea edi, [ebp - 0x19f8]
stosd dword es:[edi], eax
mov dword [ebp - 0x19e0], ecx
mov dword [ebp - 0x19e4], ebx
mov byte [ebp - 0x19f4], bl
mov dword [ebp - 0x19d8], ebx
mov dword [ebp - 0x19d4], ebx
mov dword [ebp - 0x19d0], ebx
mov dword [ebp - 0x19c8], ebx
mov dword [ebp - 0x19c4], ebx
mov dword [ebp - 0x19c0], ebx
lea edi, [ebp - 0x19b8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x1998], ecx
mov dword [ebp - 0x199c], ebx
mov byte [ebp - 0x19ac], bl
mov dword [ebp - 0x197c], ecx
mov dword [ebp - 0x1980], ebx
mov byte [ebp - 0x1990], bl
xor eax, eax
lea edi, [ebp - 0x1974]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov esi, 0x10047a60
push esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x19f8], ebx
mov dword [ebp - 0x1a18], ebx
mov dword [ebp - 0x1a1c], ebx
call fcn.10030d00
pop ecx
push eax
push esi
lea ecx, [ebp - 0x19f4]
call fcn.10004791
or edi, 0xffffffff
mov esi, 0x10047a54
push esi
mov dword [ebp - 0x19b0], edi
mov dword [ebp - 0x19b4], edi
call fcn.10030d00
pop ecx
push eax
push esi
lea ecx, [ebp - 0x1990]
call fcn.10004791
push edi
push ebx
push eax
lea ecx, [ebp - 0x19ac]
call fcn.100044e0
push edi
push ebx
push eax
lea ecx, [ebp - 0x1a14]
call fcn.100044e0
mov eax, dword [ebp - 0x1a34]
push dword [eax + 4]
xor edi, edi
inc edi
lea ecx, [ebp - 0x1a3c]
mov dword [ebp - 0x1974], edi
mov dword [ebp - 0x1970], ebx
call fcn.100018bc
mov byte [ebp - 4], 1
mov ecx, dword [eax]
cmp ecx, ebx
je 0x100095fc
call fcn.1000121a
jmp 0x100095fe
xor eax, eax
push eax
lea ecx, [ebp - 0x1950]
call fcn.10005a67
mov ecx, dword [ebp - 0x1a3c]
mov byte [ebp - 4], 3
cmp ecx, ebx
je 0x10009623
call fcn.10003f29
mov dword [ebp - 0x1a3c], ebx
sub esp, 0x1c
lea eax, [ebp - 0x1950]
mov ecx, esp
mov dword [ebp - 0x1a28], esp
push eax
call fcn.10005959
call fcn.10007782
add esp, 0x1c
push eax
mov dword [ebp - 0x19b8], eax
call dword [sym.imp.KERNEL32.DLL_Sleep]
lea eax, [ebp - 0x1a1c]
push eax
sub esp, 0x1c
lea eax, [ebp - 0x1950]
mov ecx, esp
mov dword [ebp - 0x1a28], esp
push eax
call fcn.10005959
call fcn.10007ec4
call fcn.100074f0
push edi
call fcn.1000925b
mov eax, dword [ebp - 0x19d4]
sub eax, dword [ebp - 0x19d8]
add esp, 0x24
push 0x1c
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x1a2c], eax
cmp eax, ebx
jne 0x100096f4
lea eax, [ebp - 0x1934]
push eax
call fcn.10007280
pop ecx
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 4
jb 0x100096b5
mov eax, dword [eax]
push eax
call fcn.10022830
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x1934]
call fcn.10002db8
push dword [ebp - 0x1a34]
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
push ebx
push edi
lea ecx, [ebp - 0x1950]
call fcn.10002db8
lea ecx, [ebp - 0x1a1c]
call fcn.10007c90
mov eax, edi
jmp 0x10009a02
cmp dword [ebp - 0x1974], ebx
je 0x10009702
push edi
call fcn.10009ea0
cmp dword [ebp - 0x19b4], ebx
jl 0x10009712
cmp dword [ebp - 0x19b0], ebx
jge 0x1000975b
xor eax, eax
mov dword [ebp - 0x1928], ebx
lea edi, [ebp - 0x1924]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push ebx
stosd dword es:[edi], eax
lea eax, [ebp - 0x1928]
push eax
push ebx
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov eax, dword [ebp - 0x1920]
sub eax, dword [ebp - 0x1928]
xor edi, edi
mov dword [ebp - 0x19b4], eax
mov eax, dword [ebp - 0x191c]
sub eax, dword [ebp - 0x1924]
inc edi
mov dword [ebp - 0x19b0], eax
cmp dword [ebp - 0x1970], ebx
je 0x10009769
mov dword [0x1005b8e8], edi
push esi
call fcn.10030d00
pop ecx
push eax
push esi
push dword [ebp - 0x1980]
lea ecx, [ebp - 0x1990]
push ebx
call fcn.10001ab5
test eax, eax
je 0x100097a3
cmp dword [ebp - 0x197c], 0x10
mov eax, dword [ebp - 0x1990]
jae 0x1000979d
lea eax, [ebp - 0x1990]
push eax
call fcn.10001303
push esi
call fcn.10030d00
pop ecx
push eax
push esi
push dword [ebp - 0x199c]
lea ecx, [ebp - 0x19ac]
push ebx
call fcn.10001ab5
test eax, eax
je 0x100097dd
cmp dword [ebp - 0x1998], 0x10
mov eax, dword [ebp - 0x19ac]
jae 0x100097d7
lea eax, [ebp - 0x19ac]
push eax
call fcn.100012eb
mov eax, dword [ebp - 0x19f8]
mov dword [0x1005b8ec], eax
mov eax, dword [ebp - 0x1a2c]
shl eax, 2
push eax
call fcn.10031808
mov esi, dword [ebp - 0x19c4]
sub esi, dword [ebp - 0x19c8]
pop ecx
sar esi, 2
mov dword [ebp - 0x1a30], eax
mov dword [ebp - 0x1a24], edi
cmp esi, edi
jle 0x10009948
push 0x7ff
lea eax, [ebp - 0x917]
push ebx
push eax
mov byte [ebp - 0x918], bl
call fcn.10030e40
push 0x10047a48
call fcn.10030d00
add esp, 0x10
push eax
push ebx
push 0x10047a48
lea ecx, [ebp - 0x1950]
call fcn.10001a28
cmp eax, 0xffffffff
je 0x100098bc
lea eax, [ebp - 0x1934]
push eax
call fcn.1000730e
cmp dword [ebp - 0x193c], 0x10
pop ecx
mov ecx, dword [ebp - 0x1950]
jae 0x10009879
lea ecx, [ebp - 0x1950]
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 0x1a28], ecx
jb 0x10009887
mov eax, dword [eax]
mov ecx, dword [ebp - 0x19c8]
mov edx, dword [ebp - 0x1a24]
push dword [ecx + edx*4]
push dword [ebp - 0x1a18]
push dword [ebp - 0x1a28]
push eax
lea eax, [ebp - 0x918]
push 0x800
push eax
call fcn.10031f23
lea ecx, [ebp - 0x1934]
jmp 0x1000991f
lea eax, [ebp - 0x196c]
push eax
call fcn.1000739c
cmp dword [ebp - 0x193c], 0x10
pop ecx
mov ecx, dword [ebp - 0x1950]
jae 0x100098de
lea ecx, [ebp - 0x1950]
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 0x1a28], ecx
jb 0x100098ec
mov eax, dword [eax]
mov ecx, dword [ebp - 0x19c8]
mov edx, dword [ebp - 0x1a24]
push dword [ecx + edx*4]
push dword [ebp - 0x1a18]
push dword [ebp - 0x1a28]
push eax
lea eax, [ebp - 0x918]
push 0x800
push eax
call fcn.10031f23
lea ecx, [ebp - 0x196c]
add esp, 0x18
push ebx
push edi
call fcn.10002db8
lea eax, [ebp - 0x918]
push eax
call fcn.100077fe
inc dword [ebp - 0x1a24]
pop ecx
cmp dword [ebp - 0x1a24], esi
jl 0x1000981b
xor esi, esi
cmp dword [ebp - 0x1a2c], ebx
jle 0x100099b1
mov dword [ebp - 0x1a24], ebx
cmp dword [ebp - 0x1a00], 0x10
mov ecx, dword [ebp - 0x1a14]
jae 0x1000996d
lea ecx, [ebp - 0x1a14]
mov eax, dword [ebp - 0x19d8]
add eax, dword [ebp - 0x1a24]
cmp dword [eax + 0x14], 0x10
jb 0x10009981
mov eax, dword [eax]
push ebx
push edi
push dword [ebp - 0x19b0]
push dword [ebp - 0x19b4]
push ebx
push ebx
push ecx
push eax
call fcn.1001488b
mov ecx, dword [ebp - 0x1a30]
add dword [ebp - 0x1a24], 0x1c
mov dword [ecx + esi*4], eax
inc esi
cmp esi, dword [ebp - 0x1a2c]
jl 0x10009958
push 0xffffffffffffffff
push edi
push dword [ebp - 0x1a30]
push dword [ebp - 0x1a2c]
call dword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
xor esi, esi
cmp dword [ebp - 0x1a2c], ebx
jle 0x100099e8
mov eax, dword [ebp - 0x1a30]
push dword [eax + esi*4]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
inc esi
cmp esi, dword [ebp - 0x1a2c]
jl 0x100099d0
push dword [ebp - 0x1a30]
call fcn.1002eef5
pop ecx
jmp 0x100096c9
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10030fba
leave
ret 0x10