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

Disassembly:
sub esp, 0x564
mov eax, dword [0x494014]
xor eax, esp
mov dword [esp + 0x560], eax
push ebx
push ebp
mov ebp, dword [esp + 0x570]
lea eax, [esp + 0x2e9]
push esi
push 0x40
push 0
mov ebx, dword [ebp + 0x18]
push eax
mov dword [esp + 0x34], ebp
mov byte [esp + 0x2f8], 0
call sub.VCRUNTIME140.dll_memset
push 0x40
lea eax, [esp + 0x44d]
mov byte [esp + 0x44c], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x40
lea eax, [esp + 0x3f5]
mov byte [esp + 0x3f4], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x40
lea eax, [esp + 0x379]
mov byte [esp + 0x378], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov esi, dword [ebx + 0x30]
lea eax, [esp + 0x4b1]
push 0x96
push 0
push eax
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x68], 0
mov byte [esp + 0x4bc], 0
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp + 0xcd8]
xorps xmm0, xmm0
test eax, eax
mov dword [esp + 0x6c], 0
push 0xd
mov ecx, 0x47dfa2
mov dword [esp + 0x74], 0
cmovne ecx, eax
mov dword [esp + 0x58], 0
push 0x481668
push ebp
mov dword [esp + 0x80], 0
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x64], 0
movups xmmword [esp + 0x314], xmm0
movups xmmword [esp + 0x324], xmm0
movups xmmword [esp + 0x378], xmm0
movups xmmword [esp + 0x388], xmm0
call fcn.00440cf0
add esp, 0x48
test eax, eax
je 0x46e66f
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x560]
xor ecx, esp
call fcn.0041caaf
add esp, 0x564
ret
lea eax, [esp + 0x78]
push 0x19000
push eax
call fcn.00427e50
lea eax, [esp + 0x50]
push 0x19000
push eax
call fcn.00427e50
lea eax, [esp + 0x68]
push 0x19000
push eax
call fcn.00427e50
lea eax, [esp + 0x80]
push 0x19000
push eax
call fcn.00427e50
mov eax, dword [ebp + 0x5d4]
mov ecx, 0x488d60
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x370]
push eax
lea eax, [esp + 0x3fc]
push eax
lea eax, [esp + 0x464]
push eax
lea eax, [esp + 0x318]
push eax
push 0x488d68
push ecx
call fcn.0043a310
add esp, 0x38
cmp byte [esp + 0x2ec], 0
jne 0x46e70f
push 0x488d88
push ebp
call fcn.00435890
mov ebx, dword [esp + 0x18]
add esp, 8
mov esi, 0x2b
jmp 0x46e771
cmp byte [esp + 0x43c], 0
jne 0x46e735
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [esp + ecx + 0x2ec]
lea ecx, [ecx + 1]
mov byte [esp + ecx + 0x43b], al
test al, al
jne 0x46e720
cmp byte [esp + 0x350], 0
push edi
jne 0x46e89a
push 0x2e
push esi
call sub.VCRUNTIME140.dll_strchr
mov edi, eax
add esp, 8
test edi, edi
jne 0x46e7f2
push 0x488db4
push ebp
call fcn.00435890
mov esi, 3
add esp, 8
mov ebx, dword [esp + 0x14]
pop edi
lea eax, [esp + 0x48]
push eax
call fcn.00427e20
lea eax, [esp + 0x6c]
push eax
call fcn.00427e20
lea eax, [esp + 0x80]
push eax
call fcn.00427e20
lea eax, [esp + 0x64]
push eax
call fcn.00427e20
push dword [esp + 0x40]
call dword [0x494024]
push dword [esp + 0x48]
call dword [0x494024]
push dword [esp + 0x30]
call dword [0x494024]
push dword [esp + 0x54]
call dword [0x494024]
push dword [esp + 0x3c]
call dword [0x494024]
push ebx
call dword [0x494024]
mov ecx, dword [esp + 0x594]
add esp, 0x28
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0041caaf
add esp, 0x564
ret
mov eax, dword [esp + 0x18]
mov esi, edi
sub esi, eax
cmp esi, 0x40
jbe 0x46e809
push 0x488dec
jmp 0x46e75e
push esi
push eax
lea eax, [esp + 0x35c]
push eax
call sub.VCRUNTIME140.dll_memcpy
lea eax, [esp + 0x360]
mov byte [esp + esi + 0x360], 0
push eax
push 0x488e14
push ebp
call fcn.00435960
add esp, 0x18
cmp byte [esp + 0x3dc], 0
jne 0x46e89a
inc edi
push 0x2e
push edi
call sub.VCRUNTIME140.dll_strchr
mov esi, eax
add esp, 8
test esi, esi
jne 0x46e85c
push 0x488e3c
jmp 0x46e75e
sub esi, edi
cmp esi, 0x40
jbe 0x46e86d
push 0x488e74
jmp 0x46e75e
push esi
lea eax, [esp + 0x3e0]
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
lea eax, [esp + 0x3e8]
mov byte [esp + esi + 0x3e8], 0
push eax
push 0x488e9c
push ebp
call fcn.00435960
add esp, 0x18
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x34]
push eax
push ebx
push ebp
call fcn.004455d0
lea eax, [esp + 0x300]
push 0x488ec4
push eax
call fcn.0043c9a0
add esp, 0x18
test eax, eax
je 0x46e8e2
lea eax, [esp + 0x354]
push 0x488ec8
push eax
call fcn.0043c9a0
add esp, 8
mov byte [esp + 0x13], 1
test eax, eax
jne 0x46e8e7
mov byte [esp + 0x13], 0
lea eax, [esp + 0x440]
push eax
push 0x488cf4
lea eax, [esp + 0x524]
push 0x52
push eax
call fcn.0043f6f0
push eax
lea eax, [esp + 0x530]
push eax
push ebp
call fcn.00440cf0
add esp, 0x1c
test eax, eax
je 0x46e97e
push 0x3a
push eax
call sub.VCRUNTIME140.dll_strchr
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x46e97e
mov cl, byte [ebx + 1]
inc ebx
mov dword [esp + 0x28], ebx
test cl, cl
je 0x46e94c
cmp cl, 0x20
je 0x46e940
cmp cl, 9
jne 0x46e948
mov cl, byte [ebx + 1]
inc ebx
test cl, cl
jne 0x46e936
mov dword [esp + 0x28], ebx
mov edi, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x46e951
sub edi, ecx
mov dword [esp + 0x24], edi
je 0x46ea6f
mov al, byte [edi + ebx - 1]
cmp al, 0x20
je 0x46e974
cmp al, 9
jne 0x46ea6b
sub edi, 1
jne 0x46e964
jmp 0x46ea6b
cmp byte [esp + 0x13], 0
je 0x46ea2f
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x46e9a8
cmp ecx, 5
je 0x46e9a8
mov eax, dword [ebp + 0x1f8]
or eax, dword [ebp + 0x1fc]
je 0x46e9a8
xor dl, dl
jmp 0x46e9aa
mov dl, 1
cmp ecx, 1
jne 0x46e9bc
cmp dword [ebp + 0x168], 0
je 0x46e9bc
mov eax, ecx
jmp 0x46e9be
xor eax, eax
test dl, dl
jne 0x46e9de
test eax, eax
jne 0x46e9de
movups xmm0, xmmword [0x488d08]
mov byte [esp + 0x3a8], al
movups xmmword [esp + 0x398], xmm0
jmp 0x46ea01
lea eax, [esp + 0x398]
push eax
lea eax, [esp + 0x424]
push eax
push ebp
call fcn.0046f060
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x46e76c
lea eax, [esp + 0x398]
push eax
lea eax, [esp + 0x444]
push eax
push 0x488d1c
lea eax, [esp + 0x490]
push 0x95
push eax
call fcn.0043f6f0
add esp, 0x14
xor esi, esi
jmp 0x46ea4a
lea eax, [esp + 0x398]
push eax
lea eax, [esp + 0x424]
push eax
push ebp
call fcn.0046f060
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x46e76c
lea eax, [esp + 0x398]
mov edi, eax
mov dword [esp + 0x28], eax
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x46ea62
sub edi, ecx
mov dword [esp + 0x24], edi
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
lea ecx, [esp + 0x90]
push ecx
push edx
push eax
call fcn.0044ab10
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x46e76c
lea eax, [esp + 0x8c]
push eax
push 0x488ecc
lea eax, [esp + 0x2c4]
push 0x11
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_strftime]
add esp, 0x10
test eax, eax
jne 0x46eabf
lea esi, [eax + 0x1b]
jmp 0x46e76c
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x48c]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x450]
push eax
lea eax, [esp + 0x2d0]
push eax
push dword [esp + 0x30]
push ebp
call fcn.0046f300
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x46e76c
cmp byte [esp + 0x484], al
je 0x46eb36
lea ecx, [esp + 0x484]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46eb13
mov ax, word [0x47e5c8]
sub ecx, edx
mov word [esp + ecx + 0x484], ax
mov al, byte [0x47e5ca]
mov byte [esp + ecx + 0x486], al
mov ebx, dword [ebp + 0xc38]
xor esi, esi
movq xmm0, qword [esp + 0x2bc]
xor ebp, ebp
movq qword [esp + 0x2b0], xmm0
mov byte [esp + 0x2b8], 0
test ebx, ebx
je 0x46ec73
lea ecx, [esp + 0xb4]
mov dword [esp + 0x18], ecx
nop dword [eax]
push 0x26
mov dword [esp + 0x48], ebp
inc ebp
push ebx
mov dword [ecx - 4], ebx
call sub.VCRUNTIME140.dll_strchr
mov edx, eax
add esp, 8
test edx, edx
je 0x46eba2
mov ecx, dword [esp + 0x18]
sub eax, ebx
lea ebx, [edx + 1]
mov dword [ecx], eax
add ecx, 8
mov dword [esp + 0x18], ecx
cmp ebp, 0x40
jl 0x46eb70
jmp 0x46ebb4
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x46eba5
mov eax, dword [esp + 0x18]
sub ebx, ecx
mov dword [eax], ebx
cmp ebp, 0x40
jne 0x46ebc7
mov ebp, dword [esp + 0x2c]
push 0x488d34
jmp 0x46e75e
push 0x46f2c0
push 8
lea eax, [esp + 0xb8]
push ebp
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
mov edi, dword [esp + 0x54]
lea eax, [esp + 0xc0]
add esp, 0x10
mov dword [esp + 0x18], eax
xor ebx, ebx
cmp ebx, ebp
jge 0x46ec67
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov byte [esp + 0x13], 0
test ecx, ecx
je 0x46ec5b
lea eax, [esp + 0x13]
push eax
lea eax, [esp + 0x50]
push eax
push ecx
push edx
call fcn.0046f0d0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x46ec57
cmp byte [esp + 0x13], al
jne 0x46ec3d
push 1
lea eax, [esp + 0x50]
push 0x488d5c
push eax
call fcn.00427e10
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x46ec57
cmp ebx, edi
jge 0x46ec57
push 1
lea eax, [esp + 0x50]
push 0x48760c
push eax
call fcn.00427e10
add esp, 0xc
mov esi, eax
mov eax, dword [esp + 0x18]
add eax, 8
inc ebx
mov dword [esp + 0x18], eax
test esi, esi
je 0x46ebf1
mov edi, dword [esp + 0x24]
test esi, esi
jne 0x46e76c
mov ebp, dword [esp + 0x2c]
mov edx, dword [ebp + 0xc34]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46ec82
push 0
lea eax, [esp + 0x70]
sub ecx, esi
push eax
push ecx
push edx
call fcn.0046f0d0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x46e76c
lea esi, [eax + 0x1b]
lea eax, [esp + 0x4c]
push eax
call fcn.00427e80
add esp, 4
test eax, eax
je 0x46eccb
lea eax, [esp + 0x4c]
push eax
call fcn.00427e80
add esp, 4
mov ebx, eax
jmp 0x46ecd0
mov ebx, 0x47dfa2
push dword [esp + 0x28]
lea eax, [esp + 0x60]
push edi
push eax
call fcn.00427e80
add esp, 4
push eax
lea eax, [esp + 0x88]
push eax
call fcn.00427e80
add esp, 4
push eax
lea eax, [esp + 0x7c]
push ebx
push eax
call fcn.00427e80
add esp, 4
push eax
push dword [esp + 0x48]
push 0x488edc
call fcn.0043f650
mov edi, eax
add esp, 0x20
mov dword [esp + 0x34], edi
test edi, edi
je 0x46e76c
lea ecx, [esp + 0x2f0]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46ed30
sub ecx, edx
lea eax, [esp + 0x2f0]
push ecx
push eax
push eax
call fcn.0043c8c0
lea eax, [esp + 0x2fc]
push eax
push 0x488ef0
call fcn.0043f650
mov ebx, eax
add esp, 0x14
mov dword [esp + 0x38], ebx
test ebx, ebx
je 0x46e76c
push ebx
lea eax, [esp + 0x358]
push eax
lea eax, [esp + 0x3e4]
push eax
lea eax, [esp + 0x2bc]
push eax
push 0x488efc
call fcn.0043f650
add esp, 0x14
mov dword [esp + 0x1c], eax
test eax, eax
je 0x46e76c
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46eda2
sub ecx, edx
lea eax, [esp + 0x420]
push ecx
push edi
push eax
call fcn.00477340
add esp, 0xc
test eax, eax
jne 0x46e76c
push 0x41
lea eax, [esp + 0x39c]
push eax
lea eax, [esp + 0x428]
push 0x20
push eax
call fcn.0043f2c0
lea ecx, [esp + 0x300]
add esp, 0x10
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46edf0
sub ecx, edx
lea eax, [esp + 0x2f0]
push ecx
push eax
push eax
call fcn.0043c900
lea eax, [esp + 0x3a4]
push eax
push dword [esp + 0x2c]
lea eax, [esp + 0x2d0]
push eax
lea eax, [esp + 0x308]
push eax
push 0x488f08
call fcn.0043f650
mov edi, eax
add esp, 0x20
mov dword [esp + 0x3c], edi
test edi, edi
je 0x46e76c
mov ecx, dword [ebp + 0xcdc]
lea eax, [esp + 0x2f0]
test ecx, ecx
mov edx, 0x47dfa2
cmovne edx, ecx
push edx
push eax
push 0x488f24
call fcn.0043f650
add esp, 0xc
mov dword [esp + 0x20], eax
test eax, eax
je 0x46e76c
lea ecx, [esp + 0x2b0]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46ee80
sub ecx, edx
mov edx, dword [esp + 0x20]
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x46ee90
lea eax, [esp + 0x2d0]
sub edx, esi
push eax
push ecx
lea eax, [esp + 0x2b8]
push eax
push edx
push dword [esp + 0x30]
push 0x48a840
call fcn.004770f0
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x46e76c
lea ecx, [esp + 0x3dc]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46eed0
lea eax, [esp + 0x334]
sub ecx, edx
push eax
push ecx
lea eax, [esp + 0x3e4]
push eax
push 0x20
lea eax, [esp + 0x2e0]
push eax
push 0x48a840
call fcn.004770f0
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x46e76c
lea ecx, [esp + 0x354]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46ef15
lea eax, [esp + 0x2d0]
sub ecx, edx
push eax
push ecx
lea eax, [esp + 0x35c]
push eax
push 0x20
lea eax, [esp + 0x344]
push eax
push 0x48a840
call fcn.004770f0
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x46e76c
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46ef55
lea eax, [esp + 0x334]
sub ecx, edx
push eax
push ecx
push ebx
push 0x20
lea eax, [esp + 0x2e0]
push eax
push 0x48a840
call fcn.004770f0
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x46e76c
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46ef90
lea eax, [esp + 0x2d0]
sub ecx, edx
push eax
push ecx
push edi
push 0x20
lea eax, [esp + 0x344]
push eax
push 0x48a840
call fcn.004770f0
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x46e76c
push 0x41
lea eax, [esp + 0x39c]
push eax
lea eax, [esp + 0x2d8]
push 0x20
push eax
call fcn.0043f2c0
mov ebx, dword [esp + 0x24]
lea eax, [esp + 0x494]
add esp, 0x10
test ebx, ebx
push eax
mov eax, 0x47dfa2
cmovne eax, ebx
push eax
lea eax, [esp + 0x3a0]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.00427e80
add esp, 4
push eax
push dword [esp + 0x2c]
lea eax, [esp + 0x304]
push dword [esp + 0x5c]
push eax
push 0x488f30
call fcn.0043f650
mov edi, eax
add esp, 0x20
test edi, edi
je 0x46e770
push dword [ebp + 0xcbc]
call dword [0x494024]
add esp, 4
mov dword [ebp + 0xcbc], edi
mov byte [ebp + 0x8f8], 1
jmp 0x46e770