Function at 0x100035d8
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push esi
push 1
pop edi
push edi
push eax
mov dword [ebp - 8], eax
call fcn.10023054
call sym.runtime.dll_runtimeGetRuntime
push dword [ebp - 8]
mov dword [0x100ae4a0], eax
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
call fcn.1000381f
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov ebx, eax
mov al, byte [ebp - 1]
push esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.10004041
push ebx
call fcn.10022f00
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x1c]
call fcn.100042cb
mov al, byte [ebp - 1]
mov byte [ebp - 0x2c], al
push esi
lea ecx, [ebp - 0x2c]
call fcn.10004041
cmp dword [ebp - 0x14], esi
je 0x10003699
cmp dword [ebp - 0x18], esi
je 0x1000365f
lea ecx, [ebp - 0x1c]
call fcn.10004015
mov eax, dword [ebp - 0x18]
jmp 0x10003664
mov eax, 0x100875b4
cmp byte [eax], 0x20
jne 0x10003699
lea eax, [ebp - 1]
push eax
push dword [0x100875b0]
lea eax, [ebp - 0x1c]
push edi
push eax
lea ecx, [ebp - 0x3c]
call fcn.10003e41
push dword [0x100875b0]
lea eax, [ebp - 0x3c]
push esi
push eax
lea ecx, [ebp - 0x1c]
call fcn.10003ec5
push edi
lea ecx, [ebp - 0x3c]
jmp 0x10003643
push edi
push esi
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 1], 0x22
call fcn.10003f93
test eax, eax
jne 0x10003734
push edi
push edi
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 1], 0x22
call fcn.10003f93
mov ebx, eax
mov eax, dword [0x100875b0]
cmp ebx, eax
je 0x100037cb
lea ecx, [ebp - 1]
push ecx
push eax
lea eax, [ebx + 1]
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x3c]
call fcn.10003e41
push dword [0x100875b0]
lea eax, [ebp - 0x3c]
push esi
push eax
lea ecx, [ebp - 0x2c]
call fcn.10003ec5
push edi
lea ecx, [ebp - 0x3c]
call fcn.10004041
lea eax, [ebp - 1]
push eax
dec ebx
push ebx
push edi
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x3c]
call fcn.10003e41
push dword [0x100875b0]
lea eax, [ebp - 0x3c]
push esi
push eax
lea ecx, [ebp - 0x1c]
call fcn.10003ec5
push edi
lea ecx, [ebp - 0x3c]
jmp 0x100037c6
push edi
push esi
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 1], 0x20
call fcn.10003f93
mov ebx, eax
mov eax, dword [0x100875b0]
cmp ebx, eax
je 0x100037cb
mov dword [ebp - 0xc], eax
mov al, byte [ebp - 1]
push esi
lea ecx, [ebp - 0x3c]
mov byte [ebp - 0x3c], al
call fcn.10004041
push dword [ebp - 0xc]
lea eax, [ebx + 1]
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x3c]
call fcn.10003ec5
push dword [0x100875b0]
lea eax, [ebp - 0x3c]
push esi
push eax
lea ecx, [ebp - 0x2c]
call fcn.10003ec5
push edi
lea ecx, [ebp - 0x3c]
call fcn.10004041
mov al, byte [ebp - 1]
push esi
lea ecx, [ebp - 0x3c]
mov byte [ebp - 0x3c], al
call fcn.10004041
push ebx
push esi
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x3c]
call fcn.10003ec5
push dword [0x100875b0]
lea eax, [ebp - 0x3c]
push esi
push eax
lea ecx, [ebp - 0x1c]
call fcn.10003ec5
push edi
lea ecx, [ebp - 0x3c]
call fcn.10004041
mov eax, dword [ebp - 0x28]
cmp eax, esi
jne 0x100037d7
mov eax, 0x100875b4
mov ecx, dword [0x100ae4a0]
mov edx, dword [ecx]
push esi
push eax
push dword [0x100ae49c]
call dword [edx + 0x24]
mov ecx, dword [0x100ae4a0]
mov eax, dword [ecx]
call dword [eax + 0x10]
push esi
push esi
push dword [ebp - 8]
call fcn.10023054
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]