Function at 0x43b640
Capabilities:
Enumerate files on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x558151
mov eax, dword fs:[0]
push eax
sub esp, 0x620
mov eax, dword [0x61308c]
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 edi, ecx
mov dword [ebp - 0x620], edi
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x61c], ebx
mov word [edi + 0x6c], bx
cmp dword [esi + 0x10], ebx
je 0x43bfa3
push 0x208
lea eax, [ebp - 0x31c]
push ebx
push eax
call fcn.0052d340
add esp, 0xc
mov ecx, esi
call fcn.00404720
mov ecx, eax
lea edx, [ebp - 0x31c]
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x43b6b4
lea eax, [ebp - 0x31c]
push 0x5951ac
push eax
call fcn.0052a047
add esp, 8
test eax, eax
jne 0x43b6fb
lea ecx, [edi + 0x54]
cmp ecx, esi
je 0x43b6ec
push 0xffffffffffffffff
push eax
push esi
call fcn.004048d0
mov dword [ebp - 0x628], 1
jmp 0x43b837
push 0
lea eax, [ebp - 0x31c]
push 0x5951b0
push eax
call fcn.0053bdeb
mov edx, eax
add esp, 0xc
test edx, edx
je 0x43b802
xor eax, eax
mov dword [ebp - 0x324], ebx
mov dword [ebp - 0x320], ebx
mov dword [ebp - 0x320], 7
mov dword [ebp - 0x324], ebx
mov word [ebp - 0x334], ax
cmp word [edx], ax
jne 0x43b749
xor ecx, ecx
jmp 0x43b75f
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43b750
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x334]
call fcn.00404d30
mov dword [ebp - 4], 0
lea esi, [edi + 0x54]
lea eax, [ebp - 0x334]
cmp esi, eax
je 0x43b7c0
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x43b793
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00404be0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x43b7ab
mov eax, dword [esi]
jmp 0x43b7ad
mov eax, esi
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x334]
push eax
mov ecx, esi
call fcn.00407af0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x320]
cmp eax, 8
jb 0x43b7e5
inc eax
lea ecx, [ebp - 0x334]
push eax
push dword [ebp - 0x334]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x320], 7
mov dword [ebp - 0x324], 0
mov word [ebp - 0x334], ax
push 0
push 0x5951b4
push 0
call fcn.0053bdeb
add esp, 0xc
test eax, eax
je 0x43b82d
push eax
push 0x5951b8
call fcn.00533aae
add esp, 8
test eax, eax
jne 0x43b82d
mov byte [edi + 0x6c], 1
mov dword [ebp - 0x628], 2
cmp dword [edi + 0x68], 8
lea esi, [edi + 0x54]
jb 0x43b844
mov eax, dword [esi]
jmp 0x43b846
mov eax, esi
push 0x2a
push eax
call fcn.00529af5
add esp, 8
test eax, eax
setne al
mov byte [ebp - 0x615], al
test al, al
jne 0x43b869
cmp byte [edi + 0x6c], al
je 0x43bf9b
xor eax, eax
mov dword [ebp - 0x354], 0
mov dword [ebp - 0x350], 0
mov dword [ebp - 0x350], 7
mov dword [ebp - 0x354], 0
mov word [ebp - 0x364], ax
mov dword [ebp - 4], 1
mov dword [ebp - 0x36c], eax
mov dword [ebp - 0x368], eax
mov dword [ebp - 0x368], 7
mov dword [ebp - 0x36c], eax
mov word [ebp - 0x37c], ax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x364]
cmp eax, esi
je 0x43b8de
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.004048d0
cmp dword [ebp - 0x350], 8
lea eax, [ebp - 0x364]
push 0x5c
cmovae eax, dword [ebp - 0x364]
push eax
call fcn.00529a54
add esp, 8
test eax, eax
je 0x43b904
mov byte [eax], 0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x364]
push eax
lea ecx, [ebp - 0x37c]
call fcn.004048d0
cmp dword [ebp - 0x368], 8
lea ecx, [ebp - 0x37c]
cmovae ecx, dword [ebp - 0x37c]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x43b931
mov eax, dword [0x5951d0]
mov dword [ecx], eax
mov eax, dword [0x5951d4]
mov dword [ecx + 4], eax
mov ax, word [0x5951d8]
mov word [ecx + 8], ax
lea ecx, [ebp - 0x614]
cmp dword [ebp - 0x368], 8
lea eax, [ebp - 0x37c]
push ecx
cmovae eax, dword [ebp - 0x37c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x624], eax
cmp eax, 0xffffffff
je 0x43bf0f
xor eax, eax
mov dword [ebp - 0x324], 0
mov dword [ebp - 0x320], 0
mov dword [ebp - 0x320], 7
mov dword [ebp - 0x324], 0
mov word [ebp - 0x334], ax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x334]
cmp eax, esi
je 0x43b9d2
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.004048d0
mov byte [ebp - 4], 4
xor eax, eax
mov dword [ebp - 0x33c], 0
mov dword [ebp - 0x338], 0
mov dword [ebp - 0x338], 7
mov dword [ebp - 0x33c], 0
mov word [ebp - 0x34c], ax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x324]
dec eax
mov dword [ebp - 0x62c], eax
nop dword [eax + eax]
mov ecx, 0x5951dc
lea eax, [ebp - 0x5e8]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43ba56
test dx, dx
je 0x43ba52
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43ba56
add eax, 4
add ecx, 4
test dx, dx
jne 0x43ba30
xor eax, eax
jmp 0x43ba5b
sbb eax, eax
or eax, 1
test eax, eax
je 0x43bdae
mov ecx, 0x5951e0
lea eax, [ebp - 0x5e8]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43ba96
test dx, dx
je 0x43ba92
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43ba96
add eax, 4
add ecx, 4
test dx, dx
jne 0x43ba70
xor eax, eax
jmp 0x43ba9b
sbb eax, eax
or eax, 1
test eax, eax
je 0x43bdae
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.0052d340
add esp, 0xc
lea ecx, [ebp - 0x364]
cmp dword [ebp - 0x350], 8
lea edx, [ebp - 0x114]
cmovae ecx, dword [ebp - 0x364]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x43bad3
lea edi, [ebp - 0x114]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x43baf0
mov eax, dword [0x5951e8]
lea edx, [ebp - 0x5e8]
mov dword [edi], eax
mov esi, edx
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x43bb10
lea edi, [ebp - 0x114]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x43bb26
mov ecx, edx
mov dword [ebp - 0x39c], 0
shr ecx, 2
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [ebp - 0x398], 0
and ecx, 3
mov dword [ebp - 0x398], 7
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x39c], 0
mov word [ebp - 0x3ac], ax
mov byte [ebp - 4], 7
cmp word [ebp - 0x114], ax
jne 0x43bb82
xor ecx, ecx
jmp 0x43bb9f
lea ecx, [ebp - 0x114]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43bb90
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x3ac]
call fcn.00404d30
mov byte [ebp - 4], 8
lea eax, [ebp - 0x3ac]
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x34c]
call fcn.004048d0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x398]
cmp eax, 8
jb 0x43bbee
inc eax
lea ecx, [ebp - 0x3ac]
push eax
push dword [ebp - 0x3ac]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x398], 7
cmp dword [ebp - 0x338], 8
mov word [ebp - 0x3ac], ax
lea eax, [ebp - 0x34c]
cmovae eax, dword [ebp - 0x34c]
push eax
mov dword [ebp - 0x39c], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x43bdae
cmp byte [ebp - 0x615], 0
je 0x43bcc2
cmp dword [ebp - 0x338], 8
lea ecx, [ebp - 0x34c]
push dword [ebp - 0x62c]
cmovae ecx, dword [ebp - 0x34c]
lea eax, [ebp - 0x334]
cmp dword [ebp - 0x320], 8
push ecx
cmovae eax, dword [ebp - 0x334]
push eax
call fcn.00535b97
add esp, 0xc
test eax, eax
jne 0x43bdae
cmp dword [ebp - 0x338], 8
lea edx, [ebp - 0x34c]
mov dword [ebp - 0x384], eax
cmovae edx, dword [ebp - 0x34c]
mov dword [ebp - 0x380], eax
mov dword [ebp - 0x380], 7
mov dword [ebp - 0x384], eax
mov word [ebp - 0x394], ax
cmp word [edx], ax
jne 0x43bdce
xor ecx, ecx
jmp 0x43bde2
mov edi, dword [ebp - 0x620]
cmp byte [edi + 0x6c], 0
je 0x43bdae
cmp dword [ebp - 0x320], 8
lea ecx, [ebp - 0x334]
lea eax, [ebp - 0x34c]
cmovae ecx, dword [ebp - 0x334]
cmp dword [ebp - 0x338], 8
push ecx
cmovae eax, dword [ebp - 0x34c]
push eax
call fcn.00533aae
add esp, 8
test eax, eax
js 0x43bd49
cmp dword [ebp - 0x338], 8
lea eax, [ebp - 0x34c]
lea ecx, [ebp - 0x3c4]
cmovae eax, dword [ebp - 0x34c]
push eax
call fcn.00404e30
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x3c4]
or ebx, 1
push eax
mov dword [ebp - 0x61c], ebx
call fcn.0043bfd0
test al, al
jne 0x43bd49
mov bl, 1
jmp 0x43bd4b
xor bl, bl
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x61c]
test al, 1
je 0x43bda0
and eax, 0xfffffffe
mov dword [ebp - 0x61c], eax
mov eax, dword [ebp - 0x3b0]
cmp eax, 8
jb 0x43bd83
inc eax
lea ecx, [ebp - 0x3c4]
push eax
push dword [ebp - 0x3c4]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x3b0], 7
mov dword [ebp - 0x3b4], 0
mov word [ebp - 0x3c4], ax
test bl, bl
jne 0x43be87
mov ebx, dword [ebp - 0x61c]
lea eax, [ebp - 0x614]
push eax
push dword [ebp - 0x624]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x43ba20
jmp 0x43be8b
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43bdd3
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x394]
call fcn.00404d30
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x394]
mov ebx, dword [ebp - 0x620]
add ebx, 0x54
cmp ebx, ecx
je 0x43be46
mov eax, dword [ebx + 0x14]
cmp eax, 8
jb 0x43be19
inc eax
mov ecx, ebx
push eax
push dword [ebx]
call fcn.00404be0
mov dword [ebx + 0x14], 7
cmp dword [ebx + 0x14], 8
mov dword [ebx + 0x10], 0
jb 0x43be31
mov eax, dword [ebx]
jmp 0x43be33
mov eax, ebx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x394]
push eax
mov ecx, ebx
call fcn.00407af0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x380]
cmp eax, 8
jb 0x43be68
inc eax
lea ecx, [ebp - 0x394]
push eax
push dword [ebp - 0x394]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x380], 7
mov dword [ebp - 0x384], 0
mov word [ebp - 0x394], ax
jmp 0x43be8b
mov byte [edi + 0x6d], 1
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x338]
cmp eax, 8
jb 0x43bead
inc eax
lea ecx, [ebp - 0x34c]
push eax
push dword [ebp - 0x34c]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x338], 7
mov dword [ebp - 0x33c], 0
mov word [ebp - 0x34c], ax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x320]
cmp eax, 8
jb 0x43beec
inc eax
lea ecx, [ebp - 0x334]
push eax
push dword [ebp - 0x334]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x320], 7
mov word [ebp - 0x334], ax
mov eax, dword [ebp - 0x624]
mov dword [ebp - 0x324], 0
test eax, eax
je 0x43bf1a
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x368]
cmp eax, 8
jb 0x43bf3c
inc eax
lea ecx, [ebp - 0x37c]
push eax
push dword [ebp - 0x37c]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x368], 7
mov dword [ebp - 0x36c], 0
mov word [ebp - 0x37c], ax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x350]
cmp eax, 8
jb 0x43bf7e
inc eax
lea ecx, [ebp - 0x364]
push eax
push dword [ebp - 0x364]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x350], 7
mov dword [ebp - 0x354], 0
mov word [ebp - 0x364], ax
mov eax, dword [ebp - 0x628]
jmp 0x43bfa5
xor eax, eax
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.005120a1
mov esp, ebp
pop ebp
ret 4