Function at 0x43c980
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59d798
mov eax, dword fs:[0]
push eax
sub esp, 0x6f4
mov eax, dword [0x608554]
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 dword [ebp - 0x10], esp
mov dword [ebp - 0x6f0], ecx
mov eax, dword [ebp + 0x10]
push ecx
push str.CheckRunEnvironment::CheckMultiMediaTypeStyle
lea ecx, [ebp - 0x45c]
mov dword [ebp - 0x6e8], eax
mov dword [ebp - 0x6e4], 0
call fcn.0040a480
mov dword [ebp - 4], 0
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x43ca22
test byte [ecx + 0x1c], 1
je 0x43ca22
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5caaf4
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x51
call fcn.00401840
add esp, 0xc
xor eax, eax
lea ecx, [ebp - 0x700]
mov dword [ebp - 0x6cc], eax
mov dword [ebp - 0x6dc], eax
call fcn.00551124
push 0x208
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.00571c00
push 0x250
lea eax, [ebp - 0x6ac]
push 0
push eax
call fcn.00571c00
add esp, 0x18
call fcn.00550b4e
mov ecx, eax
test ecx, ecx
je 0x43d4e9
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ebx, eax
lea eax, [ebx + 0x10]
mov dword [ebp - 0x6f4], eax
mov byte [ebp - 4], 3
call fcn.00550b4e
mov ecx, eax
test ecx, ecx
je 0x43d4f3
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x6b4], edi
mov byte [ebp - 4], 4
call fcn.00550b4e
mov ecx, eax
test ecx, ecx
je 0x43d4fd
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x6b8], esi
push 0x208
lea eax, [ebp - 0x424]
mov byte [ebp - 4], 5
push 0
push eax
call fcn.00571c00
add esp, 8
lea eax, [ebp - 0x424]
push eax
call fcn.004a0310
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push str.InsDrv.ini
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, dword [ebp + 8]
sub eax, 0
je 0x43cb3e
sub eax, 1
je 0x43cb2f
sub eax, 1
jne 0x43cb63
mov eax, dword [0x6184f0]
mov eax, dword [eax + 8]
add eax, 0x38c
jmp 0x43cb4b
mov eax, dword [0x6184f0]
mov eax, dword [eax + 8]
add eax, 0x374
jmp 0x43cb4b
mov eax, dword [0x6184f0]
mov eax, dword [eax + 8]
add eax, 0x35c
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x6c0], eax
jb 0x43cb5f
mov eax, dword [eax]
mov dword [ebp - 0x6c0], eax
test eax, eax
jne 0x43cbd3
or ecx, 0xffffffff
mov byte [ebp - 4], 4
add esi, 0xfffffff0
mov eax, ecx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43cb84
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
or ecx, 0xffffffff
mov byte [ebp - 4], 3
add edi, 0xfffffff0
mov eax, ecx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43cba2
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
or ecx, 0xffffffff
mov byte [ebp - 4], 2
lock xadd dword [ebx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x43cbb8
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
call fcn.00551207
lea ecx, [ebp - 0x45c]
call fcn.0040a570
xor eax, eax
jmp 0x43d4cb
lea ecx, [ebp - 0x424]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43cbe0
sub ecx, edx
lea eax, [ebp - 0x424]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x6b4]
call fcn.00403bb0
mov edx, dword [ebp - 0x6c0]
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43cc10
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x6b8]
call fcn.00403bb0
mov edi, dword [ebp - 0x6b4]
push 0x5c
push edi
call fcn.00571054
add esp, 8
test eax, eax
jne 0x43cc46
or eax, 0xffffffff
jmp 0x43cc4a
sub eax, edi
sar eax, 1
xor ecx, ecx
lea esi, [edi - 0x10]
test eax, eax
cmovns ecx, eax
mov dword [ebp - 0x6b0], ecx
cmp ecx, dword [edi - 0xc]
jl 0x43cc71
mov ecx, esi
call fcn.00403af0
add eax, 0x10
mov dword [ebp - 0x6c8], eax
jmp 0x43cca5
mov ecx, dword [esi]
test ecx, ecx
je 0x43cc80
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x43cc8c
call fcn.00550b4e
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
push dword [ebp - 0x6b0]
lea ecx, [ebp - 0x6c8]
push edi
call fcn.00403d50
mov eax, dword [ebp - 0x6c8]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 7
mov dword [ebp - 0x6bc], edx
cmp edx, esi
je 0x43cd12
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x43ccf7
mov ecx, dword [edx]
cmp ecx, dword [esi]
jne 0x43ccf7
mov ecx, edx
call fcn.00403af0
mov dword [ebp - 0x6b0], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x43ccec
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x6b0]
lea edi, [eax + 0x10]
mov dword [ebp - 0x6b4], edi
jmp 0x43cd0c
push dword [eax - 0xc]
lea ecx, [ebp - 0x6b4]
push eax
call fcn.00403bb0
mov edi, dword [ebp - 0x6b4]
mov edx, dword [ebp - 0x6bc]
or eax, 0xffffffff
mov byte [ebp - 4], 5
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43cd2b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x6b8]
mov dword [ebp - 0x6c4], 1
nop dword [eax + eax]
cmp dword [esi - 0xc], 0
jl 0x43cf38
push 0x5cadf8
push esi
call fcn.00570be3
add esp, 8
test eax, eax
je 0x43cf38
sub eax, esi
sar eax, 1
jne 0x43cf38
push 0x5c
push edi
call fcn.00571054
add esp, 8
test eax, eax
jne 0x43cd7e
or eax, 0xffffffff
jmp 0x43cd82
sub eax, edi
sar eax, 1
xor ecx, ecx
test eax, eax
cmovns ecx, eax
lea eax, [edi - 0x10]
mov dword [ebp - 0x6b0], ecx
mov dword [ebp - 0x6bc], eax
cmp ecx, dword [edi - 0xc]
jl 0x43cdaf
mov ecx, eax
call fcn.00403af0
add eax, 0x10
mov dword [ebp - 0x6c8], eax
jmp 0x43cde3
mov ecx, dword [eax]
test ecx, ecx
je 0x43cdbe
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x43cdca
call fcn.00550b4e
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
push dword [ebp - 0x6b0]
lea ecx, [ebp - 0x6c8]
push edi
call fcn.00403d50
mov eax, dword [ebp - 0x6c8]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 8
lea ecx, [edi - 0x10]
mov dword [ebp - 0x6d0], edx
cmp edx, ecx
je 0x43ce59
mov edi, dword [ebp - 0x6bc]
cmp dword [edi + 0xc], 0
jl 0x43ce3e
mov ecx, dword [edx]
cmp ecx, dword [edi]
jne 0x43ce3e
mov ecx, edx
call fcn.00403af0
mov dword [ebp - 0x6b0], eax
lea edx, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43ce33
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x6b0]
lea edi, [eax + 0x10]
mov dword [ebp - 0x6b4], edi
jmp 0x43ce53
push dword [eax - 0xc]
lea ecx, [ebp - 0x6b4]
push eax
call fcn.00403bb0
mov edi, dword [ebp - 0x6b4]
mov edx, dword [ebp - 0x6d0]
mov byte [ebp - 4], 5
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43ce72
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi - 0xc]
lea ecx, [ebp - 0x6b8]
add eax, 0xfffffffd
push eax
push 3
lea eax, [ebp - 0x6d8]
push eax
call fcn.0041d2b0
or dword [ebp - 0x6c4], 6
mov byte [ebp - 4], 9
lea ecx, [esi - 0x10]
mov eax, dword [ebp - 0x6d8]
mov dword [ebp - 0x6b0], ecx
lea edx, [eax - 0x10]
mov dword [ebp - 0x6bc], edx
cmp edx, ecx
je 0x43cf16
cmp dword [ecx + 0xc], 0
jl 0x43cefb
mov esi, dword [ebp - 0x6b0]
mov ecx, dword [edx]
cmp ecx, dword [esi]
jne 0x43cefb
mov ecx, edx
call fcn.00403af0
mov dword [ebp - 0x6b0], eax
lea edx, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43cef0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x6b0]
lea esi, [eax + 0x10]
mov dword [ebp - 0x6b8], esi
jmp 0x43cf10
push dword [eax - 0xc]
lea ecx, [ebp - 0x6b8]
push eax
call fcn.00403bb0
mov esi, dword [ebp - 0x6b8]
mov edx, dword [ebp - 0x6bc]
mov byte [ebp - 4], 5
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43cd40
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x43cd40
push esi
push edi
lea eax, [ebp - 0x21c]
push 0x5c6c90
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43cf65
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x6b4]
call fcn.00403bb0
mov eax, dword [0x6184f0]
xor edi, edi
mov dword [ebp - 0x6bc], edi
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x3d4]
mov dword [ebp - 0x6d8], eax
xor eax, eax
mov dword [ebp - 0x6c8], eax
call fcn.0052ee40
mov ecx, eax
call fcn.00534cc0
xor edx, edx
mov ecx, 1
cmp eax, dword [ebp + 8]
sete dl
mov dword [ebp - 0x6b0], edx
mov dword [ebp - 0x6d0], ecx
cmp ecx, 2
ja 0x43d08a
test dword [ebp - 0x6d8], ecx
je 0x43d3be
mov ecx, dword [ebp - 0x6b4]
xor eax, eax
mov dword [ebp - 0x6cc], eax
mov dword [ebp - 0x6dc], eax
lea ecx, [ecx - 0x10]
call fcn.00403af0
add eax, 0x10
mov dword [ebp - 0x6c0], eax
mov byte [ebp - 4], 0xa
mov eax, dword [0x6184f0]
mov ecx, dword [eax + 8]
cmp edi, 4
jb 0x43d0c3
mov edx, 0x5c6930
mov dword [ebp - 0x6c4], edx
mov ecx, edx
lea edi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43d030
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x6c0]
call fcn.00405fe0
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp - 0x6c0]
test eax, eax
jle 0x43d0ef
cmp dword [edi - 0xc], eax
mov eax, dword [ebp - 0x6e8]
jl 0x43d0e4
mov dword [eax], 1
mov byte [ebp - 4], 5
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43d08a
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x6d8]
test ecx, ecx
je 0x43d3e8
mov eax, dword [ebp - 0x6c8]
mov edx, dword [ebp - 0x6b0]
cmp eax, ecx
jne 0x43d3cc
test edx, edx
je 0x43d3cc
mov dword [ebp - 0x6cc], 1
jmp 0x43d3e8
imul eax, edi, 0x208
lea edx, [ecx + 0x3d8]
add edx, eax
mov dword [ebp - 0x6c4], edx
jne 0x43d02a
xor ecx, ecx
jmp 0x43d03f
cmp dword [eax], 1
je 0x43d0ef
mov dword [eax], 0
push dword [ebp - 0x6b4]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [ebp - 0x6c4]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0x5cb000
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x6ac]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, eax
mov dword [ebp - 0x6ec], ecx
cmp ecx, 0xffffffff
je 0x43d390
mov eax, 1
mov dword [ebp - 0x6c4], 0
nop dword [eax + eax]
cmp dword [ebp - 0x6cc], 0
jne 0x43d369
test eax, eax
je 0x43d369
push 0x5cafc8
lea eax, [ebp - 0x680]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x43d351
push 0x5cafcc
lea eax, [ebp - 0x680]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x43d351
test byte [ebp - 0x6ac], 0x10
je 0x43d29b
lea eax, [ebp - 0x680]
push eax
lea edx, [ebp - 0x6c0]
lea ecx, [ebp - 0x6e4]
call fcn.0042af40
add esp, 4
mov byte [ebp - 4], 0xb
lea ecx, [esi - 0x10]
mov edx, dword [eax]
mov dword [ebp - 0x6e0], ecx
lea eax, [edx - 0x10]
mov dword [ebp - 0x6d4], eax
cmp eax, ecx
je 0x43d25d
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x43d248
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x43d248
mov ecx, dword [ebp - 0x6d4]
call fcn.00403af0
mov dword [ebp - 0x6d4], eax
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x43d237
mov edx, dword [ebp - 0x6e0]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x6d4]
add esi, 0x10
mov dword [ebp - 0x6b8], esi
jmp 0x43d25d
push dword [edx - 0xc]
lea ecx, [ebp - 0x6b8]
push edx
call fcn.00403bb0
mov esi, dword [ebp - 0x6b8]
mov byte [ebp - 4], 0xa
or eax, 0xffffffff
mov edx, dword [ebp - 0x6e4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43d27f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x6c4]
cmp eax, 2
jl 0x43d339
test esi, esi
je 0x43d507
jmp 0x43d326
lea ecx, [esi - 0x10]
lea edx, [edi - 0x10]
mov dword [ebp - 0x6e0], ecx
cmp edx, ecx
je 0x43d314
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x43d2ff
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x43d2ff
mov ecx, edx
call fcn.00403af0
mov dword [ebp - 0x6d4], eax
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x43d2e1
mov edx, dword [ebp - 0x6e0]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x6d4]
mov eax, dword [ebp - 0x6c4]
add esi, 0x10
inc eax
mov dword [ebp - 0x6b8], esi
mov dword [ebp - 0x6c4], eax
jmp 0x43d285
push dword [edi - 0xc]
lea ecx, [ebp - 0x6b8]
push edi
call fcn.00403bb0
mov esi, dword [ebp - 0x6b8]
mov eax, dword [ebp - 0x6c4]
inc eax
mov dword [ebp - 0x6c4], eax
jmp 0x43d285
push esi
push dword [ebp - 0x6b4]
call fcn.00574f99
add esp, 8
test eax, eax
je 0x43d351
mov ecx, dword [ebp - 0x6f0]
push esi
call fcn.0043d520
mov dword [ebp - 0x6cc], eax
mov dword [ebp - 0x6dc], eax
lea eax, [ebp - 0x6ac]
push eax
push dword [ebp - 0x6ec]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x43d170
push dword [ebp - 0x6ec]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x6cc], 0
je 0x43d06e
mov ecx, dword [ebp - 0x6d0]
or dword [ebp - 0x6c8], ecx
jmp 0x43d396
mov ecx, dword [ebp - 0x6d0]
mov byte [ebp - 4], 5
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43d3b8
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x6d0]
mov edi, dword [ebp - 0x6bc]
add ecx, ecx
inc edi
mov dword [ebp - 0x6bc], edi
jmp 0x43cfca
test ecx, eax
je 0x43d3de
mov dword [ebp - 0x6cc], 1
test edx, edx
je 0x43d3e8
mov dword [ebp - 0x6cc], 0
or edi, 0xffffffff
mov byte [ebp - 4], 4
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43d406
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, edi
mov edx, dword [ebp - 0x6b4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43d427
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
lock xadd dword [ebx + 0xc], edi
dec edi
test edi, edi
jg 0x43d43d
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x6cc]
jmp 0x43d466
mov dword [ebp - 4], 1
mov byte [ebp - 4], 0xd
call fcn.00551207
mov byte [ebp - 0x458], 1
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x43d4be
test byte [ecx + 0x1c], 1
je 0x43d4be
cmp dword [0x608f68], 8
mov eax, 0x608f54
push ebx
cmovae eax, dword [0x608f54]
mov edx, 0x5caaf4
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x52
call fcn.004018a0
add esp, 0x10
lea ecx, [ebp - 0x45c]
call fcn.0040a570
mov eax, ebx
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.0056d977
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.004013a0
push 0x80004005
call fcn.004013a0
push 0x80004005
call fcn.004013a0
push 0x80004005
call fcn.004013a0
int3