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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
mov eax, dword [0x513040]
xor eax, esp
mov dword [esp + 0xd4], eax
xor eax, eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x84], eax
xorps xmm0, xmm0
mov eax, dword [ecx + 8]
mov dword [esp + 0x7c], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x88], eax
mov eax, dword [ecx]
push esi
push edi
movaps xmmword [esp + 0xa0], xmm0
mov eax, dword [eax + 0xc]
movaps xmmword [esp + 0xb0], xmm0
movq qword [esp + 0xc0], xmm0
mov esi, dword [eax + 0xc]
mov eax, dword [ecx + 0x30]
mov dword [esp + 0x30], eax
mov eax, esi
cdq
mov dword [esp + 0x28], esi
mov edi, eax
mov esi, edx
push esi
push edi
call fcn.0042ee10
add esp, 8
mov dword [esp + 0x48], eax
test eax, eax
jne 0x46bbdd
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xac]
mov esi, dword [esp + 0xbc]
mov edi, dword [esp + 0xb0]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x60], 7
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
jmp 0x46bc0e
push esi
mov esi, dword [esp + 0x88]
push edi
push dword [esp + 0x7c]
push esi
call fcn.004f6fd0
mov edi, eax
cdq
sub esi, eax
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x74]
sbb esi, edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x50], edi
nop word [eax + eax]
mov edx, dword [esp + 0x90]
mov eax, dword [edx + 8]
mov eax, dword [eax + 4]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edx + 0xc]
lea eax, [eax + ecx*8]
mov dword [esp + 0x70], eax
mov eax, edi
cdq
add eax, dword [esp + 0x10]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x70]
adc edx, esi
mov dword [esp + 0x98], edx
cmp dword [eax + 0x18], 0
je 0x46bf01
mov eax, dword [eax + 0x14]
mov ecx, 1
mov dword [esp + 0x88], eax
cdq
mov esi, edx
mov dword [esp + 0x20], eax
shrd eax, esi, 7
mov dword [esp + 0x94], edx
shr esi, 7
mov edx, eax
mov dword [esp + 0x80], eax
or eax, esi
je 0x46bcaf
mov edi, ecx
shrd edx, esi, 7
inc edi
shr esi, 7
mov ecx, edx
or ecx, esi
jne 0x46bc95
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x94]
mov eax, ecx
cdq
add eax, dword [esp + 0x20]
mov ecx, edx
adc ecx, esi
add eax, dword [esp + 0x7c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x78]
adc ecx, dword [esp + 0x98]
mov eax, dword [eax + 0x10]
cdq
add eax, dword [esp + 0x84]
adc edx, dword [esp + 0x74]
cmp ecx, edx
jg 0x46bf01
jl 0x46bcf7
cmp dword [esp + 0x7c], eax
ja 0x46bf01
mov eax, dword [esp + 0x20]
test esi, esi
ja 0x46bd58
jb 0x46bd06
cmp eax, 0x7f
ja 0x46bd20
and al, 0x7f
mov byte [esp + 0xd0], al
mov eax, 1
mov ecx, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x20], ecx
jmp 0x46bd80
test esi, esi
ja 0x46bd58
jb 0x46bd2d
cmp eax, 0x3fff
ja 0x46bd58
mov ecx, dword [esp + 0x80]
or cl, 0x80
and al, 0x7f
mov byte [esp + 0xd1], al
mov eax, 2
mov byte [esp + 0xd0], cl
mov ecx, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x20], ecx
jmp 0x46bd80
push esi
push eax
lea ecx, [esp + 0xd8]
call fcn.004350d0
add esp, 8
mov dword [esp + 0x4c], eax
mov ecx, eax
mov dword [esp + 0x20], ecx
test eax, eax
jle 0x46be18
nop dword [eax + eax]
cmp dword [esp + 0x60], 0
jne 0x46be14
mov esi, dword [esp + 0x28]
sub esi, edi
cmp ecx, esi
cmovle esi, ecx
sub eax, ecx
lea ecx, [esp + 0xd0]
add eax, ecx
push esi
push eax
mov eax, dword [esp + 0x50]
add eax, edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add edi, esi
add esp, 0xc
cmp edi, dword [esp + 0x28]
jne 0x46bdfe
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
cdq
add eax, dword [esp + 0x10]
adc edx, dword [esp + 0x1c]
mov ecx, dword [ecx]
push edx
push eax
mov eax, dword [esp + 0x2c]
sub edi, eax
add eax, dword [esp + 0x50]
push edi
push eax
push dword [esp + 0x40]
mov eax, dword [ecx + 0xc]
call eax
mov dword [esp + 0x74], eax
xor edi, edi
mov eax, dword [esp + 0x3c]
add esp, 0x14
cdq
add dword [esp + 0x10], eax
mov dword [esp + 0x24], edi
adc dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x4c]
sub ecx, esi
mov dword [esp + 0x20], ecx
test ecx, ecx
jg 0x46bd80
mov dword [esp + 0x50], edi
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x88]
mov ecx, edx
mov dword [esp + 0x70], edx
mov eax, dword [eax + 0x20]
mov dword [esp + 0x80], eax
test edx, edx
jle 0x46bedb
nop dword [eax + eax]
cmp dword [esp + 0x60], 0
jne 0x46bed7
mov esi, dword [esp + 0x28]
sub esi, edi
cmp ecx, esi
cmovle esi, ecx
sub eax, ecx
add eax, edx
push esi
push eax
mov eax, dword [esp + 0x50]
add eax, edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add edi, esi
add esp, 0xc
cmp edi, dword [esp + 0x28]
jne 0x46beb7
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov eax, dword [esp + 0x24]
cdq
add eax, dword [esp + 0x10]
adc edx, dword [esp + 0x1c]
push edx
push eax
mov eax, dword [esp + 0x2c]
sub edi, eax
add eax, dword [esp + 0x50]
push edi
push eax
push dword [esp + 0x40]
mov eax, dword [ecx + 0xc]
call eax
mov dword [esp + 0x74], eax
xor edi, edi
mov eax, dword [esp + 0x3c]
add esp, 0x14
cdq
add dword [esp + 0x10], eax
mov dword [esp + 0x24], edi
adc dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x80]
sub ecx, esi
mov edx, dword [esp + 0x88]
mov dword [esp + 0x70], ecx
test ecx, ecx
jg 0x46be40
mov dword [esp + 0x50], edi
mov eax, dword [esp + 0x78]
lea edx, [esp + 0x9c]
mov ecx, dword [eax + 4]
call fcn.0046b590
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x8c], eax
test eax, eax
je 0x46bc20
mov esi, dword [esp + 0x60]
test esi, esi
jne 0x46bf42
cmp dword [esp + 0x48], esi
je 0x46bf42
mov ecx, dword [esp + 0x24]
cmp edi, ecx
jle 0x46bf42
mov eax, dword [esp + 0x30]
mov esi, dword [eax]
mov eax, ecx
cdq
add eax, dword [esp + 0x10]
adc edx, dword [esp + 0x1c]
push edx
push eax
mov eax, edi
sub eax, ecx
add ecx, dword [esp + 0x50]
push eax
push ecx
push dword [esp + 0x40]
mov ecx, dword [esi + 0xc]
call ecx
add esp, 0x14
mov esi, eax
mov ecx, dword [esp + 0x78]
mov eax, edi
mov edi, dword [esp + 0x48]
cdq
add eax, dword [esp + 0x10]
mov dword [ecx + 0x38], eax
adc edx, dword [esp + 0x1c]
mov dword [ecx + 0x3c], edx
test edi, edi
je 0x46bfb7
cmp dword [0x513190], 0
je 0x46bfad
mov eax, dword [0x515ee0]
test eax, eax
je 0x46bf7b
push eax
call dword [0x5131e0]
add esp, 4
push edi
call dword [0x5131bc]
sub dword [0x515d68], eax
add esp, 4
dec dword [0x515d8c]
push edi
call dword [0x5131b4]
mov eax, dword [0x515ee0]
add esp, 4
test eax, eax
je 0x46bfb7
push eax
call dword [0x5131e8]
jmp 0x46bfb4
push edi
call dword [0x5131b4]
add esp, 4
mov eax, dword [esp + 0x8c]
test eax, eax
mov ecx, dword [esp + 0xdc]
cmove eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.004f5edb
mov esp, ebp
pop ebp
ret