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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x164
mov ebp, dword [esp + 0x17c]
mov edi, dword [esp + 0x178]
mov esi, dword [esp + 0x184]
call 0x4680c4
pop eax
mov dword [esp + 0x14], eax
cmp byte [ebp + 0x138], 0
jne 0x4680db
mov ecx, ebp
mov edx, esi
call fcn.00462f70
mov eax, 0x7fffffff
add eax, dword [esi]
cmp eax, 5
setb cl
cmp eax, 1
setne al
test cl, al
jne 0x468225
cmp dword [esi + 0xc], 0x80000005
jne 0x468225
lea eax, [esi + 0xc]
mov ebx, dword [esi + 0x20]
mov edx, dword [esp + 0x180]
mov ecx, dword [esi + 0x10]
cmp dword [esi + 0x18], 0
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x14]
mov dword [esp], ebx
mov ebx, dword [esi + 0x24]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x2c], eax
je 0x4683a1
mov esi, edi
mov edi, dword [edx]
mov word [esp + 0x14c], 4
mov dword [esp + 0xd0], 0x80000001
mov dword [esp + 0xd4], 0x100001
xor eax, eax
mov dword [esp + 8], ecx
lea edx, [esp + 0xd0]
cmp byte [edi + 0x31], 2
mov ecx, edi
sete al
push eax
call fcn.0044f0f0
add esp, 4
mov byte [edi + 0x249], 1
mov byte [esi], 3
mov byte [esi + 4], 5
cmp dword [esp + 8], 0
je 0x46819f
push dword [esp + 0x24]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
test ebx, ebx
je 0x4681bd
mov edi, dword [esp]
nop word cs:[eax + eax]
mov ecx, edi
call fcn.0044ad30
add edi, 0x18
dec ebx
jne 0x4681b0
cmp dword [esp + 0x2c], 0
je 0x4681d5
push dword [esp]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [esp + 0x184]
mov ecx, dword [esp + 0x28]
mov eax, dword [esi]
lea edi, [eax + 0x7fffffff]
cmp edi, 5
setae dl
cmp edi, 1
sete dh
or dh, dl
je 0x468375
cmp dword [ecx], 0x80000005
je 0x46820b
call fcn.0044e4f0
mov eax, dword [esi]
mov edi, dword [esp + 0x178]
test eax, 0x7fffffff
je 0x46833a
push dword [esi + 4]
jmp 0x4689b4
lea edi, [esp + 0xd0]
mov ecx, 0x1f
mov edx, 2
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0xd0]
movzx eax, byte [0x77618d]
lea ebp, [edi + 0x7fffffff]
cmp ebp, 5
setb bl
cmp ebp, 1
setne bh
xor ecx, ecx
call fcn.00490be0
mov esi, eax
test bl, bh
jne 0x468291
test esi, esi
je 0x468a56
mov word [esi], 8
movzx eax, byte [esp + 0x148]
movzx ebx, byte [esp + 0x149]
shl eax, 8
shl ebx, 0x10
or ebx, eax
mov eax, 1
jmp 0x4682b2
test esi, esi
je 0x468a56
cmp ebp, 5
mov eax, 1
mov word [esi], 2
cmovb eax, ebp
mov ebx, dword [eax*4 + 0x7720d0]
xor eax, eax
or ebx, eax
cmp ebp, 5
mov ecx, 1
lea eax, [esp + 0xd8]
cmovb ecx, ebp
cmp ecx, 3
ja 0x46835f
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x178]
add edx, dword [ecx*4 + 0x468b84]
jmp edx
push dword [eax]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp], ebx
mov dword [ebp + 4], 1
mov dword [ebp + 8], esi
mov edi, ebp
mov dword [ebp + 0xc], 1
mov ebp, dword [esp + 0x17c]
push ebp
call fcn.00469a10
add esp, 4
push ebp
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
add esp, 0x164
pop esi
pop edi
pop ebx
pop ebp
ret
test dword [esp + 0xd4], 0x7fffffff
mov ebp, dword [esp + 0x178]
je 0x46831d
jmp 0x46830d
cmp edi, 3
ja 0x468998
mov eax, dword [esp + 0x14]
add eax, dword [edi*4 + 0x468c38]
mov edi, dword [esp + 0x178]
jmp eax
test ebx, ebx
je 0x4685bb
mov edx, dword [esp]
lea eax, [ebx + ebx*2]
mov dword [esp + 8], ecx
lea eax, [edx + eax*8]
mov dword [esp + 0x10], eax
mov eax, edx
mov ebp, dword [eax + 8]
mov edi, dword [eax + 4]
add eax, 0x18
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 4], eax
lea esi, [edi + 0xe]
shl ebp, 4
jmp 0x46840d
test ebp, ebp
je 0x46850f
cmp dword [edi], 0x80000001
mov dx, 5
je 0x468440
movzx edx, word [edi + 0xc]
movzx eax, dx
mov eax, dword [eax*4 + 0x468b94]
add eax, dword [esp + 0x14]
jmp eax
movzx eax, dx
mov eax, dword [eax*4 + 0x468b94]
add eax, dword [esp + 0x14]
jmp eax
lea ecx, [esp + 0xd0]
call fcn.00462af0
mov eax, dword [esp + 4]
cmp eax, dword [esp + 0x10]
jne 0x4683bc
mov eax, dword [esp]
mov edi, dword [esp + 0x178]
mov ebp, dword [esp + 0x17c]
jmp 0x4689db
mov eax, dword [esp + 0x180]
mov esi, edi
mov word [esp + 0x14c], 4
mov dword [esp + 0xd0], 0x80000001
mov dword [esp + 0xd4], 0x1a0001
lea edx, [esp + 0xd0]
mov edi, dword [eax]
xor eax, eax
cmp byte [edi + 0x31], 2
mov ecx, edi
sete al
push eax
call fcn.0044f0f0
add esp, 4
mov byte [edi + 0x249], 1
mov word [esi], 0x109
cmp dword [esp + 8], 0
jne 0x46818d
jmp 0x46819f
mov eax, dword [esp]
xor edi, edi
mov edx, 1
mov dword [esp + 0x14], eax
test ecx, ecx
mov dword [esp + 4], edx
mov dword [esp + 0xc], edi
je 0x4685e7
push dword [esp + 0x24]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp]
mov edx, dword [esp + 0x14]
cmp edx, eax
mov dword [esp + 8], eax
je 0x468667
mov esi, dword [esp]
mov eax, edx
sub eax, esi
add eax, esi
mov dword [esp + 8], eax
jmp 0x46862c
mov ebp, 1
push edi
push ebx
push ebp
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edx, dword [esp + 0x14]
mov ebx, ebp
mov eax, edi
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], edi
add esi, 0xc
cmp esi, edx
je 0x468660
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov edi, dword [esi + 8]
mov ecx, eax
neg ecx
jno 0x46861d
test edi, edi
js 0x468a56
je 0x468605
movzx eax, byte [0x77618d]
xor ecx, ecx
mov edx, edi
call fcn.00490be0
test eax, eax
je 0x468a56
mov ebp, eax
jmp 0x46860a
mov ebp, dword [esp + 0x17c]
movsd xmm1, qword [ebp + 0x50]
movsd xmm2, qword [ebp + 0x108]
mov eax, dword [ebp + 0x58]
movsd xmm0, qword [ebp + 0x48]
movsd xmm3, qword [ebp + 0xf8]
lea esi, [esp + 0xd0]
movsd qword [esp + 0x48], xmm1
movsd xmm1, qword [ebp + 0x100]
movsd qword [esp + 0x80], xmm2
movsd xmm2, qword [ebp + 0x118]
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x18]
movsd qword [esp + 0x40], xmm0
movsd qword [esp + 0x70], xmm3
movsd qword [esp + 0x78], xmm1
movsd xmm1, qword [ebp + 0x110]
movsd qword [esp + 0x90], xmm2
movsd xmm2, qword [ebp + 0x128]
mov dword [esp + 0x6c], eax
lea eax, [ebp + 0x64]
movsd qword [esp + 0x88], xmm1
movsd xmm1, qword [ebp + 0x120]
movsd qword [esp + 0xa0], xmm2
movsd xmm2, qword [ebp + 0x5c]
movsd qword [esp + 0x98], xmm1
movsd xmm1, qword [ebp + 0x130]
movups xmmword [esp + 0x14], xmm2
movsd xmm2, qword [ebp]
movsd qword [esp + 0xa8], xmm1
movsd xmm1, qword [ebp + 0x10]
movsd qword [esp + 0x54], xmm2
movsd qword [esp + 0x64], xmm1
movsd xmm1, qword [ebp + 8]
movsd qword [esp + 0x5c], xmm1
push 0x94
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movsd xmm1, qword [ebp + 0x30]
movsd xmm0, qword [ebp + 0x28]
movsd xmm2, qword [ebp + 0x40]
mov eax, dword [ebp + 0x24]
xor ecx, ecx
mov edx, 0x150
mov ebx, ebp
movsd qword [esp + 0xb8], xmm1
movsd xmm1, qword [ebp + 0x38]
movsd qword [esp + 0xb0], xmm0
movsd qword [esp + 0xc8], xmm2
mov dword [esp + 0x3c], eax
movsd qword [esp + 0xc0], xmm1
movsd xmm1, qword [ebp + 0x1c]
movsd qword [esp + 0x34], xmm1
movzx eax, byte [0x77618d]
call fcn.00490be0
test eax, eax
je 0x468a56
mov edi, eax
mov ecx, dword [esp]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x2c]
sub eax, ecx
add edx, edx
shr eax, 2
mov dword [edi], edx
mov dword [edi + 4], ecx
mov ecx, dword [esp + 4]
imul eax, eax, 0xaaaaaaab
mov dword [edi + 8], eax
mov eax, dword [esp + 0xc]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x6c]
mov dword [edi + 0x30], eax
movsd xmm0, qword [esp + 0x64]
movsd qword [edi + 0x28], xmm0
movsd xmm0, qword [esp + 0x54]
movsd xmm1, qword [esp + 0x5c]
movsd qword [edi + 0x20], xmm1
movsd qword [edi + 0x18], xmm0
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x3c], eax
movsd xmm0, qword [esp + 0x34]
movsd qword [edi + 0x34], xmm0
movsd xmm0, qword [esp + 0xc8]
movsd qword [edi + 0x58], xmm0
movsd xmm0, qword [esp + 0xc0]
movsd qword [edi + 0x50], xmm0
movsd xmm0, qword [esp + 0xb0]
movsd xmm1, qword [esp + 0xb8]
movsd qword [edi + 0x48], xmm1
movsd qword [edi + 0x40], xmm0
mov eax, dword [esp + 0x50]
mov dword [edi + 0x70], eax
mov eax, edi
movsd xmm1, qword [esp + 0x48]
movsd xmm0, qword [esp + 0x40]
add eax, 0x7c
movsd qword [edi + 0x68], xmm1
movups xmm1, xmmword [esp + 0x14]
movsd qword [edi + 0x60], xmm0
movlps qword [edi + 0x74], xmm1
push 0x94
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movsd xmm0, qword [esp + 0x70]
movsd xmm1, qword [esp + 0x78]
mov eax, dword [esp + 0x178]
mov ecx, dword [esp + 0x184]
movsd qword [edi + 0x110], xmm0
movsd qword [edi + 0x118], xmm1
movsd xmm0, qword [esp + 0x80]
movsd qword [edi + 0x120], xmm0
movsd xmm0, qword [esp + 0x88]
movsd qword [edi + 0x128], xmm0
movsd xmm0, qword [esp + 0x90]
movsd qword [edi + 0x130], xmm0
movsd xmm0, qword [esp + 0x98]
movsd qword [edi + 0x138], xmm0
movsd xmm0, qword [esp + 0xa0]
movsd qword [edi + 0x140], xmm0
movsd xmm0, qword [esp + 0xa8]
movsd qword [edi + 0x148], xmm0
mov dword [eax + 4], edi
mov dword [eax + 8], 0x7354c8
mov edi, eax
mov byte [eax], 0x16
mov eax, dword [ecx]
lea esi, [eax + 0x7fffffff]
cmp esi, 5
setae dl
cmp esi, 1
sete dh
or dh, dl
je 0x4689c7
mov ecx, dword [esp + 0x28]
cmp dword [ecx], 0x80000005
je 0x468968
call fcn.0044e4f0
mov eax, dword [esp + 0x184]
mov eax, dword [eax]
test eax, 0x7fffffff
je 0x4689cc
mov eax, dword [esp + 0x184]
push dword [eax + 4]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4689cc
test dword [esi + 4], 0x7fffffff
mov edi, dword [esp + 0x178]
je 0x46833a
mov eax, 8
push dword [esi + eax]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x46833a
call fcn.00463a10
push ebx
jmp 0x468344
add eax, 0x18
cmp eax, dword [esp + 0x10]
je 0x468a06
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4689d2
mov edx, dword [eax + 4]
shl ecx, 4
jmp 0x4689f2
add edx, 0x10
add ecx, 0xfffffff0
je 0x4689d2
cmp dword [edx], 0x80000001
je 0x4689ea
cmp word [edx + 0xc], 5
je 0x4689ea
jmp 0x468559
mov ecx, dword [esp]
mov edx, 1
xor edi, edi
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
shl ecx, 4
test ecx, ecx
je 0x468a77
cmp dword [eax], 0x80000001
je 0x468a34
add ecx, 0xfffffff0
cmp word [eax + 0xc], 5
lea eax, [eax + 0x10]
jne 0x468a19
jmp 0x468a77
mov ecx, dword [eax + 0xc]
test ecx, ecx
js 0x468a56
mov esi, dword [eax + 8]
mov edi, ecx
je 0x468a58
movzx eax, byte [0x77618d]
xor ecx, ecx
mov edx, edi
call fcn.00490be0
test eax, eax
jne 0x468a5d
ud2
mov eax, 1
mov dword [esp + 4], eax
push edi
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ebp, dword [esp + 0x17c]
mov edx, dword [esp + 4]
test ebx, ebx
je 0x468b78
mov dword [esp + 0xc], edi
mov edi, dword [esp]
mov dword [esp + 4], edx
mov edx, edi
jmp 0x468ab5
mov eax, dword [esp + 0xd8]
add edi, 0x18
mov dword [edx + 8], eax
movsd xmm0, qword [esp + 0xd0]
movsd qword [edx], xmm0
add edx, 0xc
cmp edi, dword [esp + 0x10]
je 0x468b4c
mov ecx, dword [edi + 0x14]
mov eax, dword [edi]
mov esi, dword [edi + 4]
mov ebp, dword [edi + 8]
mov dword [esp + 0xd8], ecx
mov dword [esp + 0x14], esi
test ebp, ebp
mov esi, edx
mov dword [esp + 0x30], eax
movsd xmm0, qword [edi + 0xc]
movsd qword [esp + 0xd0], xmm0
je 0x468b28
mov ebx, dword [esp + 0x14]
jmp 0x468b02
push dword [ebx + ecx]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edx, esi
add ebx, 0x10
dec ebp
je 0x468b28
mov eax, dword [ebx]
mov ecx, eax
neg ecx
jo 0x468afc
jae 0x468afc
mov ecx, 4
cmp eax, 0x80000001
jne 0x468ae9
test dword [ebx + 4], 0x7fffffff
je 0x468afc
mov ecx, 8
jmp 0x468ae9
cmp dword [esp + 0x30], 0
je 0x468a8e
push dword [esp + 0x14]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edx, esi
jmp 0x468a8e
mov dword [esp + 0x14], edx
mov ebp, dword [esp + 0x17c]
mov ecx, dword [esp + 8]
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 4]
test ecx, ecx
mov dword [esp + 4], edx
mov dword [esp + 0xc], edi
jne 0x4685d5
jmp 0x4685e7
mov eax, dword [esp]
mov ecx, dword [esp + 8]
jmp 0x4685c5