Function at 0x44de20
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b5fc1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x380
push esi
push edi
xor edi, edi
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x18], edi
lea ecx, [ebp - 0xf8]
push 0xa
xor eax, eax
mov byte [ebp - 0x19], dl
push 0x4d0f30
mov dword [ebp - 0xe8], edi
mov dword [ebp - 0xe4], 7
mov word [ebp - 0xf8], ax
call fcn.0043cf80
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x6c], edi
call fcn.00451870
mov byte [ebp - 4], 1
lea eax, [ebp - 0xb4]
push ecx
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0xb4]
lea eax, [ebp - 0x18]
mov dword [ebp - 0xc8], 0x4d0f48
push eax
push edi
mov dword [ebp - 0xc4], 0x4d0f48
mov dword [ebp - 0xc0], 0x4d0f84
mov dword [ebp - 0xbc], edi
mov dword [ebp - 0xb8], edi
mov dword [ebp - 0x18], edi
call fcn.004558e0
mov ecx, dword [ebp - 0xb0]
mov eax, ecx
mov edx, dword [ebp - 0xb4]
sub eax, edx
sar eax, 2
test eax, eax
je 0x44df05
cmp edx, ecx
cmovne ecx, edx
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0xa8], 0
push 0x24
mov byte [ebp - 4], 3
call fcn.00471313
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0xc8]
add esp, 4
mov dword [eax + 4], 0x14
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax], vtable.std::_Root_node.0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x9c], 0x100
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], 0x100
mov dword [ebp - 0x90], 4
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], 0x100
mov dword [ebp - 0x78], 0x8775dfb
call fcn.00455950
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 4
call fcn.004552f0
mov esi, eax
test esi, esi
je 0x44dfc5
lock inc dword [esi + 0x20]
mov ecx, dword [ebp - 0x6c]
test ecx, ecx
je 0x44dfe0
or eax, 0xffffffff
lock xadd dword [ecx + 0x20], eax
jne 0x44dfe0
mov ecx, dword [ebp - 0x6c]
xor edx, edx
call fcn.0044d900
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x6c], esi
call fcn.00438ea0
push 0x250
lea eax, [ebp - 0x390]
mov byte [ebp - 4], 5
push 0
push eax
call fcn.00489230
mov esi, dword [ebp - 0x58]
lea ecx, [ebp - 0x110]
add esp, 0xc
mov edx, esi
push 0x4d0f88
call fcn.00453c80
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x390]
cmp dword [ebp - 0xfc], 8
lea eax, [ebp - 0x110]
push ecx
cmovae eax, dword [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x24], eax
cmp eax, 0xffffffff
je 0x44e4d5
mov eax, dword [ebp - 0x390]
shr eax, 4
and al, 1
je 0x44e4bd
xor eax, eax
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x3c], ax
lea eax, [ebp - 0x364]
mov dword [ebp - 0x28], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44e080
sub eax, edx
lea ecx, [ebp - 0x3c]
sar eax, 1
push eax
lea eax, [ebp - 0x364]
push eax
call fcn.0043cf80
push 0x4d0f1c
mov edx, esi
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x128]
call fcn.00453c80
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x3c]
cmp dword [ebp - 0x28], 8
push dword [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x3c]
push ecx
mov ecx, eax
call fcn.004530c0
mov dword [ebp - 0xd0], 0
or edi, 4
mov dword [ebp - 0xcc], 0
xor ecx, ecx
mov dword [ebp - 0x18], edi
movups xmm0, xmmword [eax]
mov dword [ebp - 0x20], edi
movups xmmword [ebp - 0xe0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xd0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0xa
call fcn.0043cf20
push 0x4d0f20
lea edx, [ebp - 0xf8]
lea ecx, [ebp - 0x54]
call fcn.00453c80
add esp, 4
cmp dword [eax + 0x14], 8
mov edx, dword [eax + 0x10]
jb 0x44e149
mov eax, dword [eax]
cmp dword [ebp - 0x28], 8
lea ecx, [ebp - 0x3c]
push edx
cmovae ecx, dword [ebp - 0x3c]
push eax
push ecx
call fcn.0049b77a
add esp, 0xc
lea ecx, [ebp - 0x54]
mov esi, eax
call fcn.0043cf20
test esi, esi
jne 0x44e172
mov al, byte [ebp - 0x19]
jmp 0x44e1c0
push 0x4d0f2c
lea edx, [ebp - 0xf8]
lea ecx, [ebp - 0x54]
call fcn.00453c80
add esp, 4
cmp dword [eax + 0x14], 8
mov edx, dword [eax + 0x10]
jb 0x44e193
mov eax, dword [eax]
cmp dword [ebp - 0x28], 8
lea ecx, [ebp - 0x3c]
push edx
cmovae ecx, dword [ebp - 0x3c]
push eax
push ecx
call fcn.0049b77a
add esp, 0xc
lea ecx, [ebp - 0x54]
mov esi, eax
call fcn.0043cf20
test esi, esi
jne 0x44e1be
mov al, byte [ebp - 0x19]
xor al, 1
jmp 0x44e1c0
xor al, al
test al, al
je 0x44e262
push 0x4d0f1c
lea edx, [ebp - 0xe0]
lea ecx, [ebp - 0x140]
call fcn.00453c80
add esp, 4
mov edx, dword [ebx + 8]
or edi, 1
mov byte [ebp - 4], 0xb
mov ecx, edx
mov dword [ebp - 0x18], edi
cmp dword [edx + 0x14], 8
jb 0x44e1f8
mov ecx, dword [edx]
push dword [edx + 0x10]
push ecx
mov ecx, eax
call fcn.004530c0
mov edi, dword [ebp - 0x20]
xor ecx, ecx
mov dword [ebp - 0x44], 0
or edi, 0xb
mov dword [ebp - 0x40], 0
movups xmm0, xmmword [eax]
mov dword [ebp - 0x18], edi
movups xmmword [ebp - 0x54], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x44], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x54]
cmp dword [ebp - 0x40], 8
cmovae eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44e262
shr eax, 4
not al
mov byte [ebp - 0x11], 1
and al, 1
jne 0x44e266
mov byte [ebp - 0x11], 0
mov eax, dword [ebp - 0x18]
test al, 2
je 0x44e27e
and eax, 0xfffffffd
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x18], eax
call fcn.0043cf20
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 0xa
test al, 1
je 0x44e29a
and eax, 0xfffffffe
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x18], eax
call fcn.0043cf20
cmp byte [ebp - 0x11], 0
je 0x44e4a0
xorps xmm0, xmm0
mov dword [ebp - 0xac], 0
mov byte [ebp - 0xa8], 0
movups xmmword [ebp - 0xa4], xmm0
mov dword [ebp - 0x94], 0
mov byte [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov byte [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x78], 0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x3c]
cmp dword [ebp - 0x28], 8
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x3c]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x3c]
cmovae ecx, dword [ebp - 0x3c]
sub esp, 8
push eax
push ecx
lea ecx, [ebp - 0xac]
call fcn.00455030
add esp, 0x10
test al, al
je 0x44e442
mov ecx, dword [ebp - 0xa0]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0xa4]
sub ecx, esi
imul ecx
lea eax, [ebp - 0x80]
sar edx, 1
mov edi, edx
shr edi, 0x1f
add edi, edx
cmovne eax, esi
cmp byte [eax + 8], 0
je 0x44e368
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x44e36c
xor ecx, ecx
xor eax, eax
sub eax, ecx
and eax, 0xfffffffe
cmp eax, 2
jle 0x44e44d
lea eax, [ebp - 0x80]
cmp edi, 1
jbe 0x44e385
lea eax, [esi + 0xc]
cmp byte [eax + 8], 0
je 0x44e392
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x44e396
xor ecx, ecx
xor eax, eax
xor edx, edx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], dx
cmp ecx, eax
je 0x44e3bc
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x54]
call fcn.0043cf80
mov edi, dword [ebp - 0x18]
or edi, 0x30
mov byte [ebp - 4], 0xd
call fcn.0049b657
cmp dword [ebp - 0x40], 8
lea esi, [ebp - 0x54]
mov dword [ebp - 0x20], eax
cmovae esi, dword [ebp - 0x54]
mov dword [eax], 0
lea eax, [ebp - 0x70]
push 0xa
push eax
push esi
call fcn.0049b74e
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp esi, dword [ebp - 0x70]
je 0x44e552
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0x22
je 0x44e548
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xc
call fcn.0043cf20
mov eax, dword [ebp - 0x18]
test eax, eax
jle 0x44e445
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x44e543
mov eax, dword [ecx]
lea edx, [ebp - 0xe0]
push edx
lea edx, [ebp - 0x20]
push edx
call dword [eax + 8]
mov esi, dword [ebp - 0xa4]
jmp 0x44e450
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0xa4]
jmp 0x44e450
mov edi, dword [ebp - 0x18]
mov byte [ebp - 4], 0xa
test esi, esi
je 0x44e4a3
mov ecx, dword [ebp - 0x9c]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 2
cmp ecx, 0x1000
jb 0x44e494
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44e53e
push ecx
push esi
call fcn.00471305
add esp, 8
jmp 0x44e4a3
mov edi, dword [ebp - 0x18]
lea ecx, [ebp - 0xe0]
call fcn.0043cf20
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 6
call fcn.0043cf20
mov esi, dword [ebp - 0x58]
lea eax, [ebp - 0x390]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x44e052
lea ecx, [ebp - 0x110]
call fcn.0043cf20
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x44e4fb
or ecx, 0xffffffff
lock xadd dword [eax + 0x20], ecx
jne 0x44e4fb
mov ecx, dword [ebp - 0x6c]
xor edx, edx
call fcn.0044d900
mov dword [ebp - 0x6c], 0
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
je 0x44e520
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x44e520
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
lea ecx, [ebp - 0xf8]
call fcn.0043cf20
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0049880d
call fcn.0046ed13
push str.stoi_argument_out_of_range
call fcn.0046ed70
push str.invalid_stoi_argument
call fcn.0046ed30
int3