Function at 0x41e5f0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426f1e
mov eax, dword fs:[0]
push eax
sub esp, 0x94c
mov eax, dword [0x43a504]
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
lea ecx, [ebp - 0x89c]
mov dword [ebp - 4], 0
call fcn.00419350
xorps xmm0, xmm0
mov byte [ebp - 0x20], 0
lea ecx, [ebp - 0x89d]
movq qword [ebp - 0x1f], xmm0
mov dword [ebp - 0x17], 0
mov word [ebp - 0x13], 0
mov byte [ebp - 0x11], 0
mov byte [ebp - 0x30], 0
movq qword [ebp - 0x2f], xmm0
mov dword [ebp - 0x27], 0
mov word [ebp - 0x23], 0
mov byte [ebp - 0x21], 0
call fcn.0041a520
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push dword [ebp + 8]
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41e6a4
mov esi, 4
jmp 0x41e843
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebx + 8]
mov esi, eax
call fcn.0041bfd0
cmp esi, eax
je 0x41e6c5
mov esi, 5
jmp 0x41e838
push 1
push 0x40
push 0x20
push dword [ebp + 8]
lea ecx, [ebp - 0x958]
call fcn.0041e0a0
push eax
lea ecx, [ebp - 0x89c]
mov byte [ebp - 4], 2
call fcn.0041a300
lea ecx, [ebp - 0x8e8]
mov byte [ebp - 4], 1
call fcn.0041e340
lea ecx, [ebp - 0x8e8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x89c]
call fcn.00419970
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0041be60
mov ecx, dword [ebx + 8]
lea eax, [ebp - 0x30]
add esp, 8
push eax
call fcn.0041bfe0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0041c350
add esp, 8
test al, al
jne 0x41e746
mov esi, 6
jmp 0x41e838
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 1
jle 0x41e75d
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.00402330
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x89d]
call fcn.0041a540
mov ecx, dword [ebp + 8]
mov ebx, eax
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
push dword [ecx - 8]
push ecx
call esi
mov edx, eax
add esp, 8
test edx, edx
js 0x41e829
mov ecx, dword [ebp + 8]
cmp edx, dword [ecx - 8]
jg 0x41e829
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp + 8]
mov word [eax + edx*2], cx
cmp ebx, 1
jne 0x41e833
push 0x800
push ecx
lea eax, [ebp - 0x830]
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp + 8]
add esp, 0xc
cmp dword [eax - 4], ebx
jle 0x41e7d3
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.00402330
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x830]
push ecx
push eax
lea ecx, [ebp - 0x89d]
call fcn.0041a850
mov eax, dword [ebp + 8]
push dword [eax - 8]
push eax
call esi
mov edx, eax
add esp, 8
test edx, edx
js 0x41e829
mov ecx, dword [ebp + 8]
cmp edx, dword [ecx - 8]
jg 0x41e829
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp + 8]
push str.Tencent_Technology_Shenzhen__Company_Limited
mov word [eax + edx*2], cx
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x41e833
xor esi, esi
jmp 0x41e838
push 0x80070057
call fcn.00401f90
mov esi, 7
test edi, edi
je 0x41e843
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x89d]
call fcn.0041a530
mov edi, dword [ebp + 8]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x41e870
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
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.00421a0e
mov esp, ebp
pop ebp
ret 4