Function at 0x4401d0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aa828
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x4cfc64]
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 eax, dword [ebp + 0x18]
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x280], ecx
mov dword [ebp - 0x284], edx
xor edi, edi
push 0x24c
lea eax, [ebp - 0x25c]
mov esi, 1
push edi
mov dword [ebp - 4], esi
push eax
mov dword [ebp - 0x260], edi
call fcn.0048ea70
mov edx, dword [ebp + 0xc]
add esp, 0xc
lea ecx, [ebp - 0x260]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x290], eax
cmp eax, 0xffffffff
je 0x440812
mov dword [ebp - 0x26c], esi
mov edi, edi
push ecx
mov ebx, esp
mov dword [ebp - 0x28c], esp
mov dword [ebp - 0x278], ebx
call fcn.00480035
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x440879
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov ecx, 0x4b280c
mov byte [ebp - 4], 2
test ecx, 0xffff0000
jne 0x440383
mov edx, ecx
movzx esi, dx
push esi
call fcn.00487f55
mov edi, eax
test edi, edi
je 0x44039d
mov eax, esi
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x44039d
push esi
push eax
push edi
call fcn.0042066d
mov edi, eax
add esp, 0xc
test edi, edi
je 0x44039d
mov eax, dword [ebx]
movzx esi, word [edi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, esi
or eax, ecx
jge 0x44030c
push esi
mov ecx, ebx
call fcn.004204f5
movzx eax, word [edi]
mov edx, dword [ebx]
add edi, 2
mov dword [ebp - 0x264], edx
cmp eax, 0xffffffff
jne 0x440329
push edi
call fcn.0048e8dc
add esp, 4
inc eax
add eax, eax
push eax
lea ecx, [esi + esi]
push edi
push ecx
mov dword [ebp - 0x268], ecx
mov ecx, dword [ebp - 0x264]
push ecx
call fcn.0048e0d0
add esp, 0x10
cmp eax, 0x50
ja case.0x440498.1
movzx edx, byte [eax + 0x4408ac]
jmp dword [edx*4 + 0x44089c]
test esi, esi
jl 0x44088d
mov eax, dword [ebx]
cmp esi, dword [eax - 8]
jg 0x44088d
mov edx, dword [ebp - 0x268]
mov dword [eax - 0xc], esi
mov eax, dword [ebx]
xor ecx, ecx
mov word [edx + eax], cx
jmp 0x44039d
push 0x4b280c
call fcn.0048e8dc
add esp, 4
push eax
push 0x4b280c
mov ecx, ebx
call fcn.00421168
push ecx
mov byte [ebp - 4], 3
mov ebx, esp
mov dword [ebp - 0x278], esp
mov dword [ebp - 0x270], ebx
call fcn.00480035
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x440879
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 4
test ecx, 0xffff0000
jne 0x4404c5
mov edx, ecx
movzx esi, dx
push esi
call fcn.00487f55
mov edi, eax
test edi, edi
je 0x4404e3
mov eax, esi
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4404e3
push esi
push eax
push edi
call fcn.0042066d
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4404e3
mov eax, dword [ebx]
movzx esi, word [edi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, esi
or eax, ecx
jge 0x44044e
push esi
mov ecx, ebx
call fcn.004204f5
movzx eax, word [edi]
mov edx, dword [ebx]
add edi, 2
mov dword [ebp - 0x268], edx
cmp eax, 0xffffffff
jne 0x44046b
push edi
call fcn.0048e8dc
add esp, 4
inc eax
add eax, eax
push eax
lea ecx, [esi + esi]
push edi
push ecx
mov dword [ebp - 0x264], ecx
mov ecx, dword [ebp - 0x268]
push ecx
call fcn.0048e0d0
add esp, 0x10
cmp eax, 0x50
ja case.0x440498.1
movzx edx, byte [eax + 0x440910]
jmp dword [edx*4 + 0x440900]
test esi, esi
jl 0x44088d
mov eax, dword [ebx]
cmp esi, dword [eax - 8]
jg 0x44088d
mov edx, dword [ebp - 0x264]
mov dword [eax - 0xc], esi
mov eax, dword [ebx]
xor ecx, ecx
mov word [edx + eax], cx
jmp 0x4404e3
lea eax, [ebp - 0x234]
push eax
call fcn.0048e8dc
add esp, 4
push eax
lea ecx, [ebp - 0x234]
push ecx
mov ecx, ebx
call fcn.00421168
mov byte [ebp - 4], 5
mov esi, dword [ebp + 0x10]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [ebp - 0x270], esp
mov ebx, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x44051a
cmp eax, dword [esi]
jne 0x44051a
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x440555
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x440897
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0048e0d0
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
lea edi, [ebp - 0x27c]
mov byte [ebp - 4], 1
call fcn.004555d0
add esp, 0xc
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x27c]
push 1
push 0
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [ebp - 0x270], esp
mov ebx, esp
call eax
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
jl 0x4405aa
cmp eax, dword [esi]
jne 0x4405aa
mov edi, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x4405e5
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x440897
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0048e0d0
add esp, 0x10
lea ecx, [ebp - 0x274]
add edi, 0x10
push ecx
mov dword [ebx], edi
call fcn.0046cfe0
add esp, 0x10
mov edx, dword [ebp - 0x284]
mov eax, dword [ebp - 0x280]
mov ecx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp - 0x288]
push eax
mov eax, dword [ebp + 0x14]
push ecx
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x274]
push edx
push eax
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [ebp - 0x270], esp
mov ebx, esp
call eax
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
jl 0x440650
cmp eax, dword [esi]
jne 0x440650
mov edi, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x44068b
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x440897
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0048e0d0
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
mov byte [ebp - 4], 8
mov esi, dword [ebp + 0x10]
lea ecx, [ebp - 0x260]
push ecx
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [ebp - 0x278], esp
mov ebx, esp
call eax
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
jl 0x4406ce
cmp eax, dword [esi]
jne 0x4406ce
mov edi, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x440709
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x440897
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0048e0d0
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
mov byte [ebp - 4], 9
mov esi, dword [ebp + 0xc]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [ebp - 0x28c], esp
mov ebx, esp
call eax
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
jl 0x440745
cmp eax, dword [esi]
jne 0x440745
mov edi, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x440780
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x440897
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0048e0d0
add esp, 0x10
mov ecx, dword [ebp + 8]
add edi, 0x10
push 0
mov dword [ebx], edi
push ecx
mov byte [ebp - 4], 7
call fcn.0043eb90
and dword [ebp - 0x26c], eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x274]
add eax, 0xfffffff0
add esp, 0x2c
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4407c3
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 - 0x27c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4407e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x290]
lea ecx, [ebp - 0x260]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x440260
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [ebp - 0x26c]
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x440835
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 + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44085b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
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.0048dce1
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00420000
call fcn.0048059d
call fcn.004805d5
push 0x80070057
call fcn.00420000
call fcn.00420560
pop ebp
add eax, dword [eax + eax - 125]
or byte [eax + eax - 0x78], al
or byte [eax + eax - 0x78], al
or byte [eax + eax], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [eax]
lea ecx, [ecx]
lahf
add al, 68
add byte [ebx - 0x77ffbbf8], al
or byte [eax + eax - 0x78], al
or byte [eax + eax], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [eax]
int3