Function at 0x431720
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc8
mov edi, dword [ebp + 0x10]
xor eax, eax
xor ebx, ebx
mov esi, edx
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x40]
cmp edi, 0xa
setne bl
sete al
push edi
mov edi, dword [ebp + 0xc]
push ebx
push eax
push edi
mov eax, dword [ebp + 8]
mov ebx, eax
push eax
call fcn.004332e0
add esp, 0x14
cmp dword [esp + 0x40], 1
jne 0x43177b
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x18]
mov dword [ecx + 4], eax
mov dword [ecx], 1
jmp 0x431cb2
cmp dword [esi + 0xc], edi
jb 0x431e7c
mov eax, dword [esi + 8]
cmp eax, ebx
ja 0x431e8d
sub ebx, eax
cmp dword [esp + 0x50], 0
je 0x431834
mov eax, dword [0x44210c]
mov edi, esi
test eax, eax
jne 0x4317b9
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x431e6b
mov dword [0x44210c], eax
push 0x44
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x431e6b
mov dword [eax], 9
mov dword [eax + 0x24], 1
mov dword [eax + 0x28], ebx
mov dword [eax + 0x2c], 1
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x38], 4
mov dword [eax + 0x3c], 0
mov dword [eax + 0x40], 0
mov esi, eax
mov ecx, dword [edi]
mov edx, dword [edi + 4]
push ebx
call fcn.0042ba70
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x18], 1
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], edx
mov dword [ecx + 4], esi
mov dword [ecx], 1
jmp 0x431cb2
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], 0
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], esi
mov dword [esp + 0x24], 0
lea ecx, [esp + 0x80]
mov dword [esp + 0x10], edx
push 1
push 0x43ff08
mov dword [esp + 0x14], eax
push eax
call fcn.00414eb0
add esp, 0xc
movsd xmm1, qword [esp + 0xb0]
movsd xmm2, qword [esp + 0xa8]
movsd xmm0, qword [esp + 0xb8]
lea ecx, [esp + 0x28]
lea edx, [esp + 0x40]
movsd qword [esp + 0x70], xmm1
movsd xmm1, qword [esp + 0xa0]
movsd qword [esp + 0x68], xmm2
movsd xmm2, qword [esp + 0x98]
movsd qword [esp + 0x78], xmm0
movsd qword [esp + 0x60], xmm1
movsd xmm1, qword [esp + 0x90]
movsd qword [esp + 0x58], xmm2
movsd xmm2, qword [esp + 0x80]
movsd qword [esp + 0x50], xmm1
movsd xmm1, qword [esp + 0x88]
movsd qword [esp + 0x40], xmm2
movsd qword [esp + 0x48], xmm1
call fcn.00430a10
cmp dword [esp + 0x28], 1
jne 0x4319a5
mov ebx, dword [esp + 0x2c]
xor ecx, ecx
mov dword [esp], 0
mov dword [esp + 0x14], 1
cmp dword [esp + 0x70], 0
je 0x4319b8
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x30]
sub ebx, ecx
sub eax, dword [esp]
lea edi, [edx + ecx]
mov dword [esp + 4], esi
cmp eax, ebx
jb 0x431984
mov esi, dword [esp]
mov eax, dword [esp + 0x14]
add eax, esi
push ebx
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add esi, ebx
lea ecx, [esp + 0x28]
lea edx, [esp + 0x40]
mov dword [esp], esi
mov dword [esp + 0x24], esi
call fcn.00430a10
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0x2c]
cmp dword [esp + 0x28], 1
mov ecx, eax
je 0x431920
jmp 0x4319b6
mov edx, dword [esp]
lea ecx, [esp + 0x1c]
push ebx
call fcn.004371c0
add esp, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x14], eax
mov dword [esp], ecx
jmp 0x431947
xor eax, eax
mov dword [esp], 0
mov dword [esp + 0x14], 1
mov ecx, eax
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
sub eax, dword [esp]
sub edx, ecx
mov edi, edx
cmp eax, edx
jb 0x431d7a
mov edx, dword [esp + 0x10]
mov esi, dword [esp]
mov ebx, dword [esp + 0x14]
mov dword [esp + 8], ecx
add edx, ecx
lea eax, [ebx + esi]
push edi
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add edi, esi
mov esi, ebx
xor ecx, ecx
mov dword [esp + 4], edi
mov dword [esp + 0x24], edi
jmp 0x431a0a
inc ecx
mov edi, edx
sub ecx, esi
cmp edi, 0x2b
jne 0x431a88
cmp ecx, dword [esp + 4]
je 0x431a84
mov eax, ecx
add ecx, esi
movzx ebx, byte [ecx]
movzx edx, bl
test bl, bl
jns 0x431a00
movzx edi, byte [ecx + 1]
and edx, 0x1f
and edi, 0x3f
cmp bl, 0xdf
jbe 0x431a63
movzx esi, byte [ecx + 2]
shl edi, 6
and esi, 0x3f
or esi, edi
cmp bl, 0xf0
jb 0x431a6d
movzx edi, byte [ecx + 3]
and edx, 7
shl esi, 6
shl edx, 0x12
and edi, 0x3f
or edi, esi
or edi, edx
cmp edi, 0x110000
je 0x431e58
add ecx, 4
jmp 0x431a77
shl edx, 6
add ecx, 2
or edx, edi
jmp 0x431a01
shl edx, 0xc
add ecx, 3
or esi, edx
mov edi, esi
mov esi, dword [esp + 0x14]
sub ecx, esi
cmp edi, 0x2b
je 0x431a0a
jmp 0x431a88
mov eax, dword [esp + 4]
sub dword [esp + 4], eax
je 0x431bff
mov ecx, dword [esp + 0x14]
lea edx, [ecx + eax]
mov cl, byte [edx]
cmp cl, 0x2d
je 0x431bf4
cmp cl, 0x2b
jne 0x431ab4
dec dword [esp + 4]
je 0x431bff
inc edx
xor edi, edi
xor esi, esi
cmp dword [ebp + 0x10], 0xa
jbe 0x431b80
nop word cs:[eax + eax]
nop dword [eax]
cmp dword [esp + 4], 0
je 0x431e36
movzx eax, byte [edx]
lea ecx, [eax - 0x30]
cmp ecx, 0xa
jb 0x431b02
or eax, 0x20
mov ecx, 0xffffffff
add eax, 0xffffff9f
add eax, 0xa
cmovb eax, ecx
cmp eax, dword [ebp + 0x10]
mov ecx, eax
jae 0x431bff
mov ebx, dword [ebp + 0x10]
mov dword [esp], edi
mov edi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 8], ecx
sar edi, 0x1f
mov eax, ebx
mov ecx, ebx
mul edi
imul ecx, edi
mov dword [esp + 0xc], eax
mov eax, dword [esp]
mov edi, edx
mul ebx
mov dword [esp], eax
mov eax, esi
mov dword [esp + 0x3c], edx
mul ebx
mov esi, eax
add esi, dword [esp + 0x3c]
adc edx, dword [esp + 0xc]
mov eax, esi
adc edi, ecx
sar eax, 0x1f
mov ecx, dword [esp + 8]
xor edx, eax
xor eax, edi
mov edi, dword [esp]
or eax, edx
mov edx, dword [esp + 0x10]
jne 0x431bff
dec dword [esp + 4]
inc edx
add edi, ecx
adc esi, 0
jno 0x431ad0
jmp 0x431bff
cmp dword [esp + 4], 0
je 0x431e36
movzx ecx, byte [edx]
add ecx, 0xffffffd0
cmp ecx, dword [ebp + 0x10]
jae 0x431bff
mov eax, dword [ebp + 0x10]
mov dword [esp], edi
mov edi, esi
mov dword [esp + 0x10], edx
sar edi, 0x1f
mov ebx, eax
mul edi
imul ebx, edi
mov edi, edx
mov dword [esp + 8], eax
mov eax, dword [esp]
mov edx, dword [ebp + 0x10]
mul edx
mov dword [esp], eax
mov eax, esi
mov dword [esp + 0xc], edx
mul dword [ebp + 0x10]
mov esi, eax
add esi, dword [esp + 0xc]
adc edx, dword [esp + 8]
mov eax, esi
adc edi, ebx
sar eax, 0x1f
xor edx, eax
xor eax, edi
mov edi, dword [esp]
or eax, edx
mov edx, dword [esp + 0x10]
jne 0x431bff
dec dword [esp + 4]
inc edx
add edi, ecx
adc esi, 0
jno 0x431b80
jmp 0x431bff
cmp dword [esp + 4], 1
jne 0x431cba
mov eax, dword [0x44210c]
test eax, eax
jne 0x431c1a
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x431e6b
mov dword [0x44210c], eax
push 0x44
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x431e6b
mov edi, dword [esp + 0x34]
mov dword [eax], 9
mov dword [eax + 0x24], 1
mov esi, eax
mov dword [eax + 0x28], edi
mov dword [eax + 0x2c], 1
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x38], 4
mov dword [eax + 0x3c], 0
mov dword [eax + 0x40], 0
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
push edi
call fcn.0042ba70
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x18], 1
mov dword [esi + 0x1c], eax
mov eax, 1
mov dword [esi + 0x20], edx
mov dword [ecx + 4], esi
mov dword [ecx], eax
cmp dword [esp + 0x20], 0
mov eax, dword [esp + 0x14]
je 0x431cb2
push eax
push 0
push dword [0x44210c]
call sub.KERNEL32.dll_HeapFree
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
inc edx
cmp dword [ebp + 0x10], 0xa
jbe 0x431da2
mov ecx, dword [esp]
mov ebx, dword [esp + 8]
xor edi, edi
xor esi, esi
add ecx, dword [esp + 0xc]
not ebx
sub ecx, eax
add ebx, ecx
mov dword [esp + 8], ebx
cmp dword [esp + 8], 0
je 0x431e36
movzx eax, byte [edx]
lea ecx, [eax - 0x30]
cmp ecx, 0xa
jb 0x431d10
or eax, 0x20
mov ecx, 0xffffffff
add eax, 0xffffff9f
add eax, 0xa
cmovb eax, ecx
cmp eax, dword [ebp + 0x10]
mov ecx, eax
jae 0x431bff
mov dword [esp], edi
mov edi, dword [ebp + 0x10]
mov ebx, esi
mov dword [esp + 0x10], edx
mov dword [esp + 4], ecx
sar ebx, 0x1f
mov eax, edi
mov ecx, edi
mul ebx
imul ecx, ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp]
mov ebx, edx
mul edi
mov edi, eax
mov eax, esi
mov dword [esp], edx
mul dword [ebp + 0x10]
mov esi, eax
add esi, dword [esp]
adc edx, dword [esp + 0xc]
mov eax, esi
adc ebx, ecx
sar eax, 0x1f
mov ecx, dword [esp + 4]
xor edx, eax
xor eax, ebx
or eax, edx
mov edx, dword [esp + 0x10]
jne 0x431bff
dec dword [esp + 8]
inc edx
sub edi, ecx
sbb esi, 0
jno 0x431cde
jmp 0x431bff
mov edx, dword [esp]
mov esi, ecx
lea ecx, [esp + 0x1c]
push edi
call fcn.004371c0
mov ecx, esi
add esp, 4
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x14], eax
mov dword [esp], edx
jmp 0x4319cf
mov ecx, dword [esp]
mov ebx, dword [esp + 8]
xor edi, edi
xor esi, esi
add ecx, dword [esp + 0xc]
not ebx
sub ecx, eax
add ebx, ecx
mov dword [esp + 8], ebx
cmp dword [esp + 8], 0
je 0x431e36
movzx ecx, byte [edx]
add ecx, 0xffffffd0
cmp ecx, dword [ebp + 0x10]
jae 0x431bff
mov eax, dword [ebp + 0x10]
mov ebx, esi
mov dword [esp], edi
mov dword [esp + 0x10], edx
sar ebx, 0x1f
mov edi, eax
mul ebx
imul edi, ebx
mov ebx, edx
mov dword [esp + 4], eax
mov eax, dword [esp]
mov edx, dword [ebp + 0x10]
mul edx
mov dword [esp], eax
mov eax, esi
mov dword [esp + 0xc], edx
mul dword [ebp + 0x10]
mov esi, eax
add esi, dword [esp + 0xc]
adc edx, dword [esp + 4]
mov eax, esi
adc ebx, edi
sar eax, 0x1f
mov edi, dword [esp]
xor edx, eax
xor eax, ebx
or eax, edx
mov edx, dword [esp + 0x10]
jne 0x431bff
dec dword [esp + 8]
inc edx
sub edi, ecx
sbb esi, 0
jno 0x431dbb
jmp 0x431bff
mov ecx, dword [esp + 0x18]
xor eax, eax
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], esi
mov dword [ecx], eax
cmp dword [esp + 0x20], 0
mov eax, dword [esp + 0x14]
jne 0x431ca4
jmp 0x431cb2
mov eax, dword [esp + 4]
sub dword [esp + 4], eax
jne 0x431a92
jmp 0x431bff
mov ecx, 0x44
mov edx, 4
call fcn.00436130
ud2
mov ecx, str.assertion_failed:_s.len_____self.input.len__
mov edx, 0x2d
push 0x4400b4
jmp 0x431e9c
mov ecx, str.assertion_failed:_a___b_
mov edx, 0x18
push 0x4400dc
call fcn.004363a0
add esp, 4
ud2