Function at 0x101335c
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push ebx
push esi
push edi
push 0x3f
xor ebx, ebx
and byte [ebp - 0x11c], bl
pop ecx
xor eax, eax
lea edi, [ebp - 0x11b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
stosb byte es:[edi], al
call fcn.0100dbec
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
mov dword [0x1020358], eax
push eax
call fcn.01013291
test eax, eax
jne 0x10133ae
push 0x1008588
push 6
call fcn.0100c07e
pop ecx
pop ecx
jmp 0x101349b
call fcn.0100b7e0
test eax, eax
je 0x10133c1
mov dword [0x101fef8], 1
cmp dword [0x101fef8], ebx
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push 6
pop edi
jne 0x1013401
call fcn.0100e0ed
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea eax, [ebp - 0x11c]
push 0x1008574
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
push edi
push 0x8000000
call fcn.0100e994
push dword [ebp + 0x10]
call fcn.0100f4c7
test eax, eax
jne 0x1013430
push 1
call fcn.0100dbec
lea eax, [ebp - 0x11c]
push 0x1008540
push eax
call esi
pop ecx
pop ecx
lea eax, [ebp - 0x11c]
push eax
jmp 0x101396c
call fcn.0100e72d
cmp dword [0x101fef8], ebx
je 0x101345a
push 2
call fcn.0100dbec
push 0x101f598
call fcn.0100b8d6
test eax, eax
jne 0x1013a88
xor ebx, ebx
jmp 0x101345f
call fcn.0100b817
call fcn.01010411
test eax, eax
jne 0x1013482
cmp dword [0x101c09c], ebx
jne 0x1013482
push ebx
push 0x1008530
push 0x100850c
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.0101167a
test eax, eax
jne 0x10134a2
push 0x10084cc
push edi
push 0x10000
call fcn.0100e994
xor eax, eax
jmp 0x1013b08
call fcn.0100dfa7
test eax, eax
je 0x1013967
call fcn.0100f2c1
cmp dword [0x101f5b4], ebx
je 0x10139b0
call fcn.01012e68
call fcn.0100d03c
test byte [0x101f5b4], 0x20
mov esi, 0x800000
je 0x10135ee
push dword [0x101ef30]
call fcn.0100d25a
test eax, eax
je 0x10134f5
push 0x10084b0
jmp 0x10135e7
cmp dword [0x101f598], 0
je 0x10135e2
cmp dword [0x101ef30], 0
je 0x10135bf
xor ebx, ebx
inc ebx
push 5
push 0x10084a4
push 0x1008428
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
dec eax
dec eax
je 0x1013585
dec eax
dec eax
je 0x1013540
push 0x10083f0
push edi
push 0x1000000
call fcn.0100e994
jmp 0x101359e
push 0x10083c0
push edi
push 0x8000000
call fcn.0100e994
push dword [0x101ef30]
call fcn.0100d25a
test eax, eax
je 0x101359e
push 0x10084b0
push edi
push esi
xor ebx, ebx
call fcn.0100e994
push dword [0x101ef30]
call fcn.0100cf8f
test eax, eax
jne 0x10135a8
push 0x1008394
push edi
push esi
jmp 0x1013539
push 0x1008360
push edi
push 0x40000
call fcn.0100e994
and dword [0x101f5b4], 0xffffffdf
xor ebx, ebx
test ebx, ebx
jne 0x1013512
jmp 0x10135ee
and dword [0x101f5b4], 0xffffffdf
push 0x100833c
push edi
push 0x40000
call fcn.0100e994
test byte [0x101f5b7], 0x80
je 0x10135ee
push 0x1008308
push edi
push 0x40000
call fcn.0100e994
push 0x10082f0
jmp 0x101396c
push 0x10082d8
push edi
push esi
call fcn.0100e994
test byte [0x101f5b4], 2
je 0x10136ce
call fcn.0100b744
xor ebx, ebx
cmp eax, 0xffffffff
mov dword [0x101fee8], eax
je 0x101369f
cmp eax, ebx
je 0x1013636
push eax
lea eax, [ebp - 0x11c]
push 0x10082a8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
jmp 0x10136c5
cmp dword [0x101f598], ebx
je 0x1013698
push 5
push 0x100829c
push 0x1008210
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
dec eax
dec eax
je 0x1013691
dec eax
dec eax
je 0x1013666
push 0x10081e4
push edi
push 0x1000000
jmp 0x10136c7
push 0x10081b4
push edi
push 0x8000000
call fcn.0100e994
call fcn.0100b744
cmp eax, ebx
mov dword [0x101fee8], eax
jne 0x1013614
push 0x1008184
push edi
push 0x40000
jmp 0x10136c7
push 0x1008154
jmp 0x1013689
push 0x1008134
jmp 0x10136c5
cmp dword [0x101f598], ebx
mov dword [0x101fee8], ebx
je 0x10136c0
test byte [0x101f5b7], 0x80
je 0x10136d0
push 0x1008100
jmp 0x10135cd
push 0x10080e4
push edi
push esi
call fcn.0100e994
jmp 0x10136d0
xor ebx, ebx
test byte [0x101f5b4], 4
je 0x101373d
call fcn.0100dd7a
cmp eax, 0xffffffff
mov dword [0x101feec], eax
je 0x1013710
cmp eax, ebx
je 0x10136f3
push 0x10080b8
jmp 0x1013736
lea eax, [ebp - 0x11c]
push 0x1008090
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
pop ecx
pop ecx
lea eax, [ebp - 0x11c]
push eax
jmp 0x1013736
cmp dword [0x101f598], ebx
mov dword [0x101feec], ebx
je 0x1013731
test byte [0x101f5b7], 0x80
je 0x101373d
push 0x100805c
jmp 0x101395c
push 0x1008040
push edi
push esi
call fcn.0100e994
test byte [0x101f5b4], 0x10
je 0x1013822
call fcn.0100b61b
cmp eax, 0xffffffff
mov dword [0x101fef0], eax
je 0x10137f5
cmp eax, ebx
jne 0x10137b2
cmp dword [0x101f598], ebx
je 0x10137e8
push 5
push 0x1008038
push 0x1007f98
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
dec eax
dec eax
je 0x10137e1
dec eax
dec eax
je 0x1013794
push 0x1007f70
push edi
push 0x1000000
jmp 0x101381d
push 0x1007f44
push edi
push 0x8000000
call fcn.0100e994
call fcn.0100b61b
cmp eax, ebx
mov dword [0x101fef0], eax
je 0x10137d1
push eax
lea eax, [ebp - 0x11c]
push 0x1007f0c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
jmp 0x101381b
test byte [0x101f5b7], 0x80
jne 0x101380c
push 0x1007eec
jmp 0x101381b
push 0x1007ebc
jmp 0x10137ed
push 0x1007ea0
push edi
push 0x40000
jmp 0x101381d
cmp dword [0x101f598], ebx
mov dword [0x101fef0], ebx
je 0x1013816
test byte [0x101f5b7], 0x80
je 0x1013822
push 0x1007e70
jmp 0x101395c
push 0x1007e58
push edi
push esi
call fcn.0100e994
test byte [0x101f5b5], 1
je 0x101390b
push 0x1007e24
push edi
push esi
call fcn.0100e994
call fcn.010101d2
xor ebx, ebx
inc ebx
cmp eax, ebx
je 0x1013875
cmp eax, 4
je 0x1013875
test eax, eax
jne 0x1013867
mov dword [0x101fef4], ebx
push 0x1007df0
push edi
push esi
call fcn.0100e994
jmp 0x101390e
and dword [0x101fef4], 0
push 0x1007db0
jmp 0x101385b
cmp dword [0x101f598], 0
je 0x101390e
push 5
push 0x1007da0
push 0x1007d08
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
dec eax
dec eax
je 0x10138f2
dec eax
dec eax
je 0x10138ab
push 0x1007ccc
push edi
push 0x1000000
jmp 0x101385d
push 0x1007c9c
push edi
push 0x8000000
call fcn.0100e994
call fcn.010101d2
test eax, eax
je 0x10138da
test byte [0x101f5b7], 0x80
jne 0x101390e
push 0x1007c64
push edi
push 0x8000000
jmp 0x10138fd
push 0x1007c3c
push edi
push 0x8000000
call fcn.0100e994
mov dword [0x101fef4], ebx
jmp 0x101390e
push 0x1007c04
push edi
push 0x40000
call fcn.0100e994
and dword [0x101fef4], 0
jmp 0x101390e
xor ebx, ebx
inc ebx
test byte [0x101f5b4], 0x80
je 0x10139b0
push 0x1007bd0
push edi
push esi
call fcn.0100e994
cmp dword [0x101ec78], 0
jne 0x1013999
call fcn.01009148
test eax, eax
jne 0x1013981
push 0x1007ba8
push edi
push esi
call fcn.0100e994
cmp dword [0x101f598], 0
je 0x10139b0
test byte [0x101f5b7], 0x80
je 0x10139b0
push 0x1007b7c
push edi
push 0x40000
call fcn.0100e994
push 0x1007b64
push edi
push 0x10000
call fcn.0100e994
call fcn.0100e756
jmp 0x1013a88
push 0x1007b30
push edi
push 0x400000
call fcn.0100e994
mov dword [0x101eca0], ebx
jmp 0x10139b0
push 0x1007b04
push edi
push 0x200000
call fcn.0100e994
and dword [0x101eca0], 0
push dword [ebp + 0x14]
xor ebx, ebx
push 0x100a5d9
push ebx
push 0x65
push dword [0x1020358]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
cmp eax, ebx
je 0x1013a47
mov dword [0x1020334], eax
mov dword [ebp + 8], ebx
mov edi, 0x1007af4
mov esi, 0x1007ae0
mov eax, dword [ebp + 8]
sub eax, ebx
je 0x1013a04
dec eax
jne 0x1013a3e
cmp dword [0x101ec78], ebx
jne 0x1013a3e
push 0x101c0c8
push dword [0x101c0c0]
push dword [0x101c0bc]
jmp 0x1013a1d
cmp dword [0x101f5ac], ebx
je 0x1013a3e
push 0x101c0b4
push dword [0x101c0ac]
push dword [0x101c0a8]
push dword [0x1020358]
call fcn.010131f3
test eax, eax
je 0x1013a3e
cmp dword [0x101c09c], ebx
jne 0x1013a3e
push ebx
push edi
push esi
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
inc dword [ebp + 8]
cmp dword [ebp + 8], 2
jb 0x10139df
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
jmp 0x1013a7b
mov eax, dword [0x1020334]
cmp eax, ebx
je 0x1013a67
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x1013a7b
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
lea eax, [ebp - 0x1c]
push ebx
push eax
call esi
test eax, eax
jne 0x1013a4f
call fcn.0101048b
xor edi, edi
test eax, eax
jne 0x1013aad
cmp dword [0x101c09c], edi
jne 0x1013aad
push edi
push 0x1008530
push 0x1007ac0
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.010103e8
test eax, eax
jne 0x1013ad0
cmp dword [0x101c09c], edi
jne 0x1013ad0
push edi
push 0x1008530
push 0x1007a90
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
xor esi, esi
mov eax, dword [esi + 0x101c0b4]
cmp eax, edi
je 0x1013aec
cmp eax, 0xffffffff
je 0x1013aec
push dword [0x101c0b4]
call fcn.010130c0
add esi, 0x14
cmp esi, 0x28
jb 0x1013ad2
push 0x12000000
call fcn.0100c48c
call fcn.0100b9ec
call fcn.0100dbe6
pop edi
pop esi
pop ebx
leave
ret 0x10