Function at 0x4331d0
Capabilities:
Enumerate files on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x460994
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x660
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x54], esi
lea ecx, [esp + 0x1b8]
mov dword [esp + 0x678], 1
call fcn.0040e700
mov edx, dword [esp + 0x680]
lea eax, [esp + 0x1b8]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
mov bl, 2
push edx
mov byte [esp + 0x69c], bl
call fcn.00405950
mov ecx, esi
call fcn.0042e3a0
xor edi, edi
cmp eax, edi
jne 0x43329b
lea ecx, [esp + 0x1b8]
mov byte [esp + 0x678], 1
call fcn.0040e790
mov eax, dword [esp + 0x69c]
mov esi, 0x10
cmp eax, esi
jb 0x433274
mov eax, dword [esp + 0x688]
push eax
call fcn.0044b92d
add esp, 4
cmp dword [esp + 0x6b8], esi
jb 0x433481
mov ecx, dword [esp + 0x6a4]
push ecx
call fcn.0044b92d
add esp, 4
mov eax, 1
jmp 0x433e34
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
push edi
lea edx, [esp + 0x6c4]
mov ebp, 0xf
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], edi
push edx
mov byte [ecx + 4], 0
call fcn.004022a0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x6c4]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], edi
push eax
mov byte [esp + 0x6bc], 3
mov byte [ecx + 4], 0
call fcn.004022a0
lea ecx, [esp + 0xac]
push ecx
mov ecx, esi
mov byte [esp + 0x6b4], bl
call fcn.0042bb10
lea ecx, [esp + 0xc8]
mov byte [esp + 0x678], 4
call fcn.004031a0
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0xcc]
push eax
lea ecx, [esp + 0x1c0]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push 0xffffffffffffffff
push edi
lea edx, [esp + 0xa4]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], edi
push edx
mov byte [esp + 0x6ac], 5
mov byte [ecx + 4], 0
call fcn.004022a0
mov ecx, esi
call fcn.0042c870
mov esi, eax
cmp esi, edi
je 0x4333f2
lea ecx, [esp + 0xc8]
call fcn.00403200
mov eax, dword [esp + 0x8c]
mov ebx, 0x10
cmp eax, ebx
jb 0x433392
mov eax, dword [esp + 0x78]
push eax
call fcn.0044b92d
add esp, 4
lea ecx, [esp + 0x1b8]
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], edi
mov byte [esp + 0x78], 0
mov byte [esp + 0x678], 1
call fcn.0040e790
cmp dword [esp + 0x69c], ebx
jb 0x4333d2
mov ecx, dword [esp + 0x688]
push ecx
call fcn.0044b92d
add esp, 4
cmp dword [esp + 0x6b8], ebx
jb 0x4333eb
mov edx, dword [esp + 0x6a4]
push edx
call fcn.0044b92d
add esp, 4
mov eax, esi
jmp 0x433e34
cmp dword [esp + 0x108], edi
jne 0x43348b
lea ecx, [esp + 0xc8]
call fcn.00403200
mov eax, dword [esp + 0x8c]
mov esi, 0x10
cmp eax, esi
jb 0x433428
mov eax, dword [esp + 0x78]
push eax
call fcn.0044b92d
add esp, 4
lea ecx, [esp + 0x1b8]
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], edi
mov byte [esp + 0x78], 0
mov byte [esp + 0x678], 1
call fcn.0040e790
cmp dword [esp + 0x69c], esi
jb 0x433468
mov ecx, dword [esp + 0x688]
push ecx
call fcn.0044b92d
add esp, 4
cmp dword [esp + 0x6b8], esi
jb 0x433481
mov edx, dword [esp + 0x6a4]
push edx
call fcn.0044b92d
add esp, 4
mov eax, 1
jmp 0x433e34
mov ecx, dword [esp + 0x6c4]
lea eax, [esp + 0x74]
push eax
call fcn.0044b540
lea ecx, [esp + 0xc8]
push ecx
mov ecx, dword [esp + 0x6c4]
call fcn.004026b0
push 0x2008
call fcn.00449985
mov edx, dword [esp + 0x6c0]
add esp, 4
mov ebx, eax
push 0xffffffffffffffff
mov dword [ebx + 0x2000], edi
mov dword [ebx + 0x2004], edi
push edi
lea eax, [esp + 0xd0]
lea ebp, [ebx + 0x2000]
push eax
lea ecx, [esp + 0x9c]
mov dword [edx], ebx
mov dword [esp + 0xb4], 0xf
mov dword [esp + 0xb0], edi
mov byte [esp + 0xa0], 0
call fcn.004022a0
lea ecx, [esp + 0x90]
mov byte [esp + 0x678], 6
call fcn.0040c6f0
lea ecx, [esp + 0x90]
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x2c4]
call fcn.00428930
mov esi, dword [eax]
cmp esi, dword [esp + 0x2c0]
mov dword [esp + 0x14], esi
je 0x433878
jmp 0x433550
cmp dword [esp + 0xa8], 0x10
mov eax, dword [esp + 0x94]
lea ecx, [esi + 0xc]
jae 0x43356b
lea eax, [esp + 0x94]
mov edx, dword [esp + 0xa4]
push edx
push eax
mov eax, dword [ecx + 0x14]
push eax
push edi
call fcn.00401450
test eax, eax
jne 0x433878
lea ecx, [esp + 0x118]
call fcn.004031a0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x11c]
push edx
lea eax, [esp + 0x1c0]
push eax
push 0x464f38
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x6c]
push edx
mov byte [esp + 0x690], 7
mov dword [esp + 0x34], edi
call fcn.0040bf60
sub esp, 0x10
mov edx, esp
lea ecx, [esi + 0x44]
mov dword [esp + 0x40], esp
push ecx
push eax
push edx
mov byte [esp + 0x6ac], 8
call fcn.004154a0
mov ecx, dword [esp + 0x88]
add esp, 0xc
call fcn.0042c870
mov dword [esp + 0x18], eax
cmp dword [esp + 0x70], 0x10
mov byte [esp + 0x678], 7
jb 0x433615
mov eax, dword [esp + 0x5c]
push eax
call fcn.0044b92d
add esp, 4
cmp dword [esp + 0x18], edi
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], edi
mov byte [esp + 0x5c], 0
je 0x433645
lea ecx, [esp + 0x118]
mov byte [esp + 0x678], 6
call fcn.00403200
jmp 0x43385e
cmp dword [esp + 0x158], edi
jne 0x433667
lea ecx, [esp + 0x118]
mov byte [esp + 0x678], 6
call fcn.00403200
jmp 0x43385e
cmp dword [esp + 0x1c], edi
jne 0x43368f
cmp dword [esp + 0x15c], edi
jne 0x43368f
lea ecx, [esp + 0x118]
mov byte [esp + 0x678], 6
call fcn.00403200
jmp 0x43385e
mov edx, dword [ebp]
mov ecx, 0x2000
sub ecx, edx
cmp ecx, 0x140
jae 0x4336c5
push 0x2008
call fcn.00449985
mov dword [ebx + 0x2004], eax
lea ebp, [eax + 0x2000]
add esp, 4
mov ebx, eax
mov dword [ebp], edi
mov dword [eax + 0x2004], edi
mov edx, dword [ebp]
mov eax, dword [str.typedir_]
add edx, ebx
mov dword [edx], eax
mov ecx, dword [0x465dac]
mov dword [edx + 4], ecx
mov al, byte [0x465db0]
mov byte [edx + 8], al
add dword [ebp], 9
cmp dword [esp + 0x130], 0x10
mov eax, dword [esp + 0x11c]
jae 0x4336fe
lea eax, [esp + 0x11c]
lea ecx, [esp + 0x408]
push ecx
push eax
call fcn.004213b0
test eax, eax
je 0x4337e8
mov eax, dword [esp + 0x414]
cmp eax, edi
mov ecx, dword [esp + 0x410]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
jne 0x433754
cmp ecx, edi
jne 0x433748
mov ecx, dword [esp + 0x408]
mov eax, dword [esp + 0x40c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
cmp eax, edi
jne 0x433754
cmp ecx, edi
je 0x4337e8
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], edi
mov byte [esp + 0x3c], 0
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x36]
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x3a]
push ecx
lea edx, [esp + 0x3a]
push edx
lea eax, [esp + 0x3c]
push eax
push str.modify_04d_02d_02d_02d_02d_02d_
lea ecx, [esp + 0x54]
mov byte [esp + 0x694], 9
call fcn.0040c1e0
cmp dword [esp + 0x50], 0x10
mov esi, dword [esp + 0x3c]
jae 0x4337b8
lea esi, [esp + 0x3c]
mov ecx, dword [esp + 0x4c]
mov edi, dword [ebp]
mov edx, ecx
shr ecx, 2
add edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp]
mov eax, dword [esp + 0x4c]
add ecx, eax
mov dword [ebp], ecx
lea ecx, [esp + 0x38]
call fcn.00401fd0
mov esi, dword [esp + 0x14]
mov ecx, dword [ebp]
mov byte [ebx + ecx], 0x20
mov edi, dword [ebp]
inc edi
mov dword [ebp], edi
mov ecx, dword [esi + 0x58]
lea edx, [esi + 0x44]
cmp dword [edx + 0x18], 0x10
mov eax, edi
jb 0x433809
mov edx, dword [edx + 4]
jmp 0x43380c
add edx, 4
mov esi, edx
mov edx, ecx
shr ecx, 2
lea edi, [eax + ebx]
mov eax, dword [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [eax + 0x58]
mov edx, dword [ebp]
add edx, eax
mov dword [ebp], edx
mov eax, edx
mov byte [eax + ebx], 0xd
mov ecx, dword [ebp]
inc ecx
mov dword [ebp], ecx
mov eax, ecx
mov byte [eax + ebx], 0xa
mov eax, dword [ebp]
inc eax
lea ecx, [esp + 0x118]
mov dword [ebp], eax
mov byte [esp + 0x678], 6
call fcn.00403200
xor edi, edi
lea ecx, [esp + 0x14]
call fcn.0040acd0
mov esi, dword [esp + 0x14]
cmp esi, dword [esp + 0x2c0]
jne 0x433550
push 0x465dc0
lea ecx, [esp + 0xcc]
push ecx
lea edx, [esp + 0xb4]
push edx
call fcn.0040bf60
mov ecx, dword [eax + 0x18]
mov edi, 0x10
add esp, 0xc
cmp ecx, edi
jb 0x4338a6
mov eax, dword [eax + 4]
jmp 0x4338a9
add eax, 4
lea ecx, [esp + 0x530]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp dword [esp + 0xc4], edi
mov dword [esp + 0x14], esi
jb 0x4338d7
mov edx, dword [esp + 0xb0]
push edx
call fcn.0044b92d
add esp, 4
cmp esi, 0xffffffff
je 0x433d32
mov ecx, 0x50
lea esi, [esp + 0x530]
lea edi, [esp + 0x2c8]
lea eax, [esp + 0x530]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x43391b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 0x2f4]
push 0x463b4c
push ecx
call fcn.0044c9a6
add esp, 8
test eax, eax
je 0x433d27
lea edx, [esp + 0x2f4]
push 0x46397c
push edx
call fcn.0044c9a6
add esp, 8
test eax, eax
je 0x433d27
mov edx, dword [ebx + 0x2000]
lea ebp, [ebx + 0x2000]
mov eax, 0x2000
sub eax, edx
cmp eax, 0x140
jae 0x433997
push 0x2008
call fcn.00449985
add esp, 4
mov dword [ebx + 0x2004], eax
xor edi, edi
lea ebp, [eax + 0x2000]
mov ebx, eax
mov dword [ebp], edi
mov dword [eax + 0x2004], edi
jmp 0x433999
xor edi, edi
test byte [esp + 0x2c8], 0x10
je 0x433ac0
lea ecx, [esp + 0x168]
call fcn.004031a0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x16c]
push edx
lea eax, [esp + 0x1c0]
push eax
push 0x464f38
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0xc0]
push edx
mov byte [esp + 0x690], 0xa
call fcn.0040bf60
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x44], esp
lea edx, [esp + 0x31c]
push edx
push eax
push ecx
mov byte [esp + 0x6ac], 0xb
call fcn.0040bf60
mov ecx, dword [esp + 0x88]
add esp, 0xc
call fcn.0042c870
mov esi, eax
cmp dword [esp + 0xc4], 0x10
jb 0x433a35
mov eax, dword [esp + 0xb0]
push eax
call fcn.0044b92d
add esp, 4
cmp esi, edi
mov dword [esp + 0xc4], 0xf
mov dword [esp + 0xc0], edi
mov byte [esp + 0xb0], 0
mov byte [esp + 0x678], 6
je 0x433a6c
lea ecx, [esp + 0x168]
call fcn.00403200
jmp 0x433d27
cmp dword [esp + 0x1a8], edi
jne 0x433a86
lea ecx, [esp + 0x168]
call fcn.00403200
jmp 0x433d27
mov ecx, dword [ebp]
mov edx, dword [str.typedir_]
add ecx, ebx
mov dword [ecx], edx
mov eax, dword [0x465dac]
mov dword [ecx + 4], eax
mov dl, byte [0x465db0]
mov byte [ecx + 8], dl
mov eax, dword [ebp]
add eax, 9
lea ecx, [esp + 0x168]
mov byte [esp + 0x13], 0
mov dword [ebp], eax
call fcn.00403200
jmp 0x433aef
mov eax, dword [ebp]
mov ecx, dword [str.typefile_]
add eax, ebx
mov dword [eax], ecx
mov edx, dword [0x465db8]
mov dword [eax + 4], edx
mov cx, word [0x465dbc]
mov word [eax + 8], cx
mov eax, dword [ebp]
add eax, 0xa
mov byte [esp + 0x13], 1
mov dword [ebp], eax
mov eax, dword [esp + 0x2e0]
cmp eax, edi
mov ecx, dword [esp + 0x2dc]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
jne 0x433b2f
cmp ecx, edi
jne 0x433b23
mov ecx, dword [esp + 0x2cc]
mov eax, dword [esp + 0x2d0]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
cmp eax, edi
jne 0x433b2f
cmp ecx, edi
je 0x433bf8
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], edi
mov byte [esp + 0x5c], 0
movzx ecx, word [esp + 0x34]
movzx edx, word [esp + 0x32]
movzx eax, word [esp + 0x30]
push ecx
movzx ecx, word [esp + 0x32]
push edx
movzx edx, word [esp + 0x32]
push eax
movzx eax, word [esp + 0x34]
push ecx
push edx
push eax
lea ecx, [esp + 0x70]
push str.modify_04d_02d_02d_02d_02d_02d_
push ecx
mov byte [esp + 0x698], 0xc
call fcn.0040bed0
mov eax, dword [esp + 0x90]
mov esi, dword [esp + 0x7c]
add esp, 0x20
cmp eax, 0x10
jae 0x433ba2
lea esi, [esp + 0x5c]
mov ecx, dword [esp + 0x6c]
mov edi, dword [ebp]
mov edx, ecx
shr ecx, 2
add edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x6c]
mov ecx, dword [ebp]
add ecx, eax
cmp dword [esp + 0x70], 0x10
mov dword [ebp], ecx
mov byte [esp + 0x678], 6
jb 0x433be1
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.0044b92d
add esp, 4
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], 0
mov byte [esp + 0x5c], 0
xor edi, edi
mov al, byte [esp + 0x13]
test al, al
je 0x433cb6
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], edi
mov byte [esp + 0x3c], 0
mov edx, dword [esp + 0x2e4]
push 1
push edi
push edi
push edx
mov byte [esp + 0x688], 0xd
call fcn.0044bfd0
mov ecx, dword [esp + 0x2e8]
xor esi, esi
add eax, ecx
adc edx, esi
push edx
push eax
lea edx, [esp + 0x40]
push str.size_I64d_
push edx
call fcn.0040bed0
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x4c]
add esp, 0x10
cmp eax, 0x10
jae 0x433c60
lea esi, [esp + 0x3c]
mov ecx, dword [esp + 0x4c]
mov edi, dword [ebp]
mov eax, ecx
shr ecx, 2
add edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
add edx, ecx
cmp eax, 0x10
mov dword [ebp], edx
mov byte [esp + 0x678], 6
jb 0x433ca1
mov edx, dword [esp + 0x3c]
push edx
call fcn.0044b92d
add esp, 4
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
mov eax, dword [ebp]
mov byte [ebx + eax], 0x20
mov eax, dword [ebp]
inc eax
mov dword [ebp], eax
mov edx, eax
lea eax, [esp + 0x2f4]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x433cd0
sub eax, esi
mov ecx, eax
lea edi, [edx + ebx]
mov edx, ecx
shr ecx, 2
lea esi, [esp + 0x2f4]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
lea eax, [esp + 0x2f4]
rep movsb byte es:[edi], byte [esi]
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x433d00
mov edx, dword [ebp]
sub eax, esi
add edx, eax
mov dword [ebp], edx
mov eax, edx
mov byte [eax + ebx], 0xd
mov ecx, dword [ebp]
inc ecx
mov dword [ebp], ecx
mov eax, ecx
mov byte [eax + ebx], 0xa
inc dword [ebp]
cmp dword [esp + 0x14], 0xffffffff
jne 0x4338e0
mov eax, dword [esp + 0xa8]
mov edi, 0x10
cmp eax, edi
jb 0x433d52
mov eax, dword [esp + 0x94]
push eax
call fcn.0044b92d
add esp, 4
mov ebx, 0xf
xor esi, esi
lea ecx, [esp + 0xe4]
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xa4], esi
mov byte [esp + 0x94], 0
call fcn.00402a30
mov ecx, dword [esp + 0xe8]
push ecx
call fcn.0044b92d
mov eax, dword [esp + 0xe4]
add esp, 4
cmp eax, edi
mov dword [esp + 0xe8], esi
jb 0x433dad
mov edx, dword [esp + 0xcc]
push edx
call fcn.0044b92d
add esp, 4
cmp dword [esp + 0x8c], edi
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xdc], esi
mov byte [esp + 0xcc], 0
jb 0x433dd9
mov eax, dword [esp + 0x78]
push eax
call fcn.0044b92d
add esp, 4
lea ecx, [esp + 0x1b8]
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x88], esi
mov byte [esp + 0x78], 0
mov byte [esp + 0x678], 1
call fcn.0040e790
cmp dword [esp + 0x69c], edi
jb 0x433e19
mov ecx, dword [esp + 0x688]
push ecx
call fcn.0044b92d
add esp, 4
cmp dword [esp + 0x6b8], edi
jb 0x433e32
mov edx, dword [esp + 0x6a4]
push edx
call fcn.0044b92d
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x670]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x66c
ret 0x48