Function at 0x100303fd
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
sub esp, 0x858
lea ebp, [esp - 4]
mov eax, dword [0x102bff3c]
xor eax, ebp
mov dword [ebp + 0x858], eax
push 0x24
mov eax, 0x1021a767
call fcn.101b715d
mov eax, dword [ebp + 0x864]
push 0x208
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x250]
push 0
push eax
call fcn.101d1720
push dword [0x102cb6ec]
mov edi, 0x104
lea eax, [ebp + 0x250]
push edi
push eax
call fcn.101df899
push str..dll
lea eax, [ebp + 0x250]
push edi
push eax
call fcn.101df824
add esp, 0x24
lea eax, [ebp]
push eax
lea eax, [ebp + 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
mov ecx, 0x102cb6fc
mov dword [ebp - 0x14], ebx
call fcn.100311b6
xor esi, esi
mov dword [ebp - 0x24], esi
test ebx, ebx
je 0x1003071a
push 0x200
lea eax, [ebp + 0x658]
push esi
push eax
call fcn.101d1720
and dword [ebp - 4], esi
xor eax, eax
add esp, 0xc
inc eax
test eax, eax
je 0x10030713
push dword [0x102cb6ec]
lea eax, [ebp + 0x250]
push edi
push eax
call fcn.101df899
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp + 0x250]
push edi
push eax
call fcn.101df824
add esp, 0x18
lea eax, [ebp + 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x10030758
push 0x100
lea eax, [ebp + 0x658]
push eax
push 0x1b58
push edi
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x1003073c
lea eax, [ebp + 0x658]
push eax
call fcn.10030d48
mov dword [ebp - 0x18], eax
pop ecx
test eax, eax
je 0x1003073c
push 0x100
lea eax, [ebp + 0x658]
push eax
push 0x1b59
push edi
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x1003073c
push 0x200
xor ebx, ebx
lea eax, [ebp + 0x458]
push ebx
push eax
call fcn.101d1720
lea eax, [ebp + 0x658]
push eax
lea eax, [ebp + 0x458]
push 0x100
push eax
call fcn.101df899
add esp, 0x18
xor eax, eax
mov word [ebp + 0x658], ax
lea eax, [ebp + 0x658]
push 0x100
push eax
push 0x1b5a
push edi
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [ebp + 0x658], bx
je 0x1003063e
lea ecx, [ebp + 0x658]
lea eax, [ebp + 0x458]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100305df
test dx, dx
je 0x100305db
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100305df
add eax, 4
add ecx, 4
test dx, dx
jne 0x100305b9
mov eax, ebx
jmp 0x100305e4
sbb eax, eax
or eax, 1
test eax, eax
je 0x1003063e
push 1
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1003063e
push 0x1023842c
lea eax, [ebp + 0x458]
push 0x100
push eax
call fcn.101df824
lea eax, [ebp + 0x658]
push eax
lea eax, [ebp + 0x458]
push 0x100
push eax
call fcn.101df824
push 0x10238434
lea eax, [ebp + 0x458]
push 0x100
push eax
call fcn.101df824
add esp, 0x24
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ebx
test eax, eax
je 0x1003065f
lea ecx, [ebp + 0x458]
push ecx
push ebx
push 0x143
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x20], eax
push 0x44
call fcn.1006654a
mov ebx, eax
mov eax, dword [ebp - 0x18]
pop ecx
mov dword [ebx], eax
lea ecx, [ebx + 4]
lea eax, [ebp + 0x2c]
push eax
push 0x20
push ecx
call fcn.101df899
mov eax, dword [ebp - 0x1c]
add esp, 0xc
test eax, eax
je 0x10030697
push ebx
push dword [ebp - 0x20]
push 0x151
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [ebp - 0x18]
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp + 0x458]
push eax
push ebx
lea ecx, [ebp - 0x30]
call fcn.100302f7
push eax
push dword [0x102cb6fc]
mov ecx, 0x102cb6fc
mov byte [ebp - 4], 1
call fcn.10030f01
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.10030f9a
mov eax, dword [0x102cb6f0]
cmp ebx, 0x409
cmove eax, edi
mov dword [0x102cb6f0], eax
cmp dword [0x102cb6e4], ebx
jne 0x100306f5
mov ebx, dword [ebp - 0x14]
mov dword [0x102cb6f4], edi
jmp 0x10030741
cmp dword [0x102cb6f8], ebx
mov ebx, dword [ebp - 0x14]
jne 0x10030741
mov esi, edi
mov dword [ebp - 0x24], esi
jmp 0x10030741
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [0x102cb6f4]
test ecx, ecx
jne 0x10030777
test esi, esi
je 0x1003076d
mov eax, dword [0x102cb6f8]
mov ecx, esi
mov dword [0x102cb6f4], ecx
mov dword [0x102cb6e4], eax
jmp 0x10030777
mov eax, dword [0x102cb6f0]
cmp edi, eax
je 0x10030758
cmp edi, dword [0x102cb6f4]
je 0x10030758
cmp edi, esi
je 0x10030758
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, 0x104
jmp 0x100304b2
mov dword [0x102cb6e4], 0x409
test esi, esi
je 0x1003078e
cmp esi, ecx
je 0x1003078e
cmp esi, dword [0x102cb6f0]
je 0x1003078e
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x858]
xor ecx, ebp
call fcn.101b70aa
lea esp, [ebp + 0x85c]
pop ebp
ret