Function at 0x403b30
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421ade
mov eax, dword fs:[0]
push eax
sub esp, 0x328
mov eax, dword [0x42c050]
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 eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x310], eax
mov dword [ebp - 0x330], esi
mov dword [ebp - 0x32c], esi
mov dword [ebp - 0x328], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x30c], esi
mov dword [ebp - 0x308], esi
mov dword [ebp - 0x304], esi
mov eax, 7
xor ecx, ecx
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x98], esi
mov word [ebp - 0xa8], cx
xor edx, edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esi
mov word [ebp - 0x30], dx
mov ebx, 1
mov byte [ebp - 4], 3
test byte [0x430ea8], bl
jne 0x403bdf
or dword [0x430ea8], ebx
call fcn.00411560
push 0x423380
call fcn.0041d6db
add esp, 4
mov eax, dword [0x430eb0]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
push 0x430ed8
or eax, 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.004018f0
mov ecx, dword [0x430eb0]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push ebx
mov eax, 0x42538c
lea ecx, [ebp - 0xa8]
call fcn.00405e70
mov eax, 0x4303e4
lea ecx, [ebp - 0x84]
call fcn.004012f0
mov esi, eax
push 0x425390
lea edx, [ebp - 0xa8]
push edx
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 4
call fcn.00407380
add esp, 0xc
mov ecx, eax
mov eax, esi
lea ebx, [ebp - 0x68]
mov byte [ebp - 4], 5
call fcn.00407470
mov esi, eax
lea ecx, [ebp - 0x30]
mov edi, 8
cmp ecx, esi
je 0x403cd1
cmp dword [ebp - 0x1c], edi
jb 0x403c7d
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ebx, ebx
xor eax, eax
mov edi, 7
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], ax
cmp dword [esi + 0x14], 8
jae 0x403cae
mov eax, dword [esi + 0x10]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebp - 0x30]
push esi
push edx
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
jmp 0x403cb5
mov eax, dword [esi]
mov dword [ebp - 0x30], eax
mov dword [esi], ebx
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x20], ecx
mov edx, dword [esi + 0x14]
mov dword [ebp - 0x1c], edx
mov dword [esi + 0x14], edi
xor eax, eax
mov dword [esi + 0x10], ebx
mov word [esi], ax
mov edi, 8
mov ebx, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
cmp dword [ebp - 0x54], edi
jb 0x403ce5
mov ecx, dword [ebp - 0x68]
push ecx
call ebx
add esp, 4
xor esi, esi
xor edx, edx
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x58], esi
mov word [ebp - 0x68], dx
cmp dword [ebp - 0x38], edi
jb 0x403d05
mov eax, dword [ebp - 0x4c]
push eax
call ebx
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], 3
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], esi
mov word [ebp - 0x4c], cx
cmp dword [ebp - 0x70], edi
jb 0x403d2a
mov edx, dword [ebp - 0x84]
push edx
call ebx
add esp, 4
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], edi
jae 0x403d35
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x2fc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x31c], eax
cmp eax, 0xffffffff
je 0x404000
xor edx, edx
xor eax, eax
mov word [ebp - 0x68], ax
lea eax, [ebp - 0x2d0]
mov word [ebp - 0x290], dx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x54], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x403d74
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x2d0]
lea esi, [ebp - 0x68]
call fcn.00406690
mov eax, esi
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], 7
call fcn.00401360
mov byte [ebp - 4], 9
cmp dword [ebp - 0x54], edi
jb 0x403db2
mov ecx, dword [ebp - 0x68]
push ecx
call ebx
add esp, 4
xor edx, edx
xor eax, eax
cmp dword [ebp - 0x3c], 0x20
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x58], edx
mov word [ebp - 0x68], ax
jne 0x403fd1
cmp dword [ebp - 0x38], 0x10
mov eax, dword [ebp - 0x4c]
jae 0x403dda
lea eax, [ebp - 0x4c]
mov ecx, eax
cmp byte [eax + 0x20], dl
jne 0x403fd1
mov al, byte [ecx]
cmp al, 0x30
jl 0x403def
cmp al, 0x39
jle 0x403e07
cmp al, 0x61
jl 0x403df7
cmp al, 0x66
jle 0x403e07
cmp al, 0x41
jl 0x403fd1
cmp al, 0x46
jg 0x403fd1
inc edx
inc ecx
cmp edx, 0x20
jl 0x403de5
mov ecx, dword [ebp - 0x308]
mov ebx, dword [ebp - 0x30c]
lea edx, [ebp - 0x4c]
cmp edx, ecx
jae 0x403f0e
mov eax, edx
cmp ebx, eax
ja 0x403f0e
mov edi, dword [ebp - 0x304]
mov esi, edx
sub esi, ebx
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x314], eax
cmp ecx, edi
jne 0x403ec6
mov esi, ecx
sub esi, ebx
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp esi, 0x9249248
ja 0x404089
sub edi, ebx
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
cmp esi, eax
jbe 0x403ec6
mov ecx, eax
shr ecx, 1
mov edx, 0x9249249
sub edx, ecx
cmp edx, eax
jae 0x403ea6
xor eax, eax
jmp 0x403ea8
add eax, ecx
cmp eax, esi
jae 0x403eae
mov eax, esi
push eax
lea ecx, [ebp - 0x30c]
call fcn.00406e70
mov ecx, dword [ebp - 0x308]
mov ebx, dword [ebp - 0x30c]
mov eax, dword [ebp - 0x314]
lea edx, [eax*8]
sub edx, eax
lea ebx, [ebx + edx*4]
mov byte [ebp - 4], 0xa
test ecx, ecx
je 0x403fbd
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x403f03
mov eax, dword [ecx]
mov byte [eax], 0
push ebx
jmp 0x403fad
mov eax, ecx
mov byte [eax], 0
push ebx
jmp 0x403fad
mov edi, dword [ebp - 0x304]
cmp ecx, edi
jne 0x403f84
mov esi, ecx
sub esi, ebx
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp esi, 0x9249248
ja 0x404089
sub edi, ebx
mov ebx, edi
mov eax, 0x92492493
imul ebx
add edx, ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
cmp esi, eax
jbe 0x403f84
mov ecx, eax
shr ecx, 1
mov edx, 0x9249249
sub edx, ecx
cmp edx, eax
jae 0x403f6a
xor eax, eax
jmp 0x403f6c
add eax, ecx
cmp eax, esi
jae 0x403f72
mov eax, esi
push eax
lea ecx, [ebp - 0x30c]
call fcn.00406e70
mov ecx, dword [ebp - 0x308]
mov byte [ebp - 4], 0xb
test ecx, ecx
je 0x403fbd
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x403fa4
mov eax, dword [ecx]
jmp 0x403fa6
mov eax, ecx
mov byte [eax], 0
lea eax, [ebp - 0x4c]
push eax
or eax, 0xffffffff
xor ebx, ebx
call fcn.00401b90
mov ecx, dword [ebp - 0x308]
mov ebx, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add ecx, 0x1c
mov edi, 8
mov dword [ebp - 0x308], ecx
mov byte [ebp - 4], 3
cmp dword [ebp - 0x38], 0x10
jb 0x403fe4
mov ecx, dword [ebp - 0x4c]
push ecx
call ebx
add esp, 4
mov eax, dword [ebp - 0x31c]
lea edx, [ebp - 0x2fc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x403d52
mov eax, 0x430400
lea ecx, [ebp - 0x84]
call fcn.004012f0
mov esi, eax
push 0x425390
lea ecx, [ebp - 0xa8]
push ecx
lea edx, [ebp - 0x4c]
push edx
mov byte [ebp - 4], 0xc
call fcn.00407380
add esp, 0xc
mov ecx, eax
mov eax, esi
lea ebx, [ebp - 0x68]
mov byte [ebp - 4], 0xd
call fcn.00407470
mov esi, eax
lea eax, [ebp - 0x30]
cmp eax, esi
je 0x4040b4
cmp dword [ebp - 0x1c], edi
jb 0x404059
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ebx, ebx
xor edx, edx
mov edi, 7
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], dx
cmp dword [esi + 0x14], 8
jae 0x404094
mov eax, dword [esi + 0x10]
inc eax
add eax, eax
push eax
lea ecx, [ebp - 0x30]
push esi
push ecx
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
jmp 0x40409b
push str.vector_T__too_long
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
mov edx, dword [esi]
mov dword [ebp - 0x30], edx
mov dword [esi], ebx
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x20], eax
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x1c], ecx
xor edx, edx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov word [esi], dx
jmp 0x4040b9
mov edi, 7
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
mov ebx, 8
cmp dword [ebp - 0x54], ebx
jb 0x4040d2
mov eax, dword [ebp - 0x68]
push eax
call esi
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x58], 0
mov word [ebp - 0x68], cx
cmp dword [ebp - 0x38], ebx
jb 0x4040f0
mov edx, dword [ebp - 0x4c]
push edx
call esi
add esp, 4
xor eax, eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x4c], ax
cmp dword [ebp - 0x70], ebx
jb 0x404115
mov ecx, dword [ebp - 0x84]
push ecx
call esi
add esp, 4
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], ebx
jae 0x404120
lea eax, [ebp - 0x30]
lea edx, [ebp - 0x2fc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x31c], eax
cmp eax, 0xffffffff
je 0x4043ed
lea ecx, [ecx]
xor eax, eax
mov word [ebp - 0x290], ax
mov dword [ebp - 0x58], eax
xor ecx, ecx
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x54], edi
mov word [ebp - 0x68], cx
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404160
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x2d0]
lea esi, [ebp - 0x68]
call fcn.00406690
mov eax, esi
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], 0xf
call fcn.00401360
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x54], ebx
jb 0x4041a2
mov edx, dword [ebp - 0x68]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edx, edx
xor eax, eax
cmp dword [ebp - 0x3c], 0x20
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x58], edx
mov word [ebp - 0x68], ax
jne 0x4043ba
cmp dword [ebp - 0x38], 0x10
mov eax, dword [ebp - 0x4c]
jae 0x4041c6
lea eax, [ebp - 0x4c]
mov ecx, eax
cmp byte [eax + 0x20], dl
jne 0x4043ba
mov al, byte [ecx]
cmp al, 0x30
jl 0x4041db
cmp al, 0x39
jle 0x4041f3
cmp al, 0x61
jl 0x4041e3
cmp al, 0x66
jle 0x4041f3
cmp al, 0x41
jl 0x4043ba
cmp al, 0x46
jg 0x4043ba
inc edx
inc ecx
cmp edx, 0x20
jl 0x4041d1
mov ecx, dword [ebp - 0x308]
mov ebx, dword [ebp - 0x30c]
lea edx, [ebp - 0x4c]
cmp edx, ecx
jae 0x4042fa
mov eax, edx
cmp ebx, eax
ja 0x4042fa
mov edi, dword [ebp - 0x304]
mov esi, edx
sub esi, ebx
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x314], eax
cmp ecx, edi
jne 0x4042b2
mov esi, ecx
sub esi, ebx
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp esi, 0x9249248
ja 0x404089
sub edi, ebx
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
cmp esi, eax
jbe 0x4042b2
mov ecx, eax
shr ecx, 1
mov edx, 0x9249249
sub edx, ecx
cmp edx, eax
jae 0x404292
xor eax, eax
jmp 0x404294
add eax, ecx
cmp eax, esi
jae 0x40429a
mov eax, esi
push eax
lea ecx, [ebp - 0x30c]
call fcn.00406e70
mov ecx, dword [ebp - 0x308]
mov ebx, dword [ebp - 0x30c]
mov eax, dword [ebp - 0x314]
lea edx, [eax*8]
sub edx, eax
lea ebx, [ebx + edx*4]
mov byte [ebp - 4], 0x12
test ecx, ecx
je 0x4043a9
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x4042ef
mov eax, dword [ecx]
mov byte [eax], 0
push ebx
jmp 0x404399
mov eax, ecx
mov byte [eax], 0
push ebx
jmp 0x404399
mov edi, dword [ebp - 0x304]
cmp ecx, edi
jne 0x404370
mov esi, ecx
sub esi, ebx
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp esi, 0x9249248
ja 0x404089
sub edi, ebx
mov ebx, edi
mov eax, 0x92492493
imul ebx
add edx, ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
cmp esi, eax
jbe 0x404370
mov ecx, eax
shr ecx, 1
mov edx, 0x9249249
sub edx, ecx
cmp edx, eax
jae 0x404356
xor eax, eax
jmp 0x404358
add eax, ecx
cmp eax, esi
jae 0x40435e
mov eax, esi
push eax
lea ecx, [ebp - 0x30c]
call fcn.00406e70
mov ecx, dword [ebp - 0x308]
mov byte [ebp - 4], 0x13
test ecx, ecx
je 0x4043a9
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x404390
mov eax, dword [ecx]
jmp 0x404392
mov eax, ecx
mov byte [eax], 0
lea eax, [ebp - 0x4c]
push eax
or eax, 0xffffffff
xor ebx, ebx
call fcn.00401b90
mov ecx, dword [ebp - 0x308]
add ecx, 0x1c
mov ebx, 8
lea edi, [ebx - 1]
mov dword [ebp - 0x308], ecx
mov byte [ebp - 4], 3
cmp dword [ebp - 0x38], 0x10
jb 0x4043d1
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x31c]
lea edx, [ebp - 0x2fc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x404140
mov edi, dword [ebp - 0x30c]
cmp edi, dword [ebp - 0x308]
je 0x4044e1
nop
cmp dword [edi + 0x14], 0x10
jb 0x40440a
mov eax, dword [edi]
jmp 0x40440c
mov eax, edi
push str.BA8D164350B649CC861D2C01BED14BE8
push eax
call dword [sym.imp.MSVCR100.dll__stricmp]
add esp, 8
test eax, eax
je 0x4044d2
mov ecx, dword [ebp - 0x310]
mov edx, dword [ecx + 0x18]
push 0xffffffffffffffff
push edx
mov esi, 2
mov word [ebp - 0x314], 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
or eax, 0xffffffff
xor ebx, ebx
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x78], 0xf
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x8c], 0
call fcn.00401b90
mov eax, dword [ebp - 0x314]
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], eax
mov esi, dword [ebp - 0x310]
lea ecx, [ebp - 0x8c]
mov edx, esi
mov byte [ebp - 4], 0x14
call fcn.00407f20
push eax
lea ecx, [ebp - 0x320]
push ecx
push esi
call fcn.00407830
mov byte [ebp - 4], 3
cmp dword [ebp - 0x78], 0x10
jb 0x4044b4
mov edx, dword [ebp - 0x8c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0x8c], al
mov eax, esi
mov ecx, dword [eax + 0x18]
push ecx
mov dword [ebp - 0x78], 0xf
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
add edi, 0x1c
cmp edi, dword [ebp - 0x308]
jne 0x404400
mov ebx, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
mov edi, 8
cmp dword [ebp - 0x1c], edi
jb 0x4044fa
mov edx, dword [ebp - 0x30]
push edx
call ebx
add esp, 4
xor eax, eax
xor ecx, ecx
mov esi, 7
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], eax
mov word [ebp - 0x30], cx
cmp dword [ebp - 0x94], edi
jb 0x404523
mov edx, dword [ebp - 0xa8]
push edx
call ebx
add esp, 4
xor eax, eax
xor ecx, ecx
mov byte [ebp - 4], cl
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x98], eax
mov word [ebp - 0xa8], cx
cmp dword [ebp - 0x30c], eax
je 0x404594
lea ecx, [ebp - 0x30c]
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::_Container_base0::_Orphan_all_void_]
mov edi, dword [ebp - 0x308]
mov esi, dword [ebp - 0x30c]
cmp esi, edi
je 0x40458c
nop
cmp dword [esi + 0x14], 0x10
jb 0x40456e
mov eax, dword [esi]
push eax
call ebx
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
add esi, 0x1c
cmp esi, edi
jne 0x404560
mov esi, dword [ebp - 0x30c]
push esi
call ebx
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x30c], eax
mov dword [ebp - 0x308], eax
mov dword [ebp - 0x304], eax
cmp dword [ebp - 0x330], eax
je 0x404603
lea ecx, [ebp - 0x330]
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::_Container_base0::_Orphan_all_void_]
mov edi, dword [ebp - 0x32c]
mov esi, dword [ebp - 0x330]
cmp esi, edi
je 0x4045fd
cmp dword [esi + 0x14], 0x10
jb 0x4045df
mov edx, dword [esi]
push edx
call ebx
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
add esi, 0x1c
cmp esi, edi
jne 0x4045d1
mov esi, dword [ebp - 0x330]
push esi
call ebx
add esp, 4
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.0041d5b4
mov esp, ebp
pop ebp
ret 4