Function at 0x47581f
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b00c1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xa4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x34]
test eax, eax
je 0x47586e
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x64], eax
push 1
push dword [ebp - 0x64]
push 0x1e67
push 0x7b1c
call fcn.00475aeb
add esp, 0x10
jmp 0x475ada
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x8c], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x475ad4
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x2c], 0x3943
mov dword [ebp - 0x48], str.waco_ahcrhyj_tvqxm_ulnstz_wtbv_ebczvhay_voad_qzj_aixpru_dpifaifel_anflb
cmp dword [ebp - 0x2c], 0x3bf3
jle 0x47599e
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and dword [ebp - 0x18], 0
jmp 0x475950
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x18f1
jge 0x47599e
and dword [ebp - 0x14], 0
jmp 0x475966
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x6b38
jge 0x47599c
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
sar eax, cl
cdq
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], edx
push dword [ebp - 0xa4]
push dword [ebp - 0xa8]
mov ecx, 0xae33d8
call fcn.00409bc4
jmp 0x47595f
jmp 0x475949
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x3c], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x2c], 0x37dd
jge 0x4759be
mov edx, dword [ebp - 0x48]
mov ecx, 0xae33d8
call fcn.0040c802
jmp 0x4759da
or dword [ebp - 4], 0xffffffff
jmp 0x4759e4
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x80]
mov eax, dword [eax]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x3c]
cmp dword [eax], 3
jne 0x475a32
mov dword [ebp - 0x24], 1
jmp 0x475a36
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x28]
push dword [eax]
mov ecx, dword [ebp - 0x30]
call fcn.00409fe1
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax]
jg 0x475a53
mov dword [ebp - 0x34], 1
jmp 0x475a57
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x3c]
mov edx, dword [edx]
add edx, 0x336d
imul edx, dword [ecx]
add edx, dword [ebp - 0x34]
cmp edx, dword [eax]
jl 0x475a89
mov dword [ebp - 0x20], 1
jmp 0x475a8d
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov esi, dword [ebp - 0x20]
neg esi
mov eax, dword [ebp - 0x28]
push dword [eax]
mov ecx, dword [ebp - 0x30]
call fcn.00409fe1
cmp esi, dword [eax]
jl 0x475ab7
mov dword [ebp - 0x40], 1
jmp 0x475abb
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x38]
mov esi, dword [eax]
add esi, dword [ebp - 0x40]
push 2
mov ecx, dword [ebp - 0x98]
call fcn.00409fe1
mov dword [eax], esi
jmp 0x475ada
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret