Function at 0x446bb0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c2058
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x4eec64]
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.004a52f0
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 0x4471f2
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.004964ca
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x447259
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov ecx, 0x4ca098
mov byte [ebp - 4], 2
test ecx, 0xffff0000
jne 0x446d63
mov edx, ecx
movzx esi, dx
push esi
call fcn.0049e3ee
mov edi, eax
test edi, edi
je 0x446d7d
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 0x446d7d
push esi
push eax
push edi
call fcn.004216e0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x446d7d
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 0x446cec
push esi
mov ecx, ebx
call fcn.004214ff
movzx eax, word [edi]
mov edx, dword [ebx]
add edi, 2
mov dword [ebp - 0x264], edx
cmp eax, 0xffffffff
jne 0x446d09
push edi
call fcn.004a4b1a
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.004a460f
add esp, 0x10
cmp eax, 0x50
ja case.0x446e78.1
movzx edx, byte [eax + 0x44728c]
jmp dword [edx*4 + 0x44727c]
test esi, esi
jl 0x44726d
mov eax, dword [ebx]
cmp esi, dword [eax - 8]
jg 0x44726d
mov edx, dword [ebp - 0x268]
mov dword [eax - 0xc], esi
mov eax, dword [ebx]
xor ecx, ecx
mov word [edx + eax], cx
jmp 0x446d7d
push 0x4ca098
call fcn.004a4b1a
add esp, 4
push eax
push 0x4ca098
mov ecx, ebx
call fcn.00423f4a
push ecx
mov byte [ebp - 4], 3
mov ebx, esp
mov dword [ebp - 0x278], esp
mov dword [ebp - 0x270], ebx
call fcn.004964ca
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x447259
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 0x446ea5
mov edx, ecx
movzx esi, dx
push esi
call fcn.0049e3ee
mov edi, eax
test edi, edi
je 0x446ec3
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 0x446ec3
push esi
push eax
push edi
call fcn.004216e0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x446ec3
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 0x446e2e
push esi
mov ecx, ebx
call fcn.004214ff
movzx eax, word [edi]
mov edx, dword [ebx]
add edi, 2
mov dword [ebp - 0x268], edx
cmp eax, 0xffffffff
jne 0x446e4b
push edi
call fcn.004a4b1a
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.004a460f
add esp, 0x10
cmp eax, 0x50
ja case.0x446e78.1
movzx edx, byte [eax + 0x4472f0]
jmp dword [edx*4 + 0x4472e0]
test esi, esi
jl 0x44726d
mov eax, dword [ebx]
cmp esi, dword [eax - 8]
jg 0x44726d
mov edx, dword [ebp - 0x264]
mov dword [eax - 0xc], esi
mov eax, dword [ebx]
xor ecx, ecx
mov word [edx + eax], cx
jmp 0x446ec3
lea eax, [ebp - 0x234]
push eax
call fcn.004a4b1a
add esp, 4
push eax
lea ecx, [ebp - 0x234]
push ecx
mov ecx, ebx
call fcn.00423f4a
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 0x446efa
cmp eax, dword [esi]
jne 0x446efa
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x446f35
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 0x447277
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.004a460f
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
lea edi, [ebp - 0x27c]
mov byte [ebp - 4], 1
call fcn.00461df0
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 0x446f8a
cmp eax, dword [esi]
jne 0x446f8a
mov edi, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x446fc5
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 0x447277
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.004a460f
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 0x447030
cmp eax, dword [esi]
jne 0x447030
mov edi, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x44706b
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 0x447277
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.004a460f
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 0x4470ae
cmp eax, dword [esi]
jne 0x4470ae
mov edi, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x4470e9
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 0x447277
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.004a460f
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 0x447125
cmp eax, dword [esi]
jne 0x447125
mov edi, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x447160
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 0x447277
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.004a460f
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.004455b0
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 0x4471a3
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 0x4471c9
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 0x446c40
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 0x447215
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 0x44723b
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.004a4220
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00421000
call fcn.00496a32
call fcn.00496a6a
push 0x80070057
call fcn.00421000
call fcn.0042156a
cmp eax, 0x6300446d
jb 4485831
add byte [eax + 0x72], ch
inc esp
add byte [eax + 0x72], ch
inc esp
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]
jg fcn.00447350
inc esp
add byte [ebx + 0x72], ah
inc esp
add byte [eax + 0x72], ch
inc esp
add byte [eax + 0x72], ch
inc esp
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]
int3