Function at 0x10070c8
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x100b040]
push ebx
push esi
push edi
xor edi, edi
cmp eax, 6
mov dword [ebp - 0x28], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x2c], edi
mov byte [ebp - 1], 0
mov dword [ebp - 0x18], edi
je 0x100718a
mov ecx, 0x100b044
mov ebx, dword [ecx - 0x14]
test ebx, 0xff0000
je 0x1007129
test byte [ecx], 0x20
jne 0x1007129
inc dword [ebp - 0x1c]
cmp dword [ecx + 0x14], edi
je 0x1007129
inc dword [ebp - 0x14]
mov edx, dword [ecx]
mov esi, edx
and esi, 0x20
je 0x100713b
mov dword [ebp - 0x28], 1
xor edi, edi
cmp dword [ecx + 0x14], edi
je 0x1007175
cmp esi, edi
jne 0x100715b
test edx, 0x100000
jne 0x100715b
cmp eax, 3
je 0x1007175
cmp eax, 4
je 0x1007175
inc dword [ebp - 0x24]
jmp 0x1007175
mov eax, dword [ecx + 0x1c]
inc dword [ebp - 0xc]
and eax, 0xffff
or dword [ebp - 0x2c], eax
cmp ebx, edi
je 0x1007175
mov al, byte [ecx - 0x11]
and al, 0xf
mov byte [ebp - 1], al
mov eax, dword [ecx + 0x3c]
add ecx, 0x40
cmp eax, 6
jne 0x100710e
cmp dword [ebp - 0x24], edi
jne 0x1007191
cmp dword [ebp - 0xc], edi
jne 0x1007191
mov dword [ebp - 0x10], 1
call fcn.01003dcf
cmp dword [ebp - 0x10], edi
je 0x10071c7
movsx eax, word [0x100c35c]
push edi
push eax
push edi
push edi
push 0x1f4
call fcn.01003a85
test eax, eax
jne 0x10071c7
mov ax, word [0x100c340]
push 0x1001420
push eax
call fcn.010039cc
pop ecx
pop ecx
xor eax, eax
mov ax, word [0x100c340]
push 0x236
push eax
call fcn.010039e7
push dword [0x100cb60]
xor eax, eax
mov ax, word [0x100c340]
mov edi, 0x1001580
push edi
push eax
call fcn.010039cc
xor ebx, ebx
add esp, 0x14
cmp dword [ebp - 0x28], ebx
mov dword [ebp - 8], eax
je 0x100725d
cmp dword [ebp - 0x10], ebx
jne 0x1007245
cmp dword [0x100b040], 6
je 0x1007245
mov esi, 0x100b058
test byte [esi - 0x14], 0x20
je 0x1007238
cmp dword [esi], 0
je 0x1007238
push dword [esi - 0x24]
xor eax, eax
mov ax, word [0x100c340]
push edi
push eax
call fcn.010039cc
add dword [ebp - 8], eax
add esp, 0xc
inc ebx
add esi, 0x40
cmp dword [esi - 0x18], 6
jne 0x1007214
test ebx, ebx
jne 0x100725d
xor eax, eax
mov ax, word [0x100c340]
push 0x230
push eax
call fcn.010039e7
add dword [ebp - 8], eax
pop ecx
pop ecx
cmp dword [ebp - 0x1c], 1
jle 0x1007281
cmp dword [ebp - 0x14], 0
jne 0x1007281
xor eax, eax
mov ax, word [0x100c340]
push 0x1001960
push eax
call fcn.010039cc
add dword [ebp - 8], eax
pop ecx
pop ecx
and dword [ebp - 0xc], 0
mov edi, 0x100123c
cmp dword [0x100b040], 6
je 0x10073dd
mov esi, 0x100b044
cmp dword [ebp - 0xc], 0
jne 0x10072c7
test byte [esi], 0x30
jne 0x10073d0
test byte [esi - 0x12], 0xff
je 0x10073d0
cmp dword [ebp - 0x14], 0
jle 0x10072e3
cmp dword [esi + 0x14], 0
je 0x10073d0
jmp 0x10072e3
mov eax, dword [esi]
test al, 0x30
jne 0x10073d0
test byte [esi - 0x12], 0xff
jne 0x10073d0
test al, 1
jne 0x10073d0
xor eax, eax
cmp dword [ebp - 0x20], eax
jne 0x100730a
cmp dword [ebp - 0x1c], eax
je 0x100730a
cmp dword [ebp - 0x14], eax
jne 0x100730a
mov ax, word [0x100c340]
push 0x1001958
push eax
call fcn.010039cc
add dword [ebp - 8], eax
pop ecx
pop ecx
mov ebx, dword [esi]
and dword [ebp - 0x20], 0
test bl, 8
je 0x1007330
push dword [esi - 8]
xor eax, eax
mov ax, word [0x100c340]
push 0x1001580
push eax
call fcn.010039cc
add esp, 0xc
jmp 0x1007387
lea eax, [esi - 0x1c]
push eax
call fcn.01001f15
test eax, eax
mov edx, 0x1001334
jne 0x1007344
mov edx, edi
test ebx, 0x10000
mov ecx, 0x100156c
jne 0x1007353
mov ecx, edi
test bl, 0x20
mov eax, dword [0x100c34c]
jne 0x1007362
mov eax, dword [0x100d368]
push dword [esi - 8]
mov ax, word [eax]
push edx
push dword [esi - 0xc]
movzx eax, ax
push ecx
push eax
xor eax, eax
mov ax, word [0x100c340]
push 0x1001920
push eax
call fcn.010039cc
add esp, 0x1c
add dword [ebp - 8], eax
movsx eax, word [0x100c35c]
sub eax, 0xf
cmp dword [ebp - 8], eax
jle 0x10073d0
xor eax, eax
mov ax, word [0x100c340]
push 0x1001420
push eax
call fcn.010039cc
pop ecx
pop ecx
push 0x20
pop ebx
xor eax, eax
mov ax, word [0x100c340]
push 0x1001334
push eax
call fcn.010039cc
dec ebx
pop ecx
pop ecx
jne 0x10073b1
mov dword [ebp - 8], 0x21
add esi, 0x40
cmp dword [esi - 4], 6
jne 0x100729c
cmp dword [ebp - 0xc], 0
jne 0x1007404
cmp dword [ebp - 0x1c], 1
jle 0x1007404
cmp dword [ebp - 0x14], 0
jne 0x1007404
xor eax, eax
mov ax, word [0x100c340]
push 0x1001918
push eax
call fcn.010039cc
pop ecx
pop ecx
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 2
jl 0x100728a
xor eax, eax
mov ax, word [0x100c340]
push 0x232
push eax
call fcn.010039e7
cmp dword [ebp - 0x28], 0
pop ecx
pop ecx
je 0x1007527
xor ebx, ebx
inc ebx
cmp dword [0x100b040], 6
je 0x1007527
mov esi, 0x100b038
mov eax, dword [esi + 0xc]
test al, 0x10
je 0x1007456
cmp dword [esi + 0x20], 0
je 0x1007501
test al, 0x20
je 0x1007501
cmp dword [ebp - 0x10], 0
jne 0x100746e
cmp dword [esi + 0x20], 0
je 0x1007501
test ebx, ebx
je 0x1007489
xor eax, eax
mov ax, word [0x100c340]
push 0x231
push eax
call fcn.010039e7
pop ecx
pop ecx
xor ebx, ebx
mov eax, dword [esi]
test eax, eax
je 0x100749f
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
test eax, eax
pop ecx
je 0x100749f
mov eax, dword [esi]
jmp 0x10074a2
mov eax, dword [esi - 4]
test word [esi + 0xc], 0x110
mov ecx, dword [0x100c354]
jne 0x10074b6
mov ecx, dword [0x100c340]
push dword [esi + 4]
push eax
push dword [0x100c34c]
push 0x10018f0
push ecx
call fcn.010039cc
mov edi, eax
add esp, 0x14
cmp edi, 0x20
jle 0x10074ec
xor eax, eax
mov ax, word [0x100c340]
push 0x1001334
push eax
call fcn.010039cc
pop ecx
pop ecx
add edi, eax
movsx eax, word [0x100c35c]
push 1
push eax
push 0x20
push edi
push dword [esi - 0x10]
call fcn.01003a85
add esi, 0x40
cmp dword [esi + 8], 6
jne 0x1007445
test ebx, ebx
jne 0x1007527
xor eax, eax
mov ax, word [0x100c340]
push 0x1001420
push eax
call fcn.010039cc
pop ecx
pop ecx
and dword [ebp - 0xc], 0
cmp dword [0x100b040], 6
mov dword [ebp - 0x20], 1
je 0x1007726
mov dword [ebp - 0x1c], 0x100b040
mov esi, 0x100b044
cmp dword [ebp - 0xc], 0
mov eax, dword [esi]
jne 0x10075fa
test al, 8
je 0x1007714
test eax, 0x100020
jne 0x1007714
cmp dword [ebp - 0x10], 0
jne 0x100757c
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx], 3
je 0x1007714
test al, 0x10
je 0x100758a
cmp dword [esi + 0x14], 0
je 0x1007714
cmp dword [ebp - 0x10], 0
jne 0x10075b0
cmp dword [esi + 0x14], 0
jne 0x10075b0
mov eax, dword [esi + 0x1c]
and eax, dword [ebp - 0x2c]
test ax, 0xffff
je 0x1007714
cmp dword [ebp - 0x24], 1
jge 0x1007714
mov eax, dword [esi - 0x14]
shr eax, 0x1c
and al, byte [ebp - 1]
test al, 0xf
jne 0x1007714
xor edi, edi
cmp dword [ebp - 0x20], edi
je 0x1007626
mov eax, dword [ebp - 0xc]
sub eax, edi
je 0x1007607
dec eax
jne 0x1007623
cmp dword [ebp - 0x30], edi
mov eax, 0x1001420
jne 0x10075e1
mov eax, 0x100123c
push eax
xor eax, eax
mov ax, word [0x100c340]
push 0x234
push eax
call fcn.010039e7
add esp, 0xc
jmp 0x1007623
test al, 8
jne 0x1007714
jmp 0x100755f
xor eax, eax
mov ax, word [0x100c340]
push 0x233
push eax
call fcn.010039e7
pop ecx
pop ecx
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x20], edi
mov eax, dword [esi - 0xc]
cmp eax, edi
je 0x100763e
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
test eax, eax
pop ecx
je 0x100763e
xor edi, edi
inc edi
jmp 0x1007640
xor edi, edi
mov eax, dword [esi]
test al, 8
je 0x1007669
test ax, 0x110
mov eax, dword [0x100c354]
jne 0x1007656
mov eax, dword [0x100c340]
push dword [esi - 8]
push 0x10018dc
push eax
call fcn.010039cc
add esp, 0xc
jmp 0x10076b3
test edi, edi
je 0x1007672
mov ecx, dword [esi - 0xc]
jmp 0x1007675
mov ecx, dword [esi - 0x10]
test eax, 0x10000
mov edx, 0x100156c
jne 0x1007686
mov edx, 0x100123c
test ax, 0x110
mov eax, dword [0x100c354]
jne 0x1007696
mov eax, dword [0x100c340]
push dword [esi - 8]
push ecx
mov ecx, dword [0x100d368]
movzx ecx, word [ecx]
push edx
push ecx
push 0x10018a8
push eax
call fcn.010039cc
add esp, 0x18
mov ebx, eax
cmp ebx, 0x20
jle 0x10076d1
xor eax, eax
mov ax, word [0x100c340]
push 0x10018a0
push eax
call fcn.010039cc
pop ecx
pop ecx
add ebx, eax
test byte [esi + 2], 1
je 0x10076ec
cmp dword [ebp - 0x18], 0
jne 0x10076ec
test edi, edi
je 0x10076e6
mov eax, dword [esi - 0xc]
jmp 0x10076e9
mov eax, dword [esi - 0x10]
mov dword [ebp - 0x18], eax
movsx eax, word [0x100c35c]
push 1
push eax
push 0x20
push ebx
push dword [esi - 0x1c]
call fcn.01003a85
cmp dword [ebp - 0x10], 0
jne 0x1007714
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 7
jne 0x1007714
call fcn.01006d84
add esi, 0x40
lea eax, [esi - 4]
cmp dword [eax], 6
mov dword [ebp - 0x1c], eax
jne 0x100754b
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 2
jl 0x100752b
xor edi, edi
cmp dword [ebp - 0x18], edi
je 0x1007756
push dword [ebp - 0x18]
xor eax, eax
mov ax, word [0x100c340]
push dword [ebp - 0x18]
push 0x23d
push eax
call fcn.010039e7
add esp, 0x10
cmp dword [ebp - 0x10], edi
je 0x1007770
xor eax, eax
mov ax, word [0x100c340]
push 0x23e
push eax
call fcn.010039e7
pop ecx
pop ecx
xor ebx, ebx
inc ebx
cmp dword [0x100b040], 6
je 0x10077cf
mov esi, 0x100b044
cmp dword [ebp - 0x10], edi
jne 0x100778b
cmp dword [esi + 0x14], edi
jmp 0x1007796
cmp dword [ebp - 0x28], edi
je 0x1007798
test dword [esi], 0x100020
je 0x10077c6
test byte [esi], 0x80
je 0x10077c6
cmp ebx, edi
je 0x10077b8
xor eax, eax
mov ax, word [0x100c340]
push 0x242
push eax
call fcn.010039e7
pop ecx
pop ecx
xor ebx, ebx
push edi
push 0x50
push 2
push edi
push dword [esi - 0x18]
call fcn.01003a85
add esi, 0x40
cmp dword [esi - 4], 6
jne 0x1007781
call fcn.0100224b
push edi
call dword [sym.imp.msvcrt.dll_exit]
int3