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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe0
push esi
push edi
mov edi, dword [ebp + 8]
xor ecx, ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
movzx eax, word [edi]
mov dword [esp + 0x2c], edi
test ax, ax
je 0x46f739
mov ecx, eax
push ecx
push str._0123456789.ful
call sub.VCRUNTIME140.dll_wcschr
add esp, 8
test eax, eax
je 0x46f731
movzx eax, word [edi]
mov dword [esp + 0x2c], eax
test ax, ax
je 0x46f71f
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x46f678
lea esi, [eax - 1]
jmp 0x46f67a
xor esi, esi
xor edx, edx
test eax, eax
setle dl
inc edx
add edx, eax
mov dword [esp + 0x10], edx
cmp edx, dword [esp + 0x14]
jle 0x46f69c
push eax
lea ecx, [esp + 0x10]
call fcn.0040cde0
mov edx, dword [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x38], esi
not ecx
xor eax, eax
shr ecx, 0x1f
cmp esi, edx
cmovl eax, ecx
test eax, eax
jne 0x46f6d1
lea eax, [esp + 0x38]
mov dword [esp + 0x48], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x48]
push eax
call fcn.006090b0
add esp, 4
nop
int3
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x2c]
mov word [eax + esi*2], cx
inc esi
mov ecx, esi
mov dword [esp + 0x3c], esi
not ecx
xor eax, eax
shr ecx, 0x1f
cmp esi, dword [esp + 0x10]
cmovl eax, ecx
test eax, eax
jne 0x46f715
lea eax, [esp + 0x3c]
mov dword [esp + 0x50], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x50]
push eax
call fcn.006090b0
add esp, 4
nop
int3
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov word [eax + esi*2], cx
movzx eax, word [edi + 2]
add edi, 2
mov ecx, eax
test ax, ax
jne 0x46f645
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x1c], 0
mov edi, 1
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
test ecx, ecx
je 0x46f949
lea eax, [ecx - 1]
test eax, eax
jle 0x46f949
lea ecx, [eax - 1]
mov dword [esp + 0x18], ecx
test ecx, ecx
js 0x46f778
cmp ecx, eax
jl 0x46f79b
lea eax, [esp + 0x18]
mov dword [esp + 0x58], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x58]
push eax
call fcn.00609170
add esp, 4
nop
int3
mov eax, dword [esp + 0xc]
movzx eax, word [eax + ecx*2]
push eax
push 0x6250a8
call sub.VCRUNTIME140.dll_wcschr
add esp, 8
test eax, eax
je 0x46f949
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x46f7c6
lea edx, [ecx - 1]
jmp 0x46f7c8
xor edx, edx
add edx, 0xffffffff
mov dword [esp + 0x30], edx
js 0x46f7e0
test ecx, ecx
je 0x46f7da
lea eax, [ecx - 1]
jmp 0x46f7dc
xor eax, eax
cmp edx, eax
jl 0x46f807
lea eax, [esp + 0x30]
mov dword [esp + 0x60], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x60]
push eax
call fcn.00609170
add esp, 4
nop
int3
mov eax, dword [esp + 0xc]
movzx eax, word [eax + edx*2]
mov dword [esp + 0x28], eax
test ax, ax
je 0x46f8d4
mov eax, dword [esp + 0x20]
test eax, eax
jle 0x46f829
lea esi, [eax - 1]
jmp 0x46f82b
xor esi, esi
xor edx, edx
test eax, eax
setle dl
inc edx
add edx, eax
mov dword [esp + 0x20], edx
cmp edx, dword [esp + 0x24]
jle 0x46f84d
push eax
lea ecx, [esp + 0x20]
call fcn.0040cde0
mov edx, dword [esp + 0x20]
mov ecx, esi
mov dword [esp + 0x40], esi
not ecx
xor eax, eax
shr ecx, 0x1f
cmp esi, edx
cmovl eax, ecx
test eax, eax
jne 0x46f882
lea eax, [esp + 0x40]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x68]
push eax
call fcn.006090b0
add esp, 4
nop
int3
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov word [eax + esi*2], cx
inc esi
mov ecx, esi
mov dword [esp + 0x44], esi
not ecx
xor eax, eax
shr ecx, 0x1f
cmp esi, dword [esp + 0x20]
cmovl eax, ecx
test eax, eax
jne 0x46f8c6
lea eax, [esp + 0x44]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x70]
push eax
call fcn.006090b0
add esp, 4
nop
int3
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov word [eax + esi*2], cx
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x46f8dd
lea eax, [ecx - 1]
jmp 0x46f8df
xor eax, eax
mov dword [esp + 0x34], eax
dec eax
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x46f8f1
lea edx, [ecx - 1]
jmp 0x46f8f3
xor edx, edx
mov dword [esp + 0x18], edx
sub edx, eax
cmp edx, 1
mov esi, edx
cmovg esi, edi
test esi, esi
je 0x46f756
mov eax, ecx
sub eax, dword [esp + 0x28]
sub eax, esi
je 0x46f93e
mov ecx, dword [esp + 0xc]
add eax, eax
push eax
mov eax, dword [esp + 0x1c]
cmp edx, 1
cmovg eax, dword [esp + 0x38]
lea eax, [ecx + eax*2]
push eax
mov eax, dword [esp + 0x30]
lea eax, [ecx + eax*2]
push eax
call sub.VCRUNTIME140.dll_memmove
mov ecx, dword [esp + 0x1c]
add esp, 0xc
sub ecx, esi
mov dword [esp + 0x10], ecx
jmp 0x46f756
lea ecx, [esp + 0xc]
call fcn.00410620
mov edi, dword [esp + 0x2c]
test al, al
jne 0x46f961
xor edi, edi
jmp 0x46fbb0
cmp dword [esp + 0x20], 0
mov esi, 0x60f5ec
mov eax, esi
cmovne eax, dword [esp + 0x1c]
push 0x66
push eax
call sub.VCRUNTIME140.dll_wcschr
add esp, 8
test eax, eax
je 0x46f9fc
cmp dword [esp + 0x10], 0
mov dword [esp + 0xb0], 2
cmovne esi, dword [esp + 0xc]
push esi
mov byte [esp + 0xcc], 0
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtof]
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0xb4]
add esp, 4
fstp dword [esp + 0xb4]
push eax
call fcn.004563e0
cmp byte [esp + 0xc8], 0
je 0x46fbb0
mov ecx, dword [esp + 0xc0]
test ecx, ecx
je 0x46fbb0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x46fbb0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [esp + 0xc0]
jmp 0x46fba1
cmp dword [esp + 0x20], 0
mov eax, esi
push 0x75
cmovne eax, dword [esp + 0x20]
push eax
call sub.VCRUNTIME140.dll_wcschr
add esp, 8
test eax, eax
je 0x46fa9b
cmp dword [esp + 0x10], 0
push 0
cmovne esi, dword [esp + 0x10]
push 0
push esi
mov dword [esp + 0x84], 1
mov byte [esp + 0x9c], 0
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wcstoui64]
mov ecx, dword [ebp + 0xc]
add esp, 0xc
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x80], edx
push eax
call fcn.004563e0
cmp byte [esp + 0x90], 0
je 0x46fbb0
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x46fbb0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x46fbb0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [esp + 0x88]
jmp 0x46fba1
cmp dword [esp + 0x10], 0
mov eax, esi
push 0x2e
cmovne eax, dword [esp + 0x10]
push eax
call sub.VCRUNTIME140.dll_wcschr
add esp, 8
test eax, eax
je 0x46fb30
cmp dword [esp + 0x10], 0
push 0
cmovne esi, dword [esp + 0x10]
push esi
mov dword [esp + 0xd4], 3
mov byte [esp + 0xec], 0
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstod]
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0xd4]
add esp, 8
fstp qword [esp + 0xd0]
push eax
call fcn.004563e0
cmp byte [esp + 0xe4], 0
je 0x46fbb0
mov ecx, dword [esp + 0xdc]
test ecx, ecx
je 0x46fbb0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x46fbb0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [esp + 0xdc]
jmp 0x46fba1
cmp dword [esp + 0x10], 0
mov dword [esp + 0x94], 0
cmovne esi, dword [esp + 0xc]
push esi
mov byte [esp + 0xb0], 0
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi64]
mov ecx, dword [ebp + 0xc]
add esp, 4
mov dword [esp + 0x98], eax
lea eax, [esp + 0x94]
mov dword [esp + 0x9c], edx
push eax
call fcn.004563e0
cmp byte [esp + 0xac], 0
je 0x46fbb0
mov ecx, dword [esp + 0xa4]
test ecx, ecx
je 0x46fbb0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x46fbb0
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [esp + 0xa4]
lock xadd dword [ecx + 8], esi
dec esi
jne 0x46fbb0
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x46fbc1
push eax
call fcn.0043f8f0
add esp, 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x46fbd2
push eax
call fcn.0043f8f0
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret