Function at 0x49bd70
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x586d93
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x740
push esi
push edi
lea eax, [esp + 0x444]
xor esi, esi
push 0x104
push eax
push esi
mov dword [esp + 0x4c], ecx
mov dword [ecx + 0x54], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x548]
lea edx, [esp + 0x648]
push ecx
lea eax, [esp + 0x108]
push edx
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x450]
push ecx
push edx
call fcn.0054ea7c
mov eax, dword [0x639ad4]
add esp, 0x14
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x104]
lea edx, [esp + 8]
push ecx
push edx
lea eax, [esp + 0x18]
push str._s_sLanguagesidm_.lng
push eax
mov dword [esp + 0x760], esi
call fcn.00562ecb
mov edx, dword [esp + 0x20]
add esp, 0x10
lea ecx, [esp + 0x304]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x3c], edi
jne 0x49be52
lea ecx, [esp + 0x10]
mov dword [esp + 0x750], eax
call fcn.0056a100
pop edi
pop esi
mov ecx, dword [esp + 0x740]
mov dword fs:[0], ecx
add esp, 0x74c
ret
push ebx
push ebp
mov ebx, 1
mov eax, dword [0x639ad4]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x338]
lea edx, [esp + 0x10c]
push ecx
lea eax, [esp + 0x14]
push edx
push eax
lea ecx, [esp + 0x20]
push str._s_sLanguages_s
push ecx
mov byte [esp + 0x76c], bl
call fcn.00562ecb
mov edx, dword [esp + 0x28]
push 0x617dcc
push edx
call fcn.0054f48f
mov esi, eax
add esp, 0x1c
test esi, esi
mov dword [esp + 0x1c], esi
je 0x49c231
push esi
lea eax, [esp + 0x50]
push 0x40
push eax
call fcn.0054f62d
add esp, 0xc
test eax, eax
je 0x49c228
lea edx, [esp + 0x4c]
mov ecx, str.lang
mov eax, dword [edx]
mov edx, dword [ecx]
cmp eax, edx
jne 0x49c228
lea ecx, [esp + 0x50]
push 0x3d
push ecx
call fcn.0054e030
add esp, 8
test eax, eax
je 0x49c228
lea edx, [esp + 0x8c]
lea ecx, [esp + 0x20]
push edx
push ecx
inc eax
push str._x_s
push eax
call fcn.0054f846
add esp, 0x10
cmp eax, 2
jne 0x49c228
cmp dword [esp + 0x20], 9
je 0x49c228
mov eax, dword [0x639ad4]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
lea edx, [esp + 0x14]
lea ecx, [esp + 0x24]
push edx
mov byte [esp + 0x75c], 2
call fcn.0056a239
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x8c]
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], eax
call fcn.0056a289
xor ebp, ebp
push esi
lea edx, [esp + 0x50]
push 0x40
push edx
call fcn.0054f62d
add esp, 0xc
test eax, eax
je 0x49c1a0
lea ecx, [esp + 0x4c]
mov eax, str.tips
mov edx, dword [ecx]
mov ecx, dword [eax]
cmp edx, ecx
jne 0x49bff1
lea eax, [esp + 0x50]
push 0x3d
push eax
call fcn.0054e030
add esp, 8
test eax, eax
je 0x49bff1
lea ecx, [esp + 0x2cc]
inc eax
push ecx
push 0x615e9c
push eax
call fcn.0054f846
add esp, 0xc
cmp eax, ebx
jne 0x49bff1
lea edx, [esp + 0x2cc]
lea eax, [esp + 0x10c]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x3c]
push str._s_sLanguages_s
push edx
call fcn.00562ecb
add esp, 0x14
lea ecx, [esp + 0x4c]
mov eax, str.help
mov edx, dword [ecx]
mov ecx, dword [eax]
cmp edx, ecx
jne 0x49c057
lea eax, [esp + 0x50]
push 0x3d
push eax
call fcn.0054e030
add esp, 8
test eax, eax
je 0x49c057
lea ecx, [esp + 0x20c]
inc eax
push ecx
push 0x615e9c
push eax
call fcn.0054f846
add esp, 0xc
cmp eax, ebx
jne 0x49c057
lea edx, [esp + 0x20c]
lea eax, [esp + 0x10c]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x40]
push str._s_sLanguages_s
push edx
call fcn.00562ecb
add esp, 0x14
mov ecx, 5
mov edi, str.tutor
lea esi, [esp + 0x4c]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x49c0c0
lea ecx, [esp + 0x51]
push 0x3d
push ecx
call fcn.0054e030
add esp, 8
test eax, eax
je 0x49c0c0
lea edx, [esp + 0x24c]
inc eax
push edx
push 0x615e9c
push eax
call fcn.0054f846
add esp, 0xc
cmp eax, ebx
jne 0x49c0c0
lea eax, [esp + 0x24c]
lea ecx, [esp + 0x10c]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
lea eax, [esp + 0x44]
push str._s_sLanguages_s
push eax
call fcn.00562ecb
add esp, 0x14
mov ecx, 0xb
mov edi, str.grabberhelp
lea esi, [esp + 0x4c]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x49c129
lea eax, [esp + 0x57]
push 0x3d
push eax
call fcn.0054e030
add esp, 8
test eax, eax
je 0x49c129
lea ecx, [esp + 0x28c]
inc eax
push ecx
push 0x615e9c
push eax
call fcn.0054f846
add esp, 0xc
cmp eax, ebx
jne 0x49c129
lea edx, [esp + 0x28c]
lea eax, [esp + 0x10c]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x48]
push str._s_sLanguages_s
push edx
call fcn.00562ecb
add esp, 0x14
mov ecx, 0xd
mov edi, str.schedulerhelp
lea esi, [esp + 0x4c]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x49c192
lea ecx, [esp + 0x57]
push 0x3d
push ecx
call fcn.0054e030
add esp, 8
test eax, eax
je 0x49c192
lea edx, [esp + 0xcc]
inc eax
push edx
push 0x615e9c
push eax
call fcn.0054f846
add esp, 0xc
cmp eax, ebx
jne 0x49c192
lea eax, [esp + 0xcc]
lea ecx, [esp + 0x10c]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
lea eax, [esp + 0x4c]
push str._s_sLanguages_s
push eax
call fcn.00562ecb
add esp, 0x14
mov esi, dword [esp + 0x1c]
inc ebp
cmp ebp, 5
jl 0x49bf73
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.00493680
lea ecx, [esp + 0x40]
mov byte [esp + 0x758], 8
call fcn.0056a100
lea ecx, [esp + 0x3c]
mov byte [esp + 0x758], 7
call fcn.0056a100
lea ecx, [esp + 0x38]
mov byte [esp + 0x758], 6
call fcn.0056a100
lea ecx, [esp + 0x34]
mov byte [esp + 0x758], 5
call fcn.0056a100
lea ecx, [esp + 0x30]
mov byte [esp + 0x758], 4
call fcn.0056a100
lea ecx, [esp + 0x28]
mov byte [esp + 0x758], 3
call fcn.0056a100
lea ecx, [esp + 0x24]
mov byte [esp + 0x758], bl
call fcn.0056a100
mov edi, dword [esp + 0x44]
push esi
call fcn.0054f2a8
add esp, 4
lea edx, [esp + 0x30c]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
mov byte [esp + 0x758], 0
lea ecx, [esp + 0x14]
je 0x49c25a
call fcn.0056a100
jmp 0x49be59
call fcn.0056a100
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x18]
mov dword [esp + 0x758], 0xffffffff
call fcn.0056a100
mov ecx, dword [esp + 0x750]
pop ebp
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x74c
ret