Function at 0x432541
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 0x43256a
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.004323de
mov dword [ebp - 0xc], eax
mov eax, 0
mov edx, dword [ebp + 0x10]
cmp eax, edx
jne 0x4325b5
mov eax, dword [ebp + 0xc]
cmp eax, 0
jne 0x43259b
push 0
push 2
push 1
call fcn.0042d995
jmp 0x4325a8
push 0
push dword [ebp - 0xc]
push dword [ebp + 0xc]
call fcn.0042d995
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
jmp 0x432617
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 0x432601
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0042dc8f
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 0x432668
cmp eax, 2
je 0x4326d7
cmp eax, 4
je 0x432776
call fcn.0043265f
mov eax, dword [ebp + 0x14]
cmp eax, 0
je 0x43275b
jmp 0x43274f
mov esi, dword [ebp + 8]
mov al, byte [esi]
cmp al, 0xd
jne 0x4326fb
mov esi, dword [ebp + 8]
mov al, byte [esi + 1]
cmp al, 0
jne 0x4326fb
jmp 0x4326ff
xor eax, eax
jmp 0x432702
xor eax, eax
inc eax
cmp eax, 0
je 0x432712
mov eax, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0xc], eax
jmp 0x43273d
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 0x4326e3
jmp 0x432771
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 0x432921
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
jmp 0x432913
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 0x4327aa
mov eax, dword [ebp - 0x24]
cmp eax, 0xdb
jg 0x4327aa
jmp 0x4327ae
xor eax, eax
jmp 0x4327b1
xor eax, eax
inc eax
cmp eax, 0
je 0x4328a2
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 0x432835
mov eax, 0xdc
mov edx, dword [ebp - 0x24]
cmp eax, edx
jle 0x432825
mov eax, dword [ebp - 0x24]
cmp eax, 0xdf
jle 0x432825
xor eax, eax
jmp 0x432828
xor eax, eax
inc eax
xor al, 1
cmp eax, 0
jne 0x432835
xor eax, eax
jmp 0x432838
xor eax, eax
inc eax
cmp eax, 0
je 0x432861
push 0
push str._Input_Error:_invalid_UTF_16LE_codepoint
push 6
push 0xc
lea esi, [esp + 4]
push esi
push 1
call fcn.0042502d
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 0x432901
mov eax, dword [ebp + 0x14]
cmp eax, 0
je 0x4328c1
mov esi, dword [ebp + 8]
mov al, byte [esi]
cmp al, 0xd
jne 0x4328c1
mov eax, dword [ebp - 0x24]
cmp eax, 0
jne 0x4328c1
jmp 0x4328c5
xor eax, eax
jmp 0x4328c8
xor eax, eax
inc eax
cmp eax, 0
je 0x4328d8
mov eax, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0xc], eax
jmp 0x432901
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 0x432781