Function at 0x4469e0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c2318
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x4efc64]
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.004a5560
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 0x447022
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.0049673f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x447089
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov ecx, 0x4cb098
mov byte [ebp - 4], 2
test ecx, 0xffff0000
jne 0x446b93
mov edx, ecx
movzx esi, dx
push esi
call fcn.0049e679
mov edi, eax
test edi, edi
je 0x446bad
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 0x446bad
push esi
push eax
push edi
call fcn.004216c8
mov edi, eax
add esp, 0xc
test edi, edi
je 0x446bad
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 0x446b1c
push esi
mov ecx, ebx
call fcn.004214f2
movzx eax, word [edi]
mov edx, dword [ebx]
add edi, 2
mov dword [ebp - 0x264], edx
cmp eax, 0xffffffff
jne 0x446b39
push edi
call fcn.004a4d8a
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.004a4880
add esp, 0x10
cmp eax, 0x50
ja case.0x446ca8.1
movzx edx, byte [eax + 0x4470bc]
jmp dword [edx*4 + 0x4470ac]
test esi, esi
jl 0x44709d
mov eax, dword [ebx]
cmp esi, dword [eax - 8]
jg 0x44709d
mov edx, dword [ebp - 0x268]
mov dword [eax - 0xc], esi
mov eax, dword [ebx]
xor ecx, ecx
mov word [edx + eax], cx
jmp 0x446bad
push 0x4cb098
call fcn.004a4d8a
add esp, 4
push eax
push 0x4cb098
mov ecx, ebx
call fcn.00423edb
push ecx
mov byte [ebp - 4], 3
mov ebx, esp
mov dword [ebp - 0x278], esp
mov dword [ebp - 0x270], ebx
call fcn.0049673f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x447089
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 0x446cd5
mov edx, ecx
movzx esi, dx
push esi
call fcn.0049e679
mov edi, eax
test edi, edi
je 0x446cf3
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 0x446cf3
push esi
push eax
push edi
call fcn.004216c8
mov edi, eax
add esp, 0xc
test edi, edi
je 0x446cf3
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 0x446c5e
push esi
mov ecx, ebx
call fcn.004214f2
movzx eax, word [edi]
mov edx, dword [ebx]
add edi, 2
mov dword [ebp - 0x268], edx
cmp eax, 0xffffffff
jne 0x446c7b
push edi
call fcn.004a4d8a
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.004a4880
add esp, 0x10
cmp eax, 0x50
ja case.0x446ca8.1
movzx edx, byte [eax + 0x447120]
jmp dword [edx*4 + 0x447110]
test esi, esi
jl 0x44709d
mov eax, dword [ebx]
cmp esi, dword [eax - 8]
jg 0x44709d
mov edx, dword [ebp - 0x264]
mov dword [eax - 0xc], esi
mov eax, dword [ebx]
xor ecx, ecx
mov word [edx + eax], cx
jmp 0x446cf3
lea eax, [ebp - 0x234]
push eax
call fcn.004a4d8a
add esp, 4
push eax
lea ecx, [ebp - 0x234]
push ecx
mov ecx, ebx
call fcn.00423edb
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 0x446d2a
cmp eax, dword [esi]
jne 0x446d2a
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x446d65
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 0x4470a7
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.004a4880
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
lea edi, [ebp - 0x27c]
mov byte [ebp - 4], 1
call fcn.00461ba0
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 0x446dba
cmp eax, dword [esi]
jne 0x446dba
mov edi, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x446df5
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 0x4470a7
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.004a4880
add esp, 0x10
lea ecx, [ebp - 0x274]
add edi, 0x10
push ecx
mov dword [ebx], edi
call fcn.0047c2a0
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 0x446e60
cmp eax, dword [esi]
jne 0x446e60
mov edi, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x446e9b
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 0x4470a7
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.004a4880
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 0x446ede
cmp eax, dword [esi]
jne 0x446ede
mov edi, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x446f19
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 0x4470a7
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.004a4880
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 0x446f55
cmp eax, dword [esi]
jne 0x446f55
mov edi, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x446f90
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 0x4470a7
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.004a4880
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.004453e0
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 0x446fd3
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 0x446ff9
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 0x446a70
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 0x447045
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 0x44706b
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.004a4491
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00421000
call fcn.00496ca7
call fcn.00496cdf
push 0x80070057
call fcn.00421000
call fcn.00424c36
insd dword es:[edi], dx
imul eax, dword [eax + eax - 109], 0x70
inc esp
add byte [eax - 0x67ffbb90], bl
jo 0x4470ff
add byte [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]
scasd eax, dword es:[edi]
insb byte es:[edi], dx
inc esp
add byte [ebx - 0x67ffbb90], dl
jo 0x44715f
add byte [eax + 0x4470], bl
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