Function at 0x10029db
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c0
mov eax, dword [0x10090b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
push 0x7e
mov word [ebp - 0xa4], ax
xor ebx, ebx
lea eax, [ebp - 0xa2]
push ebx
push eax
mov byte [ebp - 0x2bc], 0
call sub.msvcrt.dll_memset
xor eax, eax
push 0x206
mov word [ebp - 0x2ac], ax
lea eax, [ebp - 0x2aa]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0x18
push 0x1001378
call fcn.01003776
mov dword [ebp - 0x2b0], eax
lea eax, [ebp - 0x24]
push 0x10
push eax
mov dword [ebp - 0x2b4], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLocaleName]
test eax, eax
jne 0x1002a6d
push 0x2720
call fcn.01003655
pop ecx
push 0xffffffffffffffff
call dword [sym.imp.msvcrt.dll_exit]
add esi, 4
dec dword [ebp + 8]
cmp dword [ebp + 8], ebx
push edi
jle 0x1002ab9
mov ecx, dword [esi + ebx*4]
mov eax, ecx
lea edi, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x1002a81
sub eax, edi
sar eax, 1
cmp eax, 2
jne 0x1002ab3
movzx eax, word [ecx]
cmp ax, 0x2d
je 0x1002aa3
cmp ax, 0x2f
jne 0x1002ab3
movzx eax, word [ecx + 2]
cmp ax, 0x68
je 0x1002ac4
cmp ax, 0x3f
je 0x1002ac4
inc ebx
cmp ebx, dword [ebp + 8]
jl 0x1002a79
mov edi, dword [sym.imp.msvcrt.dll__wcsicmp]
jmp 0x1002bdb
call fcn.01001ec3
mov eax, dword [esi]
cmp word [eax], 0x2d
jne 0x1002be5
push 0x1001798
push eax
call edi
pop ecx
pop ecx
test eax, eax
je 0x1002bd5
mov eax, dword [esi]
push 0x100178c
push 2
pop ebx
add eax, ebx
push eax
call edi
pop ecx
pop ecx
test eax, eax
jne 0x1002b22
dec dword [ebp + 8]
add esi, 4
mov eax, dword [esi]
push eax
mov dword [ebp - 0x2b4], eax
call fcn.01001f9c
test eax, eax
jge 0x1002bd5
push 0x2721
jmp 0x1002a5f
mov eax, dword [esi]
add eax, ebx
push 0x1001780
push eax
call edi
pop ecx
pop ecx
test eax, eax
jne 0x1002b6a
dec dword [ebp + 8]
xor ebx, ebx
add esi, 4
cmp dword [ebp + 8], ebx
je 0x1002b58
mov eax, dword [esi]
cmp eax, ebx
je 0x1002b58
cmp word [eax], bx
je 0x1002b58
push eax
call fcn.01003776
mov dword [ebp - 0x2b0], eax
cmp dword [ebp - 0x2b0], ebx
jne 0x1002bd5
push 0x2722
jmp 0x1002a5f
mov eax, dword [esi]
add eax, ebx
push 0x1001774
push eax
call edi
pop ecx
pop ecx
test eax, eax
jne 0x1002b85
mov byte [ebp - 0x2bc], 1
jmp 0x1002bd5
mov eax, dword [esi]
add eax, ebx
push 0x1001764
push eax
call edi
pop ecx
pop ecx
test eax, eax
jne 0x1002ba6
add esi, 4
push dword [esi]
lea eax, [ebp - 0xa4]
push 0x40
jmp 0x1002bcc
mov eax, dword [esi]
add eax, ebx
push 0x1001760
push eax
call edi
pop ecx
pop ecx
test eax, eax
jne 0x1002c77
add esi, 4
push dword [esi]
lea eax, [ebp - 0x2ac]
push 0x104
dec dword [ebp + 8]
push eax
call fcn.01002007
add esi, 4
dec dword [ebp + 8]
cmp dword [ebp + 8], 1
jg 0x1002ac9
cmp dword [ebp + 8], 1
jne 0x1002ac4
mov eax, dword [esi]
mov esi, dword [sym.imp.msvcrt.dll_wcsrchr]
xor ebx, ebx
mov dword [ebp - 0x2b8], eax
cmp word [ebp - 0x2ac], bx
jne 0x1002c3b
push eax
push 0x104
lea eax, [ebp - 0x2ac]
push eax
call fcn.01002007
lea eax, [ebp - 0x2ac]
push 0x2e
push eax
call esi
mov ebx, eax
push 0x1001754
push ebx
call edi
add esp, 0x10
test eax, eax
jne 0x1002c39
mov word [ebx], ax
xor ebx, ebx
lea eax, [ebp - 0x2ac]
push 0x2e
push eax
call esi
mov esi, 0x1001740
push esi
push eax
call edi
add esp, 0x10
pop edi
test eax, eax
je 0x1002c81
push esi
push 0x104
lea eax, [ebp - 0x2ac]
push eax
call fcn.01002041
test eax, eax
je 0x1002c81
push 0x2724
jmp 0x1002a5f
push 0x2723
jmp 0x1002a5f
cmp dword [ebp - 0x2b4], ebx
je 0x1002d5d
cmp dword [ebp - 0x2b0], ebx
je 0x1002d67
cmp dword [ebp - 0x2b8], ebx
je 0x1002d79
cmp word [ebp - 0x2ac], bx
je 0x1002d71
xor eax, eax
cmp byte [ebp - 0x2bc], al
setne al
add eax, 0x2726
push eax
call fcn.01003655
lea eax, [ebp - 0xa4]
pop ecx
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x1002cd2
sub eax, edx
sar eax, 1
pop esi
pop ebx
je 0x1002cf7
lea eax, [ebp - 0xa4]
push eax
push 0x2728
call fcn.01003655
pop ecx
pop ecx
push dword [ebp - 0x2b0]
call fcn.01003510
push eax
push dword [ebp - 0x2b4]
lea eax, [ebp - 0x2ac]
push eax
push 0x2729
call fcn.01003655
add esp, 0x10
push dword [ebp - 0x2bc]
lea eax, [ebp - 0xa4]
push dword [ebp - 0x2b0]
push eax
push dword [ebp - 0x2b4]
lea eax, [ebp - 0x2ac]
push eax
push dword [ebp - 0x2b8]
call fcn.01002885
xor ecx, ecx
test eax, eax
setl cl
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01003059
leave
ret
push 0x271a
jmp 0x1002a5f
push 0x271b
jmp 0x1002a5f
cmp dword [ebp - 0x2b8], ebx
jne 0x1002d83
push 0x271c
jmp 0x1002a5f
cmp word [ebp - 0x2ac], bx
je 0x1002ac4
push 0x2725
jmp 0x1002a5f