Function at 0x44e080
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a0ce9
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x4c448c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x124], edi
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x13c], edx
test ebx, ebx
je 0x44e835
mov eax, ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44e0e0
sub eax, edx
sar eax, 1
cmp eax, 5
jb 0x44e835
mov eax, dword [edi + 0x2ff8]
add edi, 0x2ff8
mov ecx, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x44e12c
test dx, dx
je 0x44e128
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x44e12c
add eax, 4
add ecx, 4
test dx, dx
jne 0x44e106
xor eax, eax
jmp 0x44e131
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x44e150
mov si, word [ebx]
call fcn.0042e8e0
mov ecx, dword [ebp - 0x124]
mov edx, ebx
mov byte [ecx + 0x3062], al
call fcn.00402c40
mov edx, dword [0x4c41fc]
mov eax, dword [edx + 0xc]
mov ecx, 0x4c41fc
call eax
add eax, 0x10
mov dword [ebp - 0x12c], eax
mov dword [ebp - 4], 0
mov edx, dword [0x4c41fc]
mov eax, dword [edx + 0xc]
mov ecx, 0x4c41fc
call eax
add eax, 0x10
mov dword [ebp - 0x130], eax
mov byte [ebp - 4], 1
mov edx, dword [0x4c41fc]
mov eax, dword [edx + 0xc]
mov ecx, 0x4c41fc
call eax
add eax, 0x10
mov dword [ebp - 0x138], eax
push 0
push 0x80
push 4
push 0
push 1
push SysReAllocString
mov byte [ebp - 4], 2
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x44e238
mov dword [ebp - 0x124], 0
jmp 0x44e1e0
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0x80
push 4
push 0
push 1
push SysReAllocString
push ebx
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x44e238
mov eax, dword [ebp - 0x124]
inc eax
mov dword [ebp - 0x124], eax
cmp eax, 0xa
jb 0x44e1e0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x138]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x44e7da
lea ecx, [ebp - 0x164]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x44e272
lea edx, [ebp - 0x124]
push edx
push esi
mov dword [ebp - 0x124], 0
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x44e219
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44e219
lea eax, [edi + 2]
push eax
call fcn.0047125f
mov ebx, eax
lea eax, [edi + 2]
push eax
push 0
push ebx
call fcn.00479dd0
add esp, 0x10
push 0
lea ecx, [ebp - 0x150]
push ecx
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44e794
cmp dword [ebp - 0x150], edi
jne 0x44e794
lea edx, [ebp - 0x124]
push edx
push esi
mov dword [ebp - 0x124], 0
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x44e2d5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x11d], 0
cmp edi, 2
jbe 0x44e32e
movzx eax, word [ebx]
mov ecx, 0xfeff
cmp ax, cx
jne 0x44e2f7
mov byte [ebp - 0x11d], 1
jmp 0x44e32e
mov edx, 0xfffe
cmp ax, dx
jne 0x44e327
lea eax, [ebp - 0x138]
call fcn.00401ea0
lea eax, [ebp - 0x130]
call fcn.00401ea0
lea eax, [ebp - 0x12c]
call fcn.00401ea0
jmp 0x44e835
mov byte [ebp - 0x11d], 0
mov eax, dword [0x4c41fc]
mov edx, dword [eax + 0xc]
mov ecx, 0x4c41fc
call edx
add eax, 0x10
mov dword [ebp - 0x134], eax
cmp byte [ebp - 0x11d], 0
mov byte [ebp - 4], 3
jne 0x44e3a2
push 3
push ebx
lea ecx, [ebp - 0x11c]
lea eax, [ebp - 0x118]
push ecx
mov dword [ebp - 0x11c], eax
call fcn.00429d50
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x11c]
lea edi, [ebp - 0x134]
call fcn.00402c40
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x11c]
lea edx, [ebp - 0x118]
cmp eax, edx
je 0x44e3b0
push eax
call fcn.00473a61
add esp, 4
jmp 0x44e3b0
lea edx, [ebx + 2]
lea edi, [ebp - 0x134]
call fcn.00402c40
push ebx
call fcn.00472958
mov eax, dword [0x4c41fc]
mov edx, dword [eax + 0xc]
add esp, 4
mov ecx, 0x4c41fc
call edx
lea ecx, [eax + 0x10]
mov dword [ebp - 0x14c], ecx
mov byte [ebp - 4], 5
mov esi, dword [ecx - 0x10]
xor edi, edi
lea eax, [ecx - 0x10]
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x148], edi
cmp dword [eax + 4], edi
je 0x44e437
cmp dword [eax + 0xc], edi
lea edx, [eax + 0xc]
jge 0x44e40f
cmp dword [ecx - 8], edi
jge 0x44e405
push 0x80070057
call fcn.004018d0
xor eax, eax
mov dword [ecx - 0xc], edi
mov word [ecx], ax
jmp 0x44e437
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44e425
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
add eax, 0x10
mov dword [ebp - 0x14c], eax
mov byte [ebp - 4], 6
mov ebx, dword [ebp - 0x134]
cmp dword [ebx - 4], 1
jle 0x44e45d
mov ecx, dword [ebx - 0xc]
push ecx
lea edx, [ebp - 0x134]
push edx
call fcn.00401ff0
mov ebx, dword [ebp - 0x134]
mov edx, ebx
lea esi, [ebp - 0x14c]
call fcn.00429690
mov eax, dword [0x4c41fc]
mov edx, dword [eax + 0xc]
mov ecx, 0x4c41fc
call edx
add eax, 0x10
mov dword [ebp - 0x128], eax
mov byte [ebp - 4], 7
mov eax, dword [0x4c41fc]
mov edx, dword [eax + 0xc]
mov ecx, 0x4c41fc
call edx
add eax, 0x10
mov dword [ebp - 0x124], eax
mov eax, esi
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x148], edi
call fcn.00429770
test al, al
je 0x44e696
mov edi, edi
lea ebx, [ebp - 0x128]
call fcn.00416a90
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax - 0xc]
test ecx, ecx
js 0x44e3fb
cmp word [eax], 0x5b
jne 0x44e560
mov ecx, ebx
push ecx
mov eax, 1
xor ecx, ecx
call fcn.004153f0
mov eax, dword [ebp - 0x128]
cmp dword [eax - 0xc], 0
jle 0x44e676
push 0x5d
push eax
call fcn.004756bc
add esp, 8
test eax, eax
je 0x44e676
sub eax, dword [ebp - 0x128]
sar eax, 1
mov ecx, eax
cmp ecx, 0xffffffff
je 0x44e676
mov edx, ebx
push edx
mov eax, 1
call fcn.004153f0
mov eax, ebx
lea edi, [ebp - 0x124]
call fcn.00406b40
mov eax, dword [ebp - 0x124]
push eax
push str.CSettings::Load___Found_group_name__s
lea edi, [ebp - 0x12c]
call fcn.004020e0
add esp, 8
jmp 0x44e676
test ecx, ecx
jg 0x44e569
or esi, 0xffffffff
jmp 0x44e587
push 0x3d
push eax
call fcn.004756bc
add esp, 8
test eax, eax
jne 0x44e57d
or esi, 0xffffffff
jmp 0x44e587
sub eax, dword [ebp - 0x128]
sar eax, 1
mov esi, eax
lea ecx, [ebp - 0x128]
push ecx
mov eax, esi
xor ecx, ecx
lea edx, [ebp - 0x154]
call fcn.00415880
lea edi, [ebp - 0x12c]
mov byte [ebp - 4], 9
call fcn.00406b40
mov bl, 8
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x154]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44e5d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esi + 1]
lea esi, [ebp - 0x160]
lea edx, [ebp - 0x128]
call fcn.00415860
lea edi, [ebp - 0x130]
mov byte [ebp - 4], 0xa
call fcn.00406b40
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x160]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44e61b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 0x12c]
mov eax, dword [ebp - 0x124]
push ecx
push edx
push eax
push str.CSettings::Load_got___s__key__s__value_is:__s
lea edi, [ebp - 0x138]
call fcn.004020e0
mov edi, dword [ebp - 0x15c]
add esp, 0x10
lea ecx, [ebp - 0x124]
call fcn.00406c00
mov edi, dword [ebp - 0x158]
lea ecx, [ebp - 0x12c]
call fcn.00406c00
mov edi, dword [ebp - 0x13c]
lea ecx, [ebp - 0x130]
call fcn.00406c00
lea ecx, [ebp - 0x14c]
push ecx
lea ecx, [ebp - 0x128]
call fcn.00429770
test al, al
jne 0x44e4c0
mov ebx, dword [ebp - 0x134]
lea esi, [ebp - 0x14c]
call fcn.00429620
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x124]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44e6c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x128]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44e6ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x14c]
call fcn.004295f0
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44e718
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x138]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44e73e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x130]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44e764
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x12c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44e78d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
jmp 0x44e837
push ebx
call fcn.00472958
add esp, 4
lea ecx, [ebp - 0x13c]
push ecx
push esi
mov dword [ebp - 0x13c], 0
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x44e7c0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x138]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44e7e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x130]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44e80c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x12c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44e835
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00474985
mov esp, ebp
pop ebp
ret 0xc