Function at 0x431740
Capabilities:
Enumerate files on windows
Enumerate files recursively
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ccc96
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
mov eax, dword [0x4fd0b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x2c8]
push 0x4ed88c
mov dword [ebp - 0x2b0], edx
call fcn.00433020
add esp, 4
mov dword [ebp - 4], 0
mov ecx, 0x501c64
cmp dword [0x501c78], 8
push dword [0x501c74]
cmovae ecx, dword [0x501c64]
push ecx
mov ecx, eax
call fcn.0042db10
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2b4]
cmp edx, 8
jb 0x43181e
mov ecx, dword [ebp - 0x2c8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x431814
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431c94
push edx
push ecx
call fcn.0047904e
add esp, 8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0x80
push 1
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43187b
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4318b5
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4318ab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431c99
jmp 0x4318ab
cmp dword [0x501c60], 0x10
lea ecx, [ebp - 0x2c]
push 0
push ecx
push dword [0x501c5c]
mov eax, 0x501c4c
cmovae eax, dword [0x501c4c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x431849
push edx
push ecx
call fcn.0047904e
add esp, 8
mov esi, dword [ebp - 0x2b0]
lea ecx, [ebp - 0x5c]
push 0x4ed890
mov edx, esi
call fcn.00433020
add esp, 4
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2ac]
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
push ecx
cmovae eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2c], eax
cmp eax, 0xffffffff
je 0x431c41
nop dword [eax]
lea eax, [ebp - 0x280]
push eax
call dword [sym.imp.USER32.dll_CharLowerW]
push 0x4ed88c
mov edx, esi
lea ecx, [ebp - 0x2c8]
call fcn.00433020
add esp, 4
mov edx, eax
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 2
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x431931
sub ecx, esi
lea eax, [ebp - 0x280]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.0042db10
mov dword [ebp - 0x34], 0
xor ecx, ecx
mov dword [ebp - 0x30], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x2b4]
cmp edx, 8
jb 0x4319c5
mov ecx, dword [ebp - 0x2c8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4319bb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431c94
push edx
push ecx
call fcn.0047904e
add esp, 8
mov ecx, dword [ebp - 0x2ac]
xor eax, eax
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2b4], 7
mov word [ebp - 0x2c8], ax
test cl, 0x10
je 0x431b1d
mov ecx, 0x4ed898
lea eax, [ebp - 0x280]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x431a26
test dx, dx
je 0x431a22
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x431a26
add eax, 4
add ecx, 4
test dx, dx
jne 0x431a00
xor eax, eax
jmp 0x431a2b
sbb eax, eax
or eax, 1
test eax, eax
je 0x431bdc
mov ecx, 0x4ed8a0
lea eax, [ebp - 0x280]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x431a66
test dx, dx
je 0x431a62
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x431a66
add eax, 4
add ecx, 4
test dx, dx
jne 0x431a40
xor eax, eax
jmp 0x431a6b
sbb eax, eax
or eax, 1
test eax, eax
je 0x431bdc
xor eax, eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x431a90
sub ecx, edx
lea eax, [ebp - 0x280]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.0042d9b0
lea eax, [ebp - 0x28]
mov edx, 0x509090
push eax
mov ecx, 0x508df0
call fcn.00430770
mov edx, dword [ebp - 0x14]
add esp, 4
mov esi, eax
cmp edx, 8
jb 0x431b01
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x431af7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431c94
push edx
push ecx
call fcn.0047904e
add esp, 8
cmp esi, 0x509090
jne 0x431bdc
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
call fcn.00431740
jmp 0x431bdc
test cl, 1
je 0x431b38
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
and ecx, 0xfffffffe
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x431b55
sub ecx, edx
lea eax, [ebp - 0x280]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.0042d9b0
lea eax, [ebp - 0x28]
mov edx, 0x509138
push eax
mov ecx, 0x509090
call fcn.00430770
mov edx, dword [ebp - 0x14]
add esp, 4
mov esi, eax
cmp edx, 8
jb 0x431bc6
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x431bbc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431c94
push edx
push ecx
call fcn.0047904e
add esp, 8
cmp esi, 0x509138
jne 0x431bdc
push dword [edi + 0x18]
lea ecx, [ebp - 0x44]
call fcn.0042a990
add esp, 4
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x431c1a
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x431c10
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431c94
push edx
push ecx
call fcn.0047904e
add esp, 8
mov esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x2ac]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x431c3a
mov esi, dword [ebp - 0x2b0]
jmp 0x431900
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x431c77
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x431c6d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431c99
push edx
push ecx
call fcn.0047904e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047900d
mov esp, ebp
pop ebp
ret 4
call fcn.0049a859
call fcn.0049a859
int3