Function at 0x1000804c
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
cmp byte [ebp + 8], 0
push ebx
push esi
push edi
mov esi, edx
je 0x10008169
mov edi, dword [ebp + 0x20]
xor ecx, ecx
mov ebx, dword [ebp + 0x28]
mov eax, dword [edi]
mov dword [ebx], eax
mov eax, dword [edi]
cmp eax, 7
mov eax, dword [ebx]
sete cl
xor edx, edx
cmp ecx, eax
mov ecx, dword [ebp + 0x24]
setne dl
imul eax, dword [ecx], 0x26d
sub edx, eax
mov eax, dword [ecx]
add eax, edx
cmp dword [edi], eax
jne 0x100080ca
mov edx, dword [ebp + 0x18]
lea eax, [esp + 0x18]
push 0x781
push esi
push 0x543e
push 1
push eax
push ecx
push ebx
push 0x236b
xor esi, esi
mov dword [esp + 0x38], 0xd238
push esi
push dword [ebp + 0x2c]
mov ecx, edi
call fcn.100072d3
add esp, 0x28
jmp 0x100080f9
xor esi, esi
lea eax, [esp + 0x14]
push esi
push ecx
push eax
push 0x6ab5
lea eax, [esp + 0x34]
mov dword [esp + 0x24], esi
push eax
push dword [ebp + 0xc]
mov edx, 0x52f3
mov dword [esp + 0x3c], 0xb8ffd020
call fcn.10007616
add esp, 0x18
mov dword [esp + 0x10], 0x3d7b
cmp dword [esp + 0x10], 0x3eaa
jle 0x10008151
mov edi, esi
mov ebx, esi
mov eax, edi
lea ecx, [esp + 0x28]
cdq
idiv ebx
mov eax, edx
cdq
push edx
push eax
call fcn.10001a41
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1000812c
mov eax, dword [eax]
push eax
call fcn.100425d6
pop ecx
push esi
push 1
lea ecx, [esp + 0x30]
call fcn.10001f96
inc ebx
cmp ebx, 0x65ad
jl 0x1000810f
inc edi
cmp edi, 0x2a87
jl 0x1000810d
cmp dword [esp + 0x10], 0x3d01
jge 0x10008286
push str.pqnwyqq_tzujslhft_huqjwtv_ykgvc_fhtfo_yuaajoxzz
jmp 0x10008280
mov dword [esp + 0x20], 0x31fb
cmp dword [esp + 0x20], 0x3567
push 0
pop esi
jle 0x100081c3
mov edi, esi
mov ebx, esi
mov ecx, ebx
mov eax, edi
shl eax, cl
lea ecx, [esp + 0x40]
cdq
push edx
push eax
call fcn.10001a41
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1000819e
mov eax, dword [eax]
push eax
call fcn.100425d6
pop ecx
push esi
push 1
lea ecx, [esp + 0x48]
call fcn.10001f96
inc ebx
cmp ebx, 0x52dd
jl 0x10008182
inc edi
cmp edi, 0x807
jl 0x10008180
mov dword [esp + 0x1c], 0x4668
cmp dword [esp + 0x1c], 0x4963
jle 0x1000824d
mov edi, esi
mov dword [esp + 0x18], esi
mov eax, edi
mov dword [esp + 0x14], 0x6dc8
mov dword [esp + 0x10], eax
mov ebx, esi
mov edi, esi
lea ecx, [edi + ebx]
sar eax, cl
lea ecx, [esp + 0x58]
cdq
push edx
push eax
call fcn.10001a41
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10008208
mov eax, dword [eax]
push eax
call fcn.100425d6
pop ecx
push esi
push 1
lea ecx, [esp + 0x60]
call fcn.10001f96
mov eax, dword [esp + 0x10]
inc edi
cmp edi, 0x27e6
jl 0x100081ed
inc ebx
cmp ebx, 0x1b35
jl 0x100081eb
dec eax
dec dword [esp + 0x14]
mov dword [esp + 0x10], eax
jne 0x100081e9
mov edi, dword [esp + 0x18]
inc edi
mov dword [esp + 0x18], edi
cmp edi, 0x47a6
jl 0x100081db
cmp dword [esp + 0x1c], 0x44d8
jge 0x10008262
push str.lnrotykvz_wue_uzhgbqv_ukzhecbs_lkjxgkblm_wwln
call fcn.100425d6
pop ecx
mov eax, dword [ebp + 0x14]
cmp byte [eax], 0
je 0x10008271
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp dword [esp + 0x20], 0x2fc5
jge 0x10008286
push str.nwwomlbeh_gxpsczp_ptcxmru_xefcl_vbht_qqbx_kryhsvfwk_bbgifij_oityry_pddb
call fcn.100425d6
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret