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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x2e8
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x34], edx
mov eax, dword [eax + 8]
test eax, eax
je 0x463be4
mov edx, dword [ebp + 0x10]
movzx ecx, byte [ebp + 0x38]
mov esi, 0x260
mov edi, 0x405
mov edx, dword [edx + 4]
mov byte [esp + 0xf], cl
lea ecx, [eax*4]
lea ecx, [ecx + ecx*4]
mov dword [esp], edx
add edx, 0x10
jmp 0x463b38
add edx, 0x14
add ecx, 0xffffffec
je 0x463ba0
movzx ebx, word [edx - 0x10]
bt esi, ebx
jb 0x463b30
cmp ebx, 0xe
jne 0x463b56
movzx ebx, word [edx]
add ebx, 0xffffffea
cmp ebx, 0xa
ja 0x463b56
bt edi, ebx
jb 0x463b30
mov esi, dword [ebp + 8]
mov word [esp + 0xb4], 4
mov dword [esp + 0x38], 0x80000001
mov dword [esp + 0x3c], 0x1a0001
xor eax, eax
lea edx, [esp + 0x38]
cmp byte [esi + 0x31], 2
mov ecx, esi
sete al
push eax
call fcn.0044f0f0
add esp, 4
mov eax, dword [esp + 4]
mov byte [esi + 0x249], 1
mov word [eax], 0x4309
jmp 0x463c30
mov esi, dword [esp]
lea edi, [eax + eax*4]
mov ecx, 0x3fdf
lea eax, [edi*4 - 0x14]
movzx ebx, word [esi]
lea edx, [esi + 0x14]
bt ecx, ebx
jb 0x463be0
jmp 0x463bd0
add eax, 0xffffffec
mov esi, edx
movzx ebx, word [esi]
lea edx, [esi + 0x14]
bt ecx, ebx
jb 0x463be0
cmp ebx, 0xe
jne 0x463d9e
cmp word [esi + 0x10], 0x20
je 0x463be4
test eax, eax
jne 0x463bc0
mov esi, dword [ebp + 8]
mov word [esp + 0xb4], 4
mov dword [esp + 0x38], 0x80000001
mov dword [esp + 0x3c], 0x190001
xor eax, eax
lea edx, [esp + 0x38]
cmp byte [esi + 0x31], 2
mov ecx, esi
sete al
push eax
call fcn.0044f0f0
add esp, 4
mov eax, dword [esp + 4]
mov byte [esi + 0x249], 1
mov word [eax], 0x1f09
mov dword [eax + 4], 0
mov ecx, dword [ebp + 0x40]
mov al, 1
mov bl, 1
xor edx, edx
mov dword [esp + 4], eax
xor eax, eax
cmp eax, dword [ecx]
jo 0x463c4c
test dl, dl
jne 0x463c4c
call fcn.00460b20
test bl, bl
mov ebx, dword [ebp + 0x24]
mov esi, dword [ebp + 0x2c]
mov edi, dword [ebp + 0x34]
je 0x463c88
mov eax, dword [edi]
test eax, eax
je 0x463c67
push dword [ebp + 0x30]
call eax
add esp, 4
cmp dword [edi + 4], 0
je 0x463c88
mov eax, dword [ebp + 0x30]
cmp dword [edi + 8], 9
jb 0x463c79
mov eax, dword [eax - 4]
push eax
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [esi], 0
je 0x463c9e
push dword [esi + 4]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp byte [esp + 4], 0
je 0x463cdb
mov eax, dword [ebp + 0x28]
mov esi, dword [eax]
test esi, esi
je 0x463cdb
mov edi, dword [eax + 4]
mov eax, dword [edi]
test eax, eax
je 0x463cbd
push esi
call eax
add esp, 4
cmp dword [edi + 4], 0
je 0x463cdb
cmp dword [edi + 8], 9
jb 0x463ccc
mov esi, dword [esi - 4]
push esi
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [ebx + 0x18]
mov esi, dword [ebx + 0x14]
mov eax, dword [edi]
test eax, eax
je 0x463ced
push esi
call eax
add esp, 4
cmp dword [edi + 4], 0
je 0x463d0b
cmp dword [edi + 8], 9
jb 0x463cfc
mov esi, dword [esi - 4]
push esi
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
test dword [ebx], 0x7fffffff
jne 0x463d20
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp + 0x14]
cmp byte [eax], 0
jne 0x463d45
jmp 0x463d3c
push dword [ebx + 4]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp + 0x14]
cmp byte [eax], 0
jne 0x463d45
test dword [eax + 4], 0x7fffffff
jne 0x463d84
xor eax, eax
cmp eax, dword [esi + 8]
jo 0x463d6a
mov ecx, esi
call fcn.00459cc0
cmp dword [esi + 0x20], 0
je 0x463d6a
push dword [esi + 0x24]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x34]
lock dec dword [eax]
jne 0x463d7c
lea ecx, [esp + 0x34]
call fcn.004a0e30
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push dword [eax + 8]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
cmp eax, dword [esi + 8]
jno 0x463d4c
jmp 0x463d6a
push dword [ebp + 0x30]
mov eax, dword [ebp + 0x34]
call dword [eax + 0x1c]
add esp, 4
cmp ax, word [esi + 0x10]
mov ebx, dword [esp]
jne 0x463efd
cmp ax, 0xa
jne 0x463dc7
cmp dx, word [esi + 0x12]
jne 0x463efd
lea eax, [edi*4 - 0x14]
mov ecx, 0x3fbf
movzx edi, word [ebx]
lea edx, [ebx + 0x14]
bt ecx, edi
jb 0x463e00
jmp 0x463df0
add eax, 0xffffffec
mov ebx, edx
movzx edi, word [ebx]
lea edx, [ebx + 0x14]
bt ecx, edi
jb 0x463e00
cmp edi, 0xe
jne 0x4646ca
cmp word [ebx + 0x10], 0x16
je 0x463e04
test eax, eax
jne 0x463de0
mov eax, dword [ebp + 0x28]
mov edx, dword [ebp + 0x14]
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
test ecx, ecx
mov dword [esp + 0x14], ecx
sete byte [esp + 0x18]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 0x40]
mov dword [esp + 0x10], ebx
mov byte [eax + 0xc], 4
mov byte [ecx + 0x248], 0
xor ecx, ecx
movsd xmm2, qword [edx + 0x28]
movsd xmm1, qword [edx + 0x20]
movsd xmm0, qword [edx + 0x30]
movsd qword [esp + 0x60], xmm2
movsd qword [esp + 0x58], xmm1
movsd xmm2, qword [edx + 0x18]
movsd xmm1, qword [edx + 0x10]
movsd qword [esp + 0x68], xmm0
movsd qword [esp + 0x50], xmm2
movsd qword [esp + 0x48], xmm1
movsd xmm2, qword [edx]
movsd xmm1, qword [edx + 8]
mov dword [edx + 8], 0x80000000
movsd qword [esp + 0x40], xmm1
movsd qword [esp + 0x38], xmm2
cmp ecx, dword [esp + 0x40]
jo 0x463eaf
lea ecx, [esp + 0x38]
call fcn.00459cc0
cmp dword [esp + 0x58], 0
je 0x463eaf
push dword [esp + 0x5c]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ebx, dword [ebp + 0x20]
mov eax, dword [ebx + 0xc]
sub esp, 4
push 0
push dword [ebx + 8]
call dword [eax + 0xc]
add esp, 0xc
cmp byte [esp + 0x18], 0
mov dword [esp + 8], eax
mov dword [esp], edx
jne 0x463f65
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx]
test eax, eax
je 0x463ee8
push dword [esp + 0x14]
call eax
add esp, 4
cmp dword [ebx + 4], 0
mov eax, dword [ebp + 8]
je 0x463f47
cmp dword [ebx + 8], 9
jae 0x463f4c
mov eax, dword [esp + 0x14]
jmp 0x463f53
mov esi, dword [ebp + 8]
mov word [esp + 0xb4], 4
mov dword [esp + 0x38], 0x80000001
mov dword [esp + 0x3c], 0xd0001
xor eax, eax
lea edx, [esp + 0x38]
cmp byte [esi + 0x31], 2
mov ecx, esi
sete al
push eax
call fcn.0044f0f0
add esp, 4
mov eax, dword [esp + 4]
mov byte [esi + 0x249], 1
mov word [eax], 0x4809
jmp 0x463c30
mov ebx, dword [ebp + 0x20]
jmp 0x463f68
mov eax, dword [esp + 0x14]
mov eax, dword [eax - 4]
push eax
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ebx, dword [ebp + 0x20]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x208], 1
jne 0x463f7b
mov dword [eax + 0x208], 2
lea eax, [esp + 0xf0]
push dword [esi + 0xc]
push dword [esi + 8]
push dword [ebp + 0x30]
push eax
mov eax, dword [ebp + 0x34]
call dword [eax + 0xc]
add esp, 0x10
movsd xmm0, qword [esp + 0xf4]
movsd xmm1, qword [esp + 0xfc]
test byte [esp + 0xf0], 1
movsd qword [esp + 0x20], xmm0
movsd qword [esp + 0x28], xmm1
je 0x46406a
mov esi, dword [ebp + 8]
mov word [esp + 0xb4], 4
mov dword [esp + 0x38], 0x80000001
mov dword [esp + 0x3c], 0xd0001
xor eax, eax
lea edx, [esp + 0x38]
cmp byte [esi + 0x31], 2
mov ecx, esi
sete al
push eax
call fcn.0044f0f0
add esp, 4
mov byte [esi + 0x249], 1
mov eax, dword [esp + 4]
mov ebx, dword [esp]
mov esi, dword [esp + 8]
movsd xmm0, qword [esp + 0x20]
movsd xmm1, qword [esp + 0x28]
movsd qword [esp + 0x170], xmm1
movsd qword [esp + 0x168], xmm0
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
mov eax, dword [ebx]
test eax, eax
je 0x46403b
push esi
call eax
add esp, 4
cmp dword [ebx + 4], 0
mov dl, 1
je 0x4646ac
cmp dword [ebx + 8], 9
jb 0x464050
mov esi, dword [esi - 4]
push esi
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor ebx, ebx
mov ecx, edi
mov dl, 1
jmp 0x4646b0
mov eax, dword [esp + 8]
movsd xmm0, qword [esp + 0x20]
movsd xmm1, qword [esp + 0x28]
lea edx, [esp + 0x38]
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [esp]
movsd qword [esp + 0x158], xmm0
movsd qword [esp + 0x160], xmm1
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x158]
mov dword [esp + 0x40], ebx
push eax
call fcn.00464900
add esp, 4
mov ebx, dword [edi]
mov dl, 1
mov eax, ebx
neg eax
jo 0x464349
lea eax, [esp + 0x1c0]
push 0x90
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebp + 0x20]
lea ecx, [esp + 0x38]
lea edx, [esp + 0x1c0]
push dword [eax + 0x1c]
push dword [eax + 0x18]
push dword [ebp + 0x10]
push dword [esp + 0x34]
call fcn.00464ae0
add esp, 0x10
mov eax, dword [esp + 0x38]
movsd xmm0, qword [esp + 0x3c]
movsd xmm1, qword [esp + 0x44]
cmp eax, 0x80000001
movsd qword [esp + 0x110], xmm0
movsd qword [esp + 0x118], xmm1
jne 0x46414e
movsd xmm0, qword [esp + 0x110]
mov eax, dword [esp + 4]
movsd xmm1, qword [esp + 0x118]
mov dword [esp], 0
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
jmp 0x46469c
movsd xmm1, qword [esp + 0x6c]
movsd xmm2, qword [esp + 0x64]
mov ecx, dword [esp + 0x7c]
movsd xmm0, qword [esp + 0x74]
mov edx, eax
neg edx
movsd qword [esp + 0x140], xmm1
movsd xmm1, qword [esp + 0x5c]
movsd qword [esp + 0x138], xmm2
movsd xmm2, qword [esp + 0x4c]
mov dword [esp + 0x150], ecx
mov cl, 4
movsd qword [esp + 0x148], xmm0
movsd qword [esp + 0x130], xmm1
movsd xmm1, qword [esp + 0x54]
movsd qword [esp + 0x120], xmm2
movsd qword [esp + 0x128], xmm1
jo 0x464341
movsd xmm1, qword [esp + 0x118]
mov dword [esp + 0x38], eax
movsd xmm0, qword [esp + 0x110]
movsd xmm2, qword [esp + 0x130]
movsd xmm3, qword [esp + 0x120]
mov eax, dword [esp + 0x150]
mov edx, dword [ebp + 0x3c]
lea ecx, [esp + 0x44]
movsd qword [esp + 0x44], xmm1
movsd xmm1, qword [esp + 0x128]
movsd qword [esp + 0x3c], xmm0
movsd qword [esp + 0x5c], xmm2
movsd xmm2, qword [esp + 0x140]
movsd qword [esp + 0x4c], xmm3
mov dword [esp + 0x7c], eax
movsd qword [esp + 0x54], xmm1
movsd xmm1, qword [esp + 0x138]
movsd qword [esp + 0x6c], xmm2
movsd qword [esp + 0x64], xmm1
movsd xmm1, qword [esp + 0x148]
movsd qword [esp + 0x74], xmm1
call fcn.00462f70
mov edi, dword [ebp + 0x24]
mov eax, dword [esp + 0x5c]
movsd xmm0, qword [esp + 0x54]
movsd xmm2, qword [esp + 0x44]
movsd xmm1, qword [esp + 0x4c]
mov ecx, edi
mov dword [esp + 0x108], eax
movsd qword [esp + 0x100], xmm0
movsd qword [esp + 0xf8], xmm1
movsd qword [esp + 0xf0], xmm2
call fcn.004658a0
movsd xmm0, qword [esp + 0x100]
mov eax, dword [esp + 0x108]
movsd xmm1, qword [esp + 0xf8]
mov ecx, dword [esp + 0x40]
movsd qword [edi + 0x10], xmm0
movsd xmm0, qword [esp + 0xf0]
mov dword [edi + 0x18], eax
mov eax, dword [ebp + 0x1c]
movsd qword [edi + 8], xmm1
movsd xmm1, qword [esp + 0x68]
mov dword [esp + 0xf8], ecx
movsd qword [edi], xmm0
movsd xmm0, qword [esp + 0x78]
mov edi, dword [ebp + 0x2c]
movsd qword [eax + 8], xmm1
movsd qword [eax + 0x18], xmm0
movsd xmm0, qword [esp + 0x70]
cmp dword [edi], 0
movsd qword [eax + 0x10], xmm0
movsd xmm0, qword [esp + 0x60]
movsd qword [eax], xmm0
movsd xmm0, qword [esp + 0x38]
movsd qword [esp + 0xf0], xmm0
je 0x464328
push dword [edi + 4]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0xf8]
movsd xmm0, qword [esp + 0xf0]
mov cl, 3
mov dword [edi + 8], eax
movsd qword [edi], xmm0
mov eax, dword [ebp + 0xc]
xor edx, edx
mov byte [eax + 0x11], cl
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], ebx
mov ebx, dword [ebp + 0x18]
mov dword [esp], edx
mov edi, dword [ecx + 0x7c]
mov eax, dword [ecx + 0x78]
mov ecx, dword [edi + 8]
dec ecx
and ecx, 0xfffffff8
cmp byte [ebx], 0
lea eax, [eax + ecx + 8]
mov dword [esp + 8], eax
je 0x464393
movzx eax, byte [ebx + 0x11]
movsd xmm0, qword [ebx + 1]
movsd xmm1, qword [ebx + 9]
mov byte [esp + 0x49], al
movsd qword [esp + 0x41], xmm1
movsd qword [esp + 0x39], xmm0
mov al, 1
jmp 0x4643d3
xor eax, eax
cmp eax, dword [ebx + 4]
jno 0x4643a7
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
mov edx, 0x80000000
jmp 0x4643c5
mov edx, dword [ebx + 8]
lea ecx, [esp + 0x38]
push dword [ebx + 0xc]
call fcn.00412690
add esp, 4
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x44], ecx
mov byte [esp + 0x38], al
lea ecx, [esp + 0x38]
movzx eax, word [esi + 0x12]
push eax
push dword [esi + 0x10]
push ecx
push dword [esp + 0x14]
call dword [edi + 0x18]
add esp, 0x10
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x38]
mov edx, esi
call fcn.00465900
movzx eax, byte [esp + 0x38]
cmp al, 0x16
jne 0x46467d
mov ecx, dword [ebp + 0x24]
lea edx, [esp + 0x17c]
mov eax, dword [ecx + 0x18]
push dword [ecx + 0x14]
push edx
call dword [eax + 0xc]
add esp, 8
mov eax, dword [esp + 0x28]
movsd xmm0, qword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0xc]
movsd qword [esp + 0x38], xmm0
mov edi, dword [edx + 0x90]
movzx ecx, byte [eax + 0xc]
xor eax, eax
dec cl
cmp cl, 2
mov ecx, dword [edx + 0x8c]
mov edx, dword [edi + 8]
setb al
dec edx
and edx, 0xfffffff8
lea ebx, [ecx + edx + 8]
lea ecx, [esp + 0x250]
lea edx, [esp + 0x38]
push esi
push dword [ebp + 0x1c]
push edi
push ebx
mov ebx, dword [ebp + 0x20]
push ebx
lea edi, [esp + 0x190]
push edi
push eax
call fcn.00465960
add esp, 0x1c
movzx eax, byte [esp + 0xf]
or al, byte [esi + 0x24c]
jne 0x4644b5
mov word [esp + 0xb4], 4
mov dword [esp + 0x38], 0x80000004
lea edx, [esp + 0x38]
mov ecx, esi
push 0
call fcn.0044f0f0
add esp, 4
mov eax, dword [ebp + 0x14]
xor ecx, ecx
mov edx, 0x158
movsd xmm0, qword [eax + 0x30]
movsd xmm1, qword [eax + 8]
movsd qword [esp + 0x78], xmm0
movsd xmm0, qword [eax + 0x28]
movsd qword [esp + 0x50], xmm1
movsd qword [esp + 0x70], xmm0
movsd xmm0, qword [eax + 0x20]
movsd qword [esp + 0x68], xmm0
movsd xmm0, qword [eax + 0x18]
movsd qword [esp + 0x60], xmm0
movsd xmm0, qword [eax + 0x10]
movsd qword [esp + 0x58], xmm0
movsd xmm0, qword [eax]
mov eax, dword [ebp + 0x18]
movsd qword [esp + 0x48], xmm0
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
mov eax, dword [eax + 0x10]
mov dword [esp + 0xec], eax
mov eax, dword [ebp + 0x1c]
movsd qword [esp + 0xdc], xmm0
movsd qword [esp + 0xe4], xmm1
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [esp + 0x80], xmm0
movsd xmm0, qword [eax + 0x38]
movsd qword [esp + 0x88], xmm1
movsd qword [esp + 0xb8], xmm0
movsd xmm0, qword [eax + 0x30]
movsd qword [esp + 0xb0], xmm0
movsd xmm0, qword [eax + 0x28]
movsd qword [esp + 0xa8], xmm0
movsd xmm0, qword [eax + 0x20]
movsd qword [esp + 0xa0], xmm0
movsd xmm0, qword [eax + 0x18]
movsd qword [esp + 0x98], xmm0
movsd xmm0, qword [eax + 0x10]
mov eax, dword [ebp + 0x24]
movsd qword [esp + 0x90], xmm0
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [esp + 0xc0], xmm0
movsd xmm0, qword [eax + 0x10]
mov eax, dword [eax + 0x18]
movsd qword [esp + 0xc8], xmm1
mov dword [esp + 0xd8], eax
mov eax, dword [ebp + 0x2c]
movsd qword [esp + 0xd0], xmm0
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [esp + 0x40], xmm1
movsd qword [esp + 0x38], xmm0
movzx eax, byte [0x77618d]
call fcn.00490be0
mov edi, dword [ebp + 0x40]
test eax, eax
je 0x4648b8
mov esi, eax
push 0xb8
lea eax, [esp + 0x3c]
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov dword [esi + 0xb8], eax
mov eax, esi
mov dword [esi + 0xbc], ebx
add eax, 0xc0
push 0x94
lea ecx, [esp + 0x254]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
neg dword [esp + 0x18]
mov eax, dword [esp + 4]
mov dword [eax + 4], esi
mov dword [eax + 8], 0x7353f0
mov byte [eax], 0x16
jo 0x463d7c
cmp byte [esp], 0
je 0x463d7c
mov ecx, edi
call fcn.00460b20
jmp 0x463d7c
movsd xmm0, qword [esp + 0x39]
movsd xmm1, qword [esp + 0x40]
mov ecx, dword [esp + 4]
mov edi, dword [ebp + 0x40]
movsd qword [ecx + 8], xmm1
movsd qword [ecx + 1], xmm0
mov byte [ecx], al
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
call fcn.00465fd0
mov edx, dword [esp]
xor ebx, ebx
mov ecx, edi
xor dl, 1
mov dword [esp + 4], 0
xor eax, eax
cmp eax, dword [ecx]
jno 0x463c43
jmp 0x463c4c
mov eax, dword [ebp + 0x28]
mov dword [esp], ebx
mov edx, dword [ebp + 0x14]
mov edi, dword [eax]
mov ebx, dword [eax + 4]
test edi, edi
je 0x4647d1
xor ecx, ecx
mov al, 0x37
cmp ecx, dword [edx + 8]
jo 0x464869
mov eax, dword [esp]
mov dword [esp + 8], edi
mov edi, dword [edx + 0x2c]
mov dword [esp + 0x10], ebx
movzx eax, word [eax + 2]
mov word [esp + 0x14], ax
mov eax, dword [ebp + 0x28]
mov ebx, dword [eax + 8]
mov eax, dword [edi + 0x1c]
push dword [edi + 0x18]
call dword [eax + 0x18]
add esp, 4
mov ecx, dword [ebp + 0x20]
mov byte [esp + 0x18], al
mov byte [esp], dl
mov eax, dword [ecx + 0x1c]
push dword [ecx + 0x18]
call dword [eax + 0x18]
add esp, 4
mov ah, byte [esp + 0x18]
cmp ah, 7
sete cl
cmp byte [esp], dl
setne dl
cmp ah, al
jne 0x4647e3
and cl, dl
jne 0x4647e3
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0xc]
dec al
cmp al, 1
ja 0x464782
movzx eax, word [edi + 0x28]
mov ecx, dword [ebp + 0x20]
cmp ax, word [ecx + 0x28]
jne 0x464823
movzx eax, ax
cmp eax, 0x178
jne 0x464782
movzx eax, word [edi + 0x2a]
cmp ax, word [ecx + 0x2a]
jne 0x464823
cmp word [esp + 0x14], 0
je 0x4648a9
mov esi, dword [ebp + 8]
mov word [esp + 0xb4], 4
mov dword [esp + 0x38], 0x80000001
mov dword [esp + 0x3c], 0xd0001
xor eax, eax
lea edx, [esp + 0x38]
cmp byte [esi + 0x31], 2
mov ecx, esi
sete al
push eax
call fcn.0044f0f0
add esp, 4
mov byte [esi + 0x249], 1
mov al, 0x30
jmp 0x464861
mov dword [esp + 0x14], 0
mov byte [esp + 0x18], 1
jmp 0x463e1a
mov esi, dword [ebp + 8]
mov word [esp + 0xb4], 4
mov dword [esp + 0x38], 0x80000001
mov dword [esp + 0x3c], 0xd0001
xor eax, eax
lea edx, [esp + 0x38]
cmp byte [esi + 0x31], 2
mov ecx, esi
sete al
push eax
call fcn.0044f0f0
add esp, 4
mov al, 0x2e
mov byte [esi + 0x249], 1
jmp 0x464861
mov esi, dword [ebp + 8]
mov word [esp + 0xb4], 4
mov dword [esp + 0x38], 0x80000001
mov dword [esp + 0x3c], 0xd0001
xor eax, eax
lea edx, [esp + 0x38]
cmp byte [esi + 0x31], 2
mov ecx, esi
sete al
push eax
call fcn.0044f0f0
add esp, 4
mov byte [esi + 0x249], 1
mov al, 0xb
mov edi, dword [esp + 8]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 4]
mov byte [ecx], 9
mov byte [ecx + 1], al
mov eax, dword [ebx]
test eax, eax
je 0x46487f
push edi
call eax
add esp, 4
cmp dword [ebx + 4], 0
je 0x46489d
cmp dword [ebx + 8], 9
jb 0x46488e
mov edi, dword [edi - 4]
push edi
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp + 0x40]
mov dl, 1
mov bl, 1
jmp 0x4646b0
mov eax, dword [esp + 0x10]
mov edi, dword [ebp + 0x40]
mov dword [esp], eax
jmp 0x463f65
ud2