Function at 0x409bd0
Capabilities:
Enumerate files on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ae1a
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2f8
mov eax, dword [0x47900c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2ec], ecx
mov dword [ebp - 0x2cc], 0
xorps xmm0, xmm0
movq qword [ebp - 0x74], xmm0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 4], 0
movq qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov byte [ebp - 4], 3
call fcn.0040b470
mov esi, eax
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [esi + 0x20]
lea eax, [ebp - 0x68]
cmp eax, ecx
je 0x409cc3
cmp dword [ecx + 0x14], 8
mov eax, dword [ecx + 0x10]
jb 0x409cb9
mov ecx, dword [ecx]
push eax
push ecx
lea ecx, [ebp - 0x68]
call fcn.0040bb60
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push 0x46ce94
lea ecx, [ebp - 0x68]
call fcn.0040b5a0
push str.Searching_dalp_TAs_in_the_repository...
call fcn.00402c70
add esp, 4
lea ecx, [ebp - 0x308]
mov edx, 0x479ac0
call fcn.00407940
mov esi, eax
mov byte [ebp - 4], 5
xor eax, eax
mov ecx, dword [ebp - 0x58]
inc ecx
mov dword [ebp - 0x1c], 0
push ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x2cc], 1
call fcn.0040cd10
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040ce80
push 0x46cec0
lea ecx, [ebp - 0x2c]
call fcn.0040b5a0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
sub eax, edx
mov ecx, dword [esi + 0x10]
cmp ecx, eax
jbe 0x409d65
mov eax, dword [esi + 0x14]
sub eax, ecx
cmp eax, edx
jb 0x409d65
lea eax, [ebp - 0x2c]
push eax
push ecx
mov ecx, esi
call fcn.0040cdb0
jmp 0x409d6e
push esi
lea ecx, [ebp - 0x2c]
call fcn.0040ce80
movups xmm0, xmmword [eax]
xor ecx, ecx
movups xmmword [ebp - 0x2e0], xmm0
movq xmm0, qword [eax + 0x10]
mov word [eax], cx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x3c]
movq qword [ebp - 0x2d0], xmm0
cmp edx, 8
jb 0x409dce
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409dc4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a516
push edx
push ecx
call fcn.00434541
add esp, 8
movups xmm0, xmmword [ebp - 0x2e0]
movups xmmword [ebp - 0x50], xmm0
movq xmm0, qword [ebp - 0x2d0]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x18]
movq qword [ebp - 0x40], xmm0
cmp edx, 8
jb 0x409e24
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409e1a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a516
push edx
push ecx
call fcn.00434541
add esp, 8
xor eax, eax
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x2f4]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp edx, 8
jb 0x409e7c
mov ecx, dword [ebp - 0x308]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409e72
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a516
push edx
push ecx
call fcn.00434541
add esp, 8
cmp dword [ebp - 0x3c], 8
lea ecx, [ebp - 0x2c8]
lea eax, [ebp - 0x50]
cmovae eax, dword [ebp - 0x50]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2cc], eax
cmp eax, 0xffffffff
jne 0x409eb2
push str.FindFirstFile_failed.
call fcn.00402c70
add esp, 4
jmp 0x40a03c
xor eax, eax
mov dword [ebp - 0x2d4], 7
lea ecx, [ebp - 0x29c]
mov word [ebp - 0x25c], ax
mov dword [ebp - 0x2d8], eax
lea edx, [ecx + 2]
mov word [ebp - 0x2e8], ax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409ee0
sub ecx, edx
lea eax, [ebp - 0x29c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2e8]
call fcn.0040bb60
lea edx, [ebp - 0x2e8]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
call fcn.00407a30
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x2d4]
cmp edx, 8
jb 0x409f58
mov ecx, dword [ebp - 0x2e8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409f4e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a516
push edx
push ecx
call fcn.00434541
add esp, 8
mov edi, dword [ebp - 0x18]
xor eax, eax
cmp dword [ebp - 0x1c], 0x20
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2d4], 7
mov word [ebp - 0x2e8], ax
jne 0x409fef
cmp edi, 0x10
lea ecx, [ebp - 0x2c]
cmovae ecx, esi
cmp byte [ecx + 0x20], al
jne 0x409fef
xor edx, edx
mov al, byte [ecx]
cmp al, 0x30
jl 0x409f9b
cmp al, 0x39
jle 0x409fa9
cmp al, 0x61
jl 0x409fa3
cmp al, 0x66
jle 0x409fa9
sub al, 0x41
cmp al, 5
ja 0x409fef
inc edx
inc ecx
cmp edx, 0x20
jl 0x409f91
cmp edi, 0x10
lea eax, [ebp - 0x2c]
cmovae eax, esi
push eax
push str.The_TA__s_was_found_in_the_repository.
call fcn.00402c70
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x2c]
add esp, 8
push ecx
cmp eax, dword [ebp - 0x30]
je 0x409fe0
mov ecx, eax
call fcn.00404080
add dword [ebp - 0x34], 0x18
jmp 0x409fe9
push eax
lea ecx, [ebp - 0x38]
call fcn.0040c5a0
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x18]
mov byte [ebp - 4], 3
cmp edi, 0x10
jb 0x40a021
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x40a017
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a516
push edi
push esi
call fcn.00434541
add esp, 8
lea eax, [ebp - 0x2c8]
push eax
push dword [ebp - 0x2cc]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x409eb2
push str.Searching_acp_TAs_in_the_repository...
call fcn.00402c70
add esp, 4
lea ecx, [ebp - 0x308]
mov edx, 0x479a90
call fcn.00407940
mov esi, eax
mov byte [ebp - 4], 0xa
xor eax, eax
mov ecx, dword [ebp - 0x58]
inc ecx
mov dword [ebp - 0x1c], 0
push ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x2cc], 6
call fcn.0040cd10
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040ce80
push 0x46cec0
lea ecx, [ebp - 0x2c]
call fcn.0040b5a0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
sub eax, edx
mov ecx, dword [esi + 0x10]
cmp ecx, eax
jbe 0x40a0c9
mov eax, dword [esi + 0x14]
sub eax, ecx
cmp eax, edx
jb 0x40a0c9
lea eax, [ebp - 0x2c]
push eax
push ecx
mov ecx, esi
call fcn.0040cdb0
jmp 0x40a0d2
push esi
lea ecx, [ebp - 0x2c]
call fcn.0040ce80
movups xmm0, xmmword [eax]
xor ecx, ecx
movups xmmword [ebp - 0x2e0], xmm0
movq xmm0, qword [eax + 0x10]
mov word [eax], cx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x3c]
movq qword [ebp - 0x2d0], xmm0
cmp edx, 8
jb 0x40a132
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a128
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a51b
push edx
push ecx
call fcn.00434541
add esp, 8
movups xmm0, xmmword [ebp - 0x2e0]
movups xmmword [ebp - 0x50], xmm0
movq xmm0, qword [ebp - 0x2d0]
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x18]
movq qword [ebp - 0x40], xmm0
cmp edx, 8
jb 0x40a188
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a17e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a51b
push edx
push ecx
call fcn.00434541
add esp, 8
xor eax, eax
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x2f4]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp edx, 8
jb 0x40a1e0
mov ecx, dword [ebp - 0x308]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a1d6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a51b
push edx
push ecx
call fcn.00434541
add esp, 8
cmp dword [ebp - 0x3c], 8
lea ecx, [ebp - 0x2c8]
lea eax, [ebp - 0x50]
cmovae eax, dword [ebp - 0x50]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2cc], eax
cmp eax, 0xffffffff
jne 0x40a220
push str.FindFirstFile_failed.
call fcn.00402c70
add esp, 4
jmp 0x40a3ac
xor eax, eax
mov dword [ebp - 0x2d4], 7
lea ecx, [ebp - 0x29c]
mov word [ebp - 0x25c], ax
mov dword [ebp - 0x2d8], eax
lea edx, [ecx + 2]
mov word [ebp - 0x2e8], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a250
sub ecx, edx
lea eax, [ebp - 0x29c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2e8]
call fcn.0040bb60
lea edx, [ebp - 0x2e8]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2c]
call fcn.00407a30
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x2d4]
cmp edx, 8
jb 0x40a2c8
mov ecx, dword [ebp - 0x2e8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a2be
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a516
push edx
push ecx
call fcn.00434541
add esp, 8
mov edi, dword [ebp - 0x18]
xor eax, eax
cmp dword [ebp - 0x1c], 0x20
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2d4], 7
mov word [ebp - 0x2e8], ax
jne 0x40a35f
cmp edi, 0x10
lea ecx, [ebp - 0x2c]
cmovae ecx, esi
cmp byte [ecx + 0x20], al
jne 0x40a35f
xor edx, edx
mov al, byte [ecx]
cmp al, 0x30
jl 0x40a30b
cmp al, 0x39
jle 0x40a319
cmp al, 0x61
jl 0x40a313
cmp al, 0x66
jle 0x40a319
sub al, 0x41
cmp al, 5
ja 0x40a35f
inc edx
inc ecx
cmp edx, 0x20
jl 0x40a301
cmp edi, 0x10
lea eax, [ebp - 0x2c]
cmovae eax, esi
push eax
push str.The_TA__s_was_found_in_the_repository.
call fcn.00402c70
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x2c]
add esp, 8
push ecx
cmp eax, dword [ebp - 0x30]
je 0x40a350
mov ecx, eax
call fcn.00404080
add dword [ebp - 0x34], 0x18
jmp 0x40a359
push eax
lea ecx, [ebp - 0x38]
call fcn.0040c5a0
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x18]
mov byte [ebp - 4], 3
cmp edi, 0x10
jb 0x40a391
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x40a387
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a516
push edi
push esi
call fcn.00434541
add esp, 8
lea eax, [ebp - 0x2c8]
push eax
push dword [ebp - 0x2cc]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40a220
mov esi, dword [ebp - 0x38]
cmp esi, dword [ebp - 0x34]
je 0x40a406
mov edi, dword [ebp - 0x2ec]
nop word [eax + eax]
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x40a3ca
mov eax, dword [esi]
push str.BA8D164350B649CC861D2C01BED14BE8
push eax
call fcn.0043ebc0
add esp, 8
test eax, eax
je 0x40a3fe
lea eax, [ebp - 0x2f0]
mov dword [ebp - 0x2f0], 2
push eax
push esi
mov ecx, edi
mov word [ebp - 0x2ec], 0
call fcn.00408cb0
add esi, 0x18
cmp esi, dword [ebp - 0x34]
jne 0x40a3c0
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x40a440
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a436
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a520
push edx
push ecx
call fcn.00434541
add esp, 8
mov edx, dword [ebp - 0x54]
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
cmp edx, 8
jb 0x40a48e
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a484
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a520
push edx
push ecx
call fcn.00434541
add esp, 8
mov ecx, dword [ebp - 0x38]
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 7
mov word [ebp - 0x68], ax
test ecx, ecx
je 0x40a4f8
mov edx, dword [ebp - 0x34]
push ecx
call fcn.0040c950
mov ecx, dword [ebp - 0x30]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x38]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x40a4ee
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a520
push ecx
push esi
call fcn.00434541
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00434098
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0043e4ec
call fcn.0043e4ec
call fcn.0043e4ec
int3