Function at 0x40faf0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x502df8
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0x5473d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x88], ebx
lea ecx, [ebp - 0x84]
call fcn.00418e90
mov dword [ebp - 4], 0
mov edi, dword [eax]
mov dword [ebp - 0x5c], 0x740073
mov dword [ebp - 0x58], 0x720061
mov dword [ebp - 0x54], 0x200074
mov dword [ebp - 0x50], 0x650072
mov dword [ebp - 0x4c], 0x6f006d
mov dword [ebp - 0x48], 0x650076
mov dword [ebp - 0x44], 0x610020
mov dword [ebp - 0x40], 0x6c006c
mov dword [ebp - 0x3c], 0x660020
mov dword [ebp - 0x38], 0x6c0069
mov dword [ebp - 0x34], 0x200065
mov dword [ebp - 0x30], 0x6e0069
mov dword [ebp - 0x2c], 0x20
call fcn.00405dc0
push eax
push 0x19
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x60]
call fcn.00404e60
sub esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x12c]
call fcn.0040b430
mov byte [ebp - 4], 2
mov eax, 0x531ef4
mov esi, dword [ebp - 0x60]
test esi, esi
cmovne eax, esi
push eax
lea eax, [ebp - 0x12c]
push eax
call fcn.00409e50
lea eax, [ebx + 0xc]
mov edx, 0x531ef4
mov dword [ebp - 0x8c], eax
mov eax, dword [eax]
test eax, eax
cmovne edx, eax
lea eax, [ebp - 0x12c]
push edx
push eax
call fcn.00409e50
mov eax, dword [edi]
lea ecx, [ebp - 0x12c]
add esp, 0x10
push ecx
mov ecx, edi
call dword [eax + 0xc]
mov eax, dword [ebp - 0x12c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x130], eax
lea ecx, [ebp - 0x128]
call fcn.0040c1d0
mov eax, dword [ebp - 0x12c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x130], eax
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 3
push eax
mov dword [ebp - 0xdc], vtable.std::ios_base.0
call fcn.0041c00c
add esp, 4
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40fca0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 4
mov esi, dword [ebp - 0x80]
test esi, esi
je 0x40fccd
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x40fccd
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x40fccd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
je 0x4104bc
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 5
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x28]
push eax
push ecx
call fcn.00411e80
mov edi, dword [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x80], eax
cmp edi, eax
je 0x41003f
mov ecx, dword [edi]
call fcn.0041afb0
mov ebx, eax
call esi
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x78], eax
call fcn.00418e90
mov byte [ebp - 4], 7
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
xor eax, eax
mov dword [ebp - 0x3c], 0x650020
mov dword [ebp - 0x38], 0x720072
mov dword [ebp - 0x34], 0x6f006e
mov dword [ebp - 0x30], 0x20003a
mov word [ebp - 0x2c], ax
call fcn.00405dc0
push eax
push 8
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x64]
call fcn.00404e60
mov byte [ebp - 4], 8
mov dword [ebp - 0x3c], 0x720020
mov dword [ebp - 0x38], 0x730065
mov dword [ebp - 0x34], 0x6c0075
mov dword [ebp - 0x30], 0x3b0074
mov dword [ebp - 0x2c], 0x20
call fcn.00405dc0
push eax
push 9
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x74]
call fcn.00404e60
mov byte [ebp - 4], 9
mov dword [ebp - 0x44], 0x650072
mov dword [ebp - 0x40], 0x6f006d
mov dword [ebp - 0x3c], 0x650076
mov dword [ebp - 0x38], 0x660020
mov dword [ebp - 0x34], 0x6c0069
mov dword [ebp - 0x30], 0x3a0065
mov dword [ebp - 0x2c], 0x20
call fcn.00405dc0
push eax
push 0xd
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x70]
call fcn.00404e60
sub esp, 8
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x12c]
call fcn.0040b430
mov byte [ebp - 4], 0xb
mov eax, 0x531ef4
mov esi, dword [ebp - 0x70]
test esi, esi
cmovne eax, esi
push eax
lea eax, [ebp - 0x12c]
push eax
call fcn.00409e50
mov eax, dword [edi]
test eax, eax
mov edi, 0x531ef4
mov ecx, edi
cmovne ecx, eax
lea eax, [ebp - 0x12c]
push ecx
push eax
call fcn.00409e50
mov eax, edi
mov edi, dword [ebp - 0x74]
test edi, edi
cmovne eax, edi
push eax
lea eax, [ebp - 0x12c]
push eax
call fcn.00409e50
add esp, 0x18
lea ecx, [ebp - 0x12c]
push ebx
call fcn.00413410
mov eax, dword [ebp - 0x64]
mov ecx, 0x531ef4
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0x12c]
push ecx
push eax
call fcn.00409e50
add esp, 8
lea ecx, [ebp - 0x12c]
push dword [ebp - 0x78]
call fcn.004132b0
mov ecx, dword [ebp - 0x7c]
lea edx, [ebp - 0x12c]
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [ebp - 0x12c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x130], eax
lea ecx, [ebp - 0x128]
call fcn.0040c1d0
mov eax, dword [ebp - 0x12c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x130], eax
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 0xc
push eax
mov dword [ebp - 0xdc], vtable.std::ios_base.0
call fcn.0041c00c
or ebx, 0xffffffff
mov byte [ebp - 4], 9
add esp, 4
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40ff83
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x40ff9e
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov eax, ebx
mov edx, dword [ebp - 0x64]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40ffbc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov esi, dword [ebp - 0x90]
test esi, esi
je 0x40ffe9
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x40ffe9
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x40ffe9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x68]
movd xmm1, dword [ebp - 0x6c]
inc esi
cvtdq2ps xmm1, xmm1
mov ecx, dword [ebp - 0x88]
mov byte [ebp - 4], 6
mov dword [ebp - 0x68], esi
movd xmm0, esi
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
mulss xmm0, dword [0x5326b0]
addss xmm0, dword [0x5326b0]
cvttss2si eax, xmm0
push eax
call fcn.0040e130
mov edi, dword [ebp - 0x60]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
add edi, 4
mov dword [ebp - 0x60], edi
cmp edi, dword [ebp - 0x80]
jne 0x40fd68
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x70], eax
cmp edi, eax
je 0x410329
mov ecx, dword [edi]
call fcn.0041b290
mov ebx, eax
call esi
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x78], eax
call fcn.00418e90
mov byte [ebp - 4], 0xe
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
xor eax, eax
mov dword [ebp - 0x3c], 0x650020
mov dword [ebp - 0x38], 0x720072
mov dword [ebp - 0x34], 0x6f006e
mov dword [ebp - 0x30], 0x20003a
mov word [ebp - 0x2c], ax
call fcn.00405dc0
push eax
push 8
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x60]
call fcn.00404e60
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x3c], 0x720020
mov dword [ebp - 0x38], 0x730065
mov dword [ebp - 0x34], 0x6c0075
mov dword [ebp - 0x30], 0x3b0074
mov dword [ebp - 0x2c], 0x20
call fcn.00405dc0
push eax
push 9
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00404e60
mov byte [ebp - 4], 0x10
xor eax, eax
mov dword [ebp - 0x44], 0x650072
mov dword [ebp - 0x40], 0x6f006d
mov dword [ebp - 0x3c], 0x650076
mov dword [ebp - 0x38], 0x640020
mov dword [ebp - 0x34], 0x720069
mov dword [ebp - 0x30], 0x20003a
mov word [ebp - 0x2c], ax
call fcn.00405dc0
push eax
push 0xc
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x80]
call fcn.00404e60
sub esp, 8
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x12c]
call fcn.0040b430
mov byte [ebp - 4], 0x12
mov eax, 0x531ef4
mov esi, dword [ebp - 0x80]
test esi, esi
cmovne eax, esi
push eax
lea eax, [ebp - 0x12c]
push eax
call fcn.00409e50
mov eax, dword [edi]
test eax, eax
mov edi, 0x531ef4
mov ecx, edi
cmovne ecx, eax
lea eax, [ebp - 0x12c]
push ecx
push eax
call fcn.00409e50
mov eax, edi
mov edi, dword [ebp - 0x7c]
test edi, edi
cmovne eax, edi
push eax
lea eax, [ebp - 0x12c]
push eax
call fcn.00409e50
add esp, 0x18
lea ecx, [ebp - 0x12c]
push ebx
call fcn.00413410
mov eax, dword [ebp - 0x60]
mov ecx, 0x531ef4
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0x12c]
push ecx
push eax
call fcn.00409e50
add esp, 8
lea ecx, [ebp - 0x12c]
push dword [ebp - 0x78]
call fcn.004132b0
mov ecx, dword [ebp - 0x74]
lea edx, [ebp - 0x12c]
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [ebp - 0x12c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x130], eax
lea ecx, [ebp - 0x128]
call fcn.0040c1d0
mov eax, dword [ebp - 0x12c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x130], eax
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 0x13
push eax
mov dword [ebp - 0xdc], vtable.std::ios_base.0
call fcn.0041c00c
or ebx, 0xffffffff
mov byte [ebp - 4], 0x10
add esp, 4
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41026d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xf
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x410288
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xe
mov eax, ebx
mov edx, dword [ebp - 0x60]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4102a6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x14
mov esi, dword [ebp - 0x90]
test esi, esi
je 0x4102d3
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x4102d3
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x4102d3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x68]
movd xmm1, dword [ebp - 0x6c]
inc eax
cvtdq2ps xmm1, xmm1
mov ecx, dword [ebp - 0x88]
mov byte [ebp - 4], 6
mov dword [ebp - 0x68], eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
mulss xmm0, dword [0x5326b0]
addss xmm0, dword [0x5326b0]
cvttss2si eax, xmm0
push eax
call fcn.0040e130
mov edi, dword [ebp - 0x64]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
add edi, 4
mov dword [ebp - 0x64], edi
cmp edi, dword [ebp - 0x70]
jne 0x410053
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00410c80
mov ecx, dword [ebp - 0x8c]
mov ecx, dword [ecx]
call fcn.0041b290
lea ecx, [ebp - 0x94]
call fcn.00418e90
mov byte [ebp - 4], 0x15
mov edi, dword [eax]
mov dword [ebp - 0x50], 0x6e0065
mov dword [ebp - 0x4c], 0x200064
mov dword [ebp - 0x48], 0x650072
mov dword [ebp - 0x44], 0x6f006d
mov dword [ebp - 0x40], 0x650076
mov dword [ebp - 0x3c], 0x610020
mov dword [ebp - 0x38], 0x6c006c
mov dword [ebp - 0x34], 0x660020
mov dword [ebp - 0x30], 0x6c0069
mov dword [ebp - 0x2c], 0x65
call fcn.00405dc0
push eax
push 0x13
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x80]
call fcn.00404e60
sub esp, 8
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x1c4]
call fcn.0040b430
mov byte [ebp - 4], 0x17
mov eax, 0x531ef4
mov esi, dword [ebp - 0x80]
test esi, esi
cmovne eax, esi
push eax
lea eax, [ebp - 0x1c4]
push eax
call fcn.00409e50
mov eax, dword [edi]
lea ecx, [ebp - 0x1c4]
add esp, 8
push ecx
mov ecx, edi
call dword [eax + 0xc]
mov eax, dword [ebp - 0x1c4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x1c4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x1c8], eax
lea ecx, [ebp - 0x1c0]
call fcn.0040c1d0
mov eax, dword [ebp - 0x1c4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x1c4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x1c8], eax
lea eax, [ebp - 0x174]
mov byte [ebp - 4], 0x18
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0041c00c
add esp, 4
mov byte [ebp - 4], 0x15
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x410480
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x19
mov esi, dword [ebp - 0x90]
test esi, esi
je 0x4104ac
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x4104ac
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x4104ac
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x1c]
call fcn.00412580
lea ecx, [ebp - 0x28]
call fcn.00412580
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00499723
mov esp, ebp
pop ebp
ret