Function at 0x479408
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0143
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xe4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x4795c7
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x6c], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
movzx eax, byte [eax]
test eax, eax
je 0x479471
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x47946c
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
jmp 0x4795c2
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0x5c], 0xa2d
mov dword [ebp - 0x80], str.dadjp_kvxizr_qzrqup_tglaxueg_bxwimqcd_wjnct_cgeogj_pznixkgy_xhk
cmp dword [ebp - 0x5c], 0xb90
jle 0x47953e
and dword [ebp - 0x34], 0
jmp 0x4794ae
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x2143
jge 0x479536
and dword [ebp - 0x38], 0
jmp 0x4794c4
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x2297
jge 0x479531
and dword [ebp - 0x24], 0
jmp 0x4794da
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x6b5
jge 0x47952f
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x24]
sar eax, cl
xor eax, dword [ebp - 0x34]
cdq
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], edx
push dword [ebp - 0xbc]
push dword [ebp - 0xc0]
lea ecx, [ebp - 0xf4]
call fcn.00401a71
pop ecx
pop ecx
mov ecx, eax
call fcn.00409bb9
push eax
call fcn.00499a27
pop ecx
lea ecx, [ebp - 0xf4]
call fcn.00409baf
jmp 0x4794d3
jmp 0x4794bd
jmp 0x4794a7
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x18], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x5c], 0x6de
jge 0x47955d
push dword [ebp - 0x80]
call fcn.00499a27
pop ecx
jmp 0x479579
or dword [ebp - 4], 0xffffffff
jmp 0x479583
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x4795a5
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 3
jge 0x4795c2
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x88]
call fcn.00409fe1
or dword [eax], 0xffffffff
jmp 0x47959a
jmp 0x4798ee
lea eax, [ebp + 0x10]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb0]
movzx eax, byte [eax]
test eax, eax
je 0x479616
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
jmp 0x4798ee
mov dword [ebp - 0x54], 0x120f
mov dword [ebp - 0xdc], str.urnp_olv_tyfwnsoza_gwkvo_pftowrki_ximmb
cmp dword [ebp - 0x54], 0x1341
jle 0x47968c
and dword [ebp - 0x2c], 0
jmp 0x47963d
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x1417
jge 0x47968c
and dword [ebp - 0x3c], 0
jmp 0x479653
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x51d5
jge 0x47968a
mov eax, dword [ebp - 0x2c]
cdq
idiv dword [ebp - 0x3c]
mov eax, edx
cdq
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], edx
push dword [ebp - 0xc8]
push dword [ebp - 0xcc]
mov ecx, 0xae33d8
call fcn.00409bc4
jmp 0x47964c
jmp 0x479636
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x54], 0x11d4
jge 0x4796b5
mov edx, dword [ebp - 0xdc]
mov ecx, 0xae33d8
call fcn.0040c802
jmp 0x4796d1
or dword [ebp - 4], 0xffffffff
jmp 0x4796db
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x64], 0x2c28
mov dword [ebp - 0x74], str.jffvyx_hxnetpag_nqcz_wev
cmp dword [ebp - 0x64], 0x2cfc
jle 0x4797af
and dword [ebp - 0x20], 0
jmp 0x479727
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x7c16
jge 0x4797af
and dword [ebp - 0x28], 0
jmp 0x47973d
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x3e67
jge 0x4797aa
and dword [ebp - 0x30], 0
jmp 0x479753
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xa98
jge 0x4797a8
and dword [ebp - 0x1c], 0
jmp 0x479769
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x74c8
jge 0x4797a6
mov eax, dword [ebp - 0x20]
or eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
imul ecx, dword [ebp - 0x1c]
or eax, ecx
cdq
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], edx
push dword [ebp - 0xd4]
push dword [ebp - 0xd8]
mov ecx, 0xae33d8
call fcn.00409bc4
jmp 0x479762
jmp 0x47974c
jmp 0x479736
jmp 0x479720
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 4], 4
cmp dword [ebp - 0x64], 0x294b
jge 0x4797d5
mov edx, dword [ebp - 0x74]
mov ecx, 0xae33d8
call fcn.0040c802
jmp 0x4797f1
or dword [ebp - 4], 0xffffffff
jmp 0x4797fb
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x40]
cmp dword [eax], 0xfff6
je 0x479842
mov dword [ebp - 0x50], 1
jmp 0x479846
and dword [ebp - 0x50], 0
xor eax, eax
jne 0x47987f
mov eax, dword [ebp - 0x40]
cmp dword [eax], 0
jne 0x479860
mov eax, dword [ebp - 0x40]
cmp dword [eax], 0
jne 0x479860
and dword [ebp - 0x44], 0
jmp 0x479867
mov dword [ebp - 0x44], 1
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x44]
mov dword [eax], ecx
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
cmp dword [ebp - 0x44], eax
je 0x47987f
and dword [ebp - 0x48], 0
jmp 0x479886
mov dword [ebp - 0x48], 1
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
cmp dword [ebp - 0x48], 0
je 0x4798b1
mov eax, 0x981ff29a
test eax, eax
je 0x4798b1
mov eax, dword [ebp - 0x4c]
cmp dword [eax], 0
je 0x4798b1
mov dword [ebp - 0x58], 1
jmp 0x4798b5
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x50]
add eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
push 0
mov ecx, dword [ebp - 0xac]
call fcn.00409fe1
mov ecx, dword [ebp - 0x60]
mov dword [eax], ecx
cmp dword [ebp - 0x60], 5
jge 0x4798df
mov dword [ebp - 0x68], 1
jmp 0x4798e3
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0x68]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret