Function at 0x431710
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x90
mov esi, esp
mov dword [esi + 0x78], ebp
mov dword [esi + 0x7c], esp
mov dword [esi + 0x88], 0xffffffff
mov dword [esi + 0x84], 0x446910
movaps xmm0, xmmword [0x457730]
mov ebx, ecx
lea edi, [esi + 0x30]
lea ecx, [esi + 0xc]
mov eax, dword fs:[0]
mov dword [esi + 0x80], eax
lea eax, [esi + 0x80]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x4c], 0
mov word [esi + 0x50], 0
mov dword [esi + 0x30], 0
movups xmmword [esi + 0x38], xmm0
mov dword [esi + 0x48], 0
mov byte [esi + 0x4c], 1
push edi
push eax
call fcn.00430430
add esp, 8
cmp byte [esi + 0xc], 4
jne 0x43179d
mov edi, dword [esi + 0x10]
jmp 0x4317ab
mov eax, dword [esi + 0xc]
mov edi, dword [esi + 0x10]
cmp al, 4
jne 0x43186b
lea ecx, [esi + 0x30]
mov edx, edi
mov dword [esi + 0x2c], edi
call fcn.004306c0
mov eax, dword [esi + 0x30]
mov dword [esi + 0x20], edi
mov dword [esi + 0x1c], ebx
xor eax, 2
or eax, dword [esi + 0x34]
jne 0x431819
movzx eax, byte [esi + 0x38]
mov ecx, dword [esi + 0x3c]
cmp al, 4
je 0x43181c
cmp al, 3
jne 0x4318bf
mov eax, dword [ecx]
mov dword [esi + 4], ecx
mov ecx, dword [ecx + 4]
mov dword [esi + 0x88], 2
mov dword [esi + 8], eax
push eax
mov dword [esi + 0x18], ecx
call dword [ecx]
add esp, 4
mov eax, dword [esi + 0x18]
cmp dword [eax + 4], 0
je 0x4318ae
cmp dword [eax + 8], 9
jae 0x431899
mov eax, dword [esi + 8]
jmp 0x43189f
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x43188b
js 0x4319cb
movzx eax, byte [0xdec9c0]
mov eax, dword [0xdeca40]
mov dword [esi + 4], ecx
test eax, eax
jne 0x43184f
call dword [sym.imp.kernel32.dll_GetProcessHeap]
test eax, eax
je 0x4319b2
mov dword [0xdeca40], eax
mov ecx, dword [esi + 4]
push ecx
push 0
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x4319b2
mov edx, dword [esi + 4]
mov edi, 1
jmp 0x4318d2
mov ecx, eax
mov byte [ebx + 4], al
shr eax, 0x18
shr ecx, 8
mov byte [ebx + 7], al
mov word [ebx + 5], cx
mov dword [ebx + 8], edi
mov dword [ebx], 0
jmp 0x43199e
mov edi, 1
xor edx, edx
mov eax, 1
jmp 0x4318d2
mov eax, dword [esi + 8]
mov eax, dword [eax - 4]
push eax
push 0
push dword [0xdeca40]
call dword [sym.imp.kernel32.dll_HeapFree]
push dword [esi + 4]
push 0
push dword [0xdeca40]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, 1
xor edx, edx
xor edi, edi
mov dword [esi + 0x88], 1
mov dword [esi + 0xc], eax
mov eax, edx
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], 0
mov dword [esi + 0x88], 1
lea ecx, [esi + 0x24]
lea edx, [esi + 0x2c]
push eax
push edi
lea eax, [esi + 0xc]
push eax
call fcn.004307c0
add esp, 0xc
mov edi, dword [esi + 0xc]
mov ebx, dword [esi + 0x14]
lea ecx, [esi + 0x30]
mov edx, edi
push ebx
call fcn.00417520
add esp, 4
cmp dword [esi + 0x30], 0
je 0x43193f
movzx eax, byte [esi + 0x27]
mov ebx, dword [esi + 0x24]
movzx ecx, word [esi + 0x25]
mov edx, 2
shl eax, 0x10
or ecx, eax
cmp bl, 4
mov eax, 0xde14b4
cmovne eax, dword [esi + 0x28]
cmovne edx, ebx
jmp 0x431967
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x28]
mov dword [esi + 0x14], ebx
cmp dl, 4
jne 0x431961
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x1c]
movsd xmm0, qword [esi + 0xc]
mov dword [ecx + 8], eax
movsd qword [ecx], xmm0
jmp 0x431995
mov ecx, edx
shrd ecx, eax, 8
mov ebx, dword [esi + 0x1c]
mov byte [ebx + 4], dl
mov word [ebx + 5], cx
shr ecx, 0x10
cmp dword [esi + 0x10], 0
mov byte [ebx + 7], cl
mov dword [ebx + 8], eax
mov dword [ebx], 0
je 0x431995
push edi
push 0
push dword [0xdeca40]
call dword [sym.imp.kernel32.dll_HeapFree]
push dword [esi + 0x20]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [esi + 0x80]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, dword [esi + 4]
mov ecx, 1
mov dword [esi + 0x88], 0
call fcn.00455560
jmp 0x4319da
mov dword [esi + 0x88], 0
call fcn.004126b0
ud2