Function at 0x46dbd0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5253a7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x160
mov eax, dword [esp + 0x170]
mov dword [esp + 0x10], ecx
push esi
add ecx, 0xf4
push ecx
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.004024c0
push 0x52bd64
push eax
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x184], 0
call fcn.00402570
push 0x52be04
push eax
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x190], 1
call fcn.00402570
mov eax, dword [eax]
add esp, 0x24
lea ecx, [esp + 0x24]
push ecx
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov esi, eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x1c], esi
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46dc71
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x16c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46dc97
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x16c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46dcc0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
cmp esi, 0xffffffff
je 0x46dfc3
push ebx
push ebp
mov ebp, dword [esp + 0x180]
mov ebx, 2
push edi
jmp 0x46dce0
test byte [esp + 0x30], 0x14
jne 0x46dfa1
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x18]
call fcn.00402700
mov ecx, dword [esp + 0x14]
push 0x2e
push ecx
mov dword [esp + 0x180], ebx
call fcn.004a36e5
add esp, 8
test eax, eax
je 0x46de8c
mov ecx, dword [esp + 0x14]
sub eax, ecx
mov edi, eax
cmp edi, 0xffffffff
je 0x46de8c
mov eax, dword [ecx - 0xc]
sub eax, edi
push eax
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x1c]
call fcn.00405ad0
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 4]
mov esi, dword [edx - 0xc]
mov ecx, 1
sub ecx, eax
mov eax, dword [edx - 8]
sub eax, esi
or eax, ecx
mov byte [esp + 0x178], 3
jge 0x46dd6c
push esi
lea ecx, [esp + 0x14]
call fcn.00401900
mov edx, dword [esp + 0x10]
push edx
call fcn.004a3750
add esp, 4
test esi, esi
jl 0x46dfdb
mov eax, dword [esp + 0x10]
cmp esi, dword [eax - 8]
jg 0x46dfdb
mov dword [eax - 0xc], esi
mov eax, dword [esp + 0x10]
mov byte [esi + eax], 0
mov ecx, dword [esp + 0x10]
push 0x553888
push ecx
call fcn.004a1b19
add esp, 8
test eax, eax
je 0x46dee4
lea ecx, [esp + 0x10]
call fcn.0046db00
mov eax, dword [eax]
push 0x553880
push eax
call fcn.004a1b19
add esp, 8
test eax, eax
je 0x46dee4
lea ecx, [esp + 0x10]
call fcn.0046db00
mov eax, dword [eax]
push 0x553878
push eax
call fcn.004a1b19
add esp, 8
test eax, eax
je 0x46dee4
lea ecx, [esp + 0x10]
call fcn.0046db00
mov eax, dword [eax]
push 0x553870
push eax
call fcn.004a1b19
add esp, 8
test eax, eax
je 0x46dee4
lea ecx, [esp + 0x10]
call fcn.0046db00
mov eax, dword [eax]
push 0x553868
push eax
call fcn.004a1b19
add esp, 8
test eax, eax
je 0x46dee4
push 0x553860
lea ecx, [esp + 0x14]
call fcn.0046db00
push eax
call fcn.00401a20
add esp, 8
test al, al
jne 0x46dee4
push edi
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x1c]
call fcn.00431bd0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x17c], 4
call fcn.004023f0
lea ecx, [esp + 0x2c]
call fcn.00401a60
lea ecx, [esp + 0x10]
mov byte [esp + 0x178], bl
call fcn.00401a60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0xac]
push eax
push 0xffffffffffffffff
push 0x1a2
push edx
call dword [sym.imp.user32.dll_SendMessageA]
cmp eax, 0xffffffff
je 0x46df34
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x178], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46dfa1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x46dfa1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x178], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46df09
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x178], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46dfa1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x46dfa1
mov esi, dword [ebp + 4]
test esi, esi
mov dword [esp + 0x18], esi
je 0x46df7f
nop
mov eax, dword [esp + 0x14]
push eax
push esi
mov ecx, ebp
call fcn.0046d9d0
mov ecx, eax
call fcn.0046da10
test eax, eax
jg 0x46df6e
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
call fcn.0046d9b0
mov esi, dword [esp + 0x18]
test esi, esi
jne 0x46df40
jmp 0x46df7f
lea edx, [esp + 0x14]
push edx
push esi
mov ecx, ebp
call fcn.004f9a37
test esi, esi
jne 0x46df8d
lea eax, [esp + 0x14]
push eax
push 0
mov ecx, ebp
call fcn.004f9a7f
lea ecx, [esp + 0x14]
mov dword [esp + 0x178], 0xffffffff
call fcn.00401a60
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x30]
push ecx
push esi
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x46dce0
push esi
call dword [sym.imp.kernel32.dll_FindClose]
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x164]
pop esi
mov dword fs:[0], ecx
add esp, 0x16c
ret 8
push 0x80070057
call fcn.00401180
int3