Function at 0x1001045f
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10058fed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xc8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x100105d6
mov dword [ebp - 0x5c], 0x5af
mov dword [ebp - 0x64], str.lro_kobeu_syl_ljh_trv_satvfd_cnp_veilpacxd_kdoaadqxl_ujjiy
cmp dword [ebp - 0x5c], 0x718
jle 0x10010554
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and dword [ebp - 0x28], 0
jmp 0x100104c0
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x4138
jge 0x10010554
and dword [ebp - 0x20], 0
jmp 0x100104da
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x41bf
jge 0x1001054f
and dword [ebp - 0x30], 0
jmp 0x100104f0
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x2cd3
jge 0x1001054d
mov eax, dword [ebp - 0x28]
and eax, dword [ebp - 0x20]
or eax, dword [ebp - 0x30]
cdq
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], edx
push dword [ebp - 0xac]
push dword [ebp - 0xb0]
lea ecx, [ebp - 0xd8]
call fcn.10001ade
pop ecx
pop ecx
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
call fcn.10013ea4
push eax
call fcn.1004041f
pop ecx
lea ecx, [ebp - 0xd8]
call fcn.10013e9a
jmp 0x100104e9
jmp 0x100104d3
jmp 0x100104b9
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x70], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x5c], 0x253
jge 0x10010570
push dword [ebp - 0x64]
call fcn.1004041f
pop ecx
jmp 0x1001058c
or dword [ebp - 4], 0xffffffff
jmp 0x10010596
lea eax, [ebp + 0x14]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x98], eax
push 0x4c9b
push 1
push dword [ebp - 0x70]
push dword [ebp - 0x98]
mov eax, dword [ebp - 0x78]
push dword [eax]
push 0x376c
push 0x3be
push 0x5054
call fcn.100108b7
add esp, 0x20
jmp 0x100108a6
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x88], eax
lea eax, [ebp + 8]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
movzx eax, byte [eax]
test eax, eax
je 0x10010625
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommTimeouts]
jmp 0x100108a6
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x54], 0x56b
mov dword [ebp - 0x84], str.odygeicfk_jgjrgag_vipn_dhsfvrnv_sekqisbst_road_nddkywg_tqockg_dnc
cmp dword [ebp - 0x54], 0x5af
jle 0x100106f5
and dword [ebp - 0x24], 0
jmp 0x1001068e
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x171c
jge 0x100106f5
and dword [ebp - 0x2c], 0
jmp 0x100106a4
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x457
jge 0x100106f3
and dword [ebp - 0x34], 0
jmp 0x100106ba
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x1b2e
jge 0x100106f1
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x34]
cdq
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], edx
push dword [ebp - 0xb8]
push dword [ebp - 0xbc]
mov ecx, 0x10072098
call fcn.10013ec4
jmp 0x100106b3
jmp 0x1001069d
jmp 0x10010687
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x54], 0x4fa
jge 0x1001071b
mov edx, dword [ebp - 0x84]
mov ecx, 0x10072098
call fcn.1001684d
jmp 0x10010737
or dword [ebp - 4], 0xffffffff
jmp 0x10010741
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
jne 0x1001077f
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jne 0x1001077f
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
jne 0x1001077f
and dword [ebp - 0x38], 0
jmp 0x10010786
mov dword [ebp - 0x38], 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
cmp ecx, dword [eax]
jl 0x1001079b
mov dword [ebp - 0x4c], 1
jmp 0x1001079f
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x4c], eax
jl 0x100107b2
mov dword [ebp - 0x40], 1
jmp 0x100107b6
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
add ecx, dword [ebp - 0x40]
cmp ecx, dword [eax]
je 0x100107ce
mov dword [ebp - 0x44], 1
jmp 0x100107d2
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x44], eax
jne 0x100107e5
mov dword [ebp - 0x3c], 1
jmp 0x100107e9
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x3c]
jg 0x10010815
mov eax, dword [ebp - 0x48]
cmp dword [eax], 0
je 0x10010815
mov dword [ebp - 0x50], 1
jmp 0x10010819
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x50]
jl 0x1001082c
mov dword [ebp - 0x58], 1
jmp 0x10010830
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x58], eax
jge 0x10010843
mov eax, 0xec299e88
test eax, eax
je 0x10010898
mov dword [ebp - 0xa4], 3
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x10010877
push 0x2cb9
push 0x5522
push 0x5f91
push 0x3da2
push 0
call fcn.10005448
add esp, 0x14
push 0
push dword [ebp - 0x9c]
push 0
lea eax, [ebp - 0xa4]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call fcn.10005b0c
add esp, 0x18
jmp 0x100108a6
mov dword [ebp - 0x60], 0x767dbf12
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret