Function at 0x42f0b9
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x24
mov eax, 0
mov edx, dword [ebp + 8]
cmp eax, edx
jne 0x42f0e2
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
add eax, 0x14
mov dword [ebp + 8], eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042ef56
mov dword [ebp - 0xc], eax
mov eax, 0
mov edx, dword [ebp + 0x10]
cmp eax, edx
jne 0x42f12d
mov eax, dword [ebp + 0xc]
cmp eax, 0
jne 0x42f113
push 0
push 2
push 1
call fcn.0042a3c8
jmp 0x42f120
push 0
push dword [ebp - 0xc]
push dword [ebp + 0xc]
call fcn.0042a3c8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
jmp 0x42f18f
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
sar eax, 1
mov edx, eax
mov eax, dword [ebp + 0xc]
mov cl, dl
shl eax, cl
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov edx, eax
mov eax, dword [ebp - 0x2c]
cmp eax, edx
jle 0x42f179
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0042a6c2
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
and eax, 0xffffffe0
mov edx, dword [ebp - 0xc]
or eax, edx
mov edx, eax
mov eax, dword [ebp - 0x14]
mov dword [eax], edx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
or eax, 0x40000
mov edx, eax
mov eax, dword [ebp - 0x14]
mov dword [eax], edx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
cmp eax, 1
je 0x42f1e0
cmp eax, 2
je 0x42f24f
cmp eax, 4
je 0x42f2ee
call fcn.0042f1d7
mov eax, dword [ebp + 0x14]
cmp eax, 0
je 0x42f2d3
jmp 0x42f2c7
mov esi, dword [ebp + 8]
mov al, byte [esi]
cmp al, 0xd
jne 0x42f273
mov esi, dword [ebp + 8]
mov al, byte [esi + 1]
cmp al, 0
jne 0x42f273
jmp 0x42f277
xor eax, eax
jmp 0x42f27a
xor eax, eax
inc eax
cmp eax, 0
je 0x42f28a
mov eax, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0xc], eax
jmp 0x42f2b5
mov esi, dword [ebp + 8]
mov al, byte [esi]
mov edx, eax
mov eax, dword [ebp - 0x18]
mov byte [eax], dl
mov esi, dword [ebp + 8]
mov al, byte [esi + 1]
mov edx, eax
mov eax, dword [ebp - 0x18]
mov byte [eax + 1], dl
mov eax, dword [ebp - 0x18]
add eax, 2
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
add eax, 2
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp eax, 0
jg 0x42f25b
jmp 0x42f2e9
mov eax, dword [ebp + 0xc]
shl eax, 1
push eax
push dword [ebp + 8]
push dword [ebp - 0x18]
call dword [sym.imp.MSVCRT.DLL_memcpy]
add esp, 0xc
jmp 0x42f499
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
jmp 0x42f48b
mov esi, dword [ebp + 8]
mov al, byte [esi + 1]
and eax, 0xff
mov dword [ebp - 0x24], eax
mov eax, 0xd8
mov edx, dword [ebp - 0x24]
cmp eax, edx
jg 0x42f322
mov eax, dword [ebp - 0x24]
cmp eax, 0xdb
jg 0x42f322
jmp 0x42f326
xor eax, eax
jmp 0x42f329
xor eax, eax
inc eax
cmp eax, 0
je 0x42f41a
mov eax, dword [ebp - 0x24]
shl eax, 8
push eax
pop edx
xchg edx, eax
mov esi, dword [ebp + 8]
mov al, byte [esi]
xchg edx, eax
and edx, 0xff
add eax, edx
and eax, 0x3ff
shl eax, 0xa
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
add eax, 2
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
mov esi, dword [ebp + 8]
mov al, byte [esi + 1]
and eax, 0xff
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
cmp eax, 0
jl 0x42f3ad
mov eax, 0xdc
mov edx, dword [ebp - 0x24]
cmp eax, edx
jle 0x42f39d
mov eax, dword [ebp - 0x24]
cmp eax, 0xdf
jle 0x42f39d
xor eax, eax
jmp 0x42f3a0
xor eax, eax
inc eax
xor al, 1
cmp eax, 0
jne 0x42f3ad
xor eax, eax
jmp 0x42f3b0
xor eax, eax
inc eax
cmp eax, 0
je 0x42f3d9
push 0
push str._Input_Error:_invalid_UTF_16LE_codepoint
push 6
push 0xc
lea esi, [esp + 4]
push esi
push 1
call fcn.00421a2c
push 0
call dword [sym.imp.MSVCRT.DLL_exit]
add esp, 4
mov eax, dword [ebp - 0x24]
shl eax, 8
push eax
pop edx
xchg edx, eax
mov esi, dword [ebp + 8]
mov al, byte [esi]
xchg edx, eax
and edx, 0xff
add eax, edx
and eax, 0x3ff
mov edx, dword [ebp - 0x28]
or eax, edx
add eax, 0x10000
mov edx, eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], edx
mov eax, dword [ebp - 0x1c]
add eax, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0xc], eax
jmp 0x42f479
mov eax, dword [ebp + 0x14]
cmp eax, 0
je 0x42f439
mov esi, dword [ebp + 8]
mov al, byte [esi]
cmp al, 0xd
jne 0x42f439
mov eax, dword [ebp - 0x24]
cmp eax, 0
jne 0x42f439
jmp 0x42f43d
xor eax, eax
jmp 0x42f440
xor eax, eax
inc eax
cmp eax, 0
je 0x42f450
mov eax, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0xc], eax
jmp 0x42f479
mov eax, dword [ebp - 0x24]
shl eax, 8
push eax
pop edx
xchg edx, eax
mov esi, dword [ebp + 8]
mov al, byte [esi]
xchg edx, eax
and edx, 0xff
add eax, edx
mov edx, eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], edx
mov eax, dword [ebp - 0x1c]
add eax, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
add eax, 2
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp eax, 0
jg 0x42f2f9