Function at 0x1003b7e2
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x105c
call fcn.1004a6d0
mov eax, dword [0x10057940]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push ebx
xor esi, esi
inc esi
push esi
push ebx
call dword [0x1000117c]
mov eax, dword [ebp + 8]
mov edi, 0x800
push edi
push ebx
push 0x10115090
mov dword [0x101143f8], esi
mov dword [0x1012abd0], eax
mov dword [0x10116d14], 4
mov byte [0x101160a0], bl
mov byte [0x10114868], bl
mov byte [0x101164a0], bl
call sub.MSVCR100.dll_memset
push edi
push ebx
mov esi, 0x10115890
push esi
call sub.MSVCR100.dll_memset
mov edi, dword [0x10001178]
add esp, 0x18
push 0xfffffffffffffff5
mov dword [0x10116098], ebx
mov byte [0x10114468], bl
call edi
push 0xfffffffffffffff4
mov dword [0x1012abd4], eax
call edi
mov dword [0x1012abd8], eax
call dword [0x10001174]
push 0x10116098
push eax
mov dword [ebp - 0x1008], eax
call fcn.1003b746
mov edi, eax
cmp dword [0x10116d0c], ebx
jne 0x1003b8c7
mov dword [0x100538c4], ebx
mov dword [0x100538c8], ebx
mov dword [0x100538cc], ebx
mov dword [0x100538d0], ebx
mov dword [0x100538d4], ebx
mov dword [0x100538d8], ebx
mov dword [0x100538dc], ebx
cmp dword [0x1012abd4], 0xffffffff
je 0x1003ba58
call dword [0x10001170]
push 1
push ebx
push 0x1000a3cc
mov dword [0x10116d2c], eax
call fcn.10048c24
mov dword [0x1012adf4], eax
cmp edi, ebx
je 0x1003b910
jle 0x1003b8fc
call fcn.1003aca6
call fcn.1003acce
xor eax, eax
cmp edi, 1
setne al
push eax
call dword [sym.imp.MSVCR100.dll_exit]
test byte [0x10116d14], 4
jne 0x1003b9c5
xor edi, edi
inc edi
cmp byte [0x10115090], bl
jne 0x1003b931
call fcn.1003acce
push 1
jmp 0x1003b90a
mov dword [0x10116d20], ebx
cmp byte [0x10115890], bl
je 0x1003b984
push esi
call fcn.1002cd4f
mov dword [0x10116d20], eax
cmp eax, ebx
jne 0x1003b99a
push esi
push 0x1de
call fcn.100269d5
push eax
lea eax, [ebp - 0x1004]
push 0x1000
push eax
call dword [sym.imp.MSVCR100.dll_sprintf_s]
add esp, 0x10
lea eax, [ebp - 0x1004]
push eax
push ebx
mov dword [0x10116d6c], ebx
call fcn.1001277e
jmp 0x1003b92d
mov eax, dword [0x10116d2c]
mov dword [0x10116d6c], eax
mov dword [0x101143f0], ebx
mov dword [0x101143f4], ebx
call fcn.100393d6
cmp eax, 1
jne 0x1003b9ba
push 0x10115090
call fcn.10039c0b
mov edi, eax
neg edi
sbb edi, edi
inc edi
call fcn.10032942
call fcn.10039571
push edi
jmp 0x1003b90a
xor eax, eax
lea edi, [ebp - 0x1018]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x44
stosd dword es:[edi], eax
pop esi
push esi
stosd dword es:[edi], eax
lea eax, [ebp - 0x105c]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push 5
pop eax
or dword [ebp - 0x1020], 0xffffffff
or dword [ebp - 0x1024], 0xffffffff
or dword [ebp - 0x101c], 0xffffffff
mov word [ebp - 0x102c], ax
lea eax, [ebp - 0x1018]
push eax
lea eax, [ebp - 0x105c]
push eax
push ebx
push ebx
push 8
push 1
push ebx
push ebx
push dword [ebp - 0x1008]
mov dword [ebp - 0x105c], esi
push ebx
mov dword [ebp - 0x1030], 0x101
call dword [0x1000116c]
test eax, eax
jne 0x1003ba52
push 0x1df
call fcn.100269eb
push eax
call dword [sym.imp.MSVCR100.dll_printf]
pop ecx
jmp 0x1003b92d
push ebx
jmp 0x1003b90a
mov dword [0x10116d6c], 0xfde9
mov dword [0x10116d14], 4
mov dword [0x101143f4], ebx
cmp byte [0x10115090], bl
je 0x1003bada
push 0x2e
push 0x10115090
call dword [sym.imp.MSVCR100.dll_strrchr]
pop ecx
pop ecx
cmp eax, ebx
je 0x1003bada
mov esi, dword [sym.imp.MSVCR100.dll__stricmp]
lea edi, [eax + 1]
push 0x1000a0f8
push edi
call esi
pop ecx
pop ecx
test eax, eax
je 0x1003bab2
push 0x1000a0f4
push edi
call esi
pop ecx
pop ecx
test eax, eax
jne 0x1003bada
call fcn.1003c371
or eax, 0x10
push eax
push 0x1dd
call fcn.1002686f
push eax
push 0x1dc
call fcn.1002686f
push eax
push ebx
call dword [0x10001370]
jmp 0x1003bb16
call fcn.100393d6
cmp eax, 1
jne 0x1003bb11
call fcn.10042b42
cmp byte [0x10115090], bl
je 0x1003bb02
mov esi, 0x10115090
push esi
call fcn.1003c328
push esi
call fcn.10039c0b
call fcn.1003f841
call fcn.10032942
call fcn.1003f8c5
call fcn.10039571
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.1004a51e
leave
ret 0x10