Function at 0x423f63
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 0x423f8c
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.00423e07
mov dword [ebp - 0xc], eax
mov eax, 0
mov edx, dword [ebp + 0x10]
cmp eax, edx
jne 0x423fd7
mov eax, dword [ebp + 0xc]
cmp eax, 0
jne 0x423fbd
push 0
push 2
push 1
call fcn.00420087
jmp 0x423fca
push 0
push dword [ebp - 0xc]
push dword [ebp + 0xc]
call fcn.00420087
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
jmp 0x424039
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 0x424023
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0042032c
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 0x42408a
cmp eax, 2
je 0x4240f9
cmp eax, 4
je 0x424198
call fcn.00424081
mov eax, dword [ebp + 0x14]
cmp eax, 0
je 0x42417d
jmp 0x424171
mov esi, dword [ebp + 8]
mov al, byte [esi]
cmp al, 0xd
jne 0x42411d
mov esi, dword [ebp + 8]
mov al, byte [esi + 1]
cmp al, 0
jne 0x42411d
jmp 0x424121
xor eax, eax
jmp 0x424124
xor eax, eax
inc eax
cmp eax, 0
je 0x424134
mov eax, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0xc], eax
jmp 0x42415f
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 0x424105
jmp 0x424193
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 0x424343
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
jmp 0x424335
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 0x4241cc
mov eax, dword [ebp - 0x24]
cmp eax, 0xdb
jg 0x4241cc
jmp 0x4241d0
xor eax, eax
jmp 0x4241d3
xor eax, eax
inc eax
cmp eax, 0
je 0x4242c4
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 0x424257
mov eax, 0xdc
mov edx, dword [ebp - 0x24]
cmp eax, edx
jle 0x424247
mov eax, dword [ebp - 0x24]
cmp eax, 0xdf
jle 0x424247
xor eax, eax
jmp 0x42424a
xor eax, eax
inc eax
xor al, 1
cmp eax, 0
jne 0x424257
xor eax, eax
jmp 0x42425a
xor eax, eax
inc eax
cmp eax, 0
je 0x424283
push 0
push str._Input_Error:_invalid_UTF_16LE_codepoint
push 6
push 0xc
lea esi, [esp + 4]
push esi
push 1
call fcn.0041c56a
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 0x424323
mov eax, dword [ebp + 0x14]
cmp eax, 0
je 0x4242e3
mov esi, dword [ebp + 8]
mov al, byte [esi]
cmp al, 0xd
jne 0x4242e3
mov eax, dword [ebp - 0x24]
cmp eax, 0
jne 0x4242e3
jmp 0x4242e7
xor eax, eax
jmp 0x4242ea
xor eax, eax
inc eax
cmp eax, 0
je 0x4242fa
mov eax, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0xc], eax
jmp 0x424323
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 0x4241a3