Function at 0x1004338f
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10061f9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x78
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x100435fb
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x4c], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x100434f9
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jne 0x10043436
mov eax, 0xb5934215
test eax, eax
jne 0x10043436
and dword [ebp - 0x40], 0
jmp 0x1004343d
mov dword [ebp - 0x40], 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov edx, dword [edx]
imul edx, dword [ecx]
cmp edx, dword [eax]
je 0x10043458
mov dword [ebp - 0x28], 1
jmp 0x1004345c
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x14]
imul ecx, dword [ebp - 0x28], 9
cmp ecx, dword [eax]
jne 0x10043470
mov dword [ebp - 0x2c], 1
jmp 0x10043474
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x2c], eax
jge 0x10043487
mov dword [ebp - 0x30], 1
jmp 0x1004348b
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x30], eax
je 0x100434a6
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0
je 0x100434a6
mov dword [ebp - 0x34], 1
jmp 0x100434aa
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x34], eax
jl 0x100434bd
mov dword [ebp - 0x38], 1
jmp 0x100434c1
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x38]
jne 0x100434d4
mov dword [ebp - 0x3c], 1
jmp 0x100434d8
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx]
imul ecx, dword [ebp - 0x3c]
or edx, 0xffffffff
sub edx, ecx
imul edx, dword [ebp - 0x40]
sub edx, dword [eax]
mov eax, dword [ebp - 0x70]
mov dword [eax], edx
jmp 0x100435f9
mov dword [ebp - 0x44], 0x2805
mov dword [ebp - 0x78], 0x1000b8e8
cmp dword [ebp - 0x44], 0x28d1
jle 0x10043595
and dword [ebp - 0x18], 0
jmp 0x10043521
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xc49
jge 0x1004358d
and dword [ebp - 0x1c], 0
jmp 0x10043537
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4b2c
jge 0x1004358b
and dword [ebp - 0x20], 0
jmp 0x1004354d
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xa10
jge 0x10043589
mov eax, dword [ebp - 0x18]
cdq
idiv dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
sar edx, cl
mov eax, edx
cdq
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], edx
push dword [ebp - 0x84]
push dword [ebp - 0x88]
mov ecx, 0x10609cb8
call fcn.1000fe1e
jmp 0x10043546
jmp 0x10043530
jmp 0x1004351a
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x7c], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x44], 0x2781
jge 0x100435b5
mov edx, dword [ebp - 0x78]
mov ecx, 0x10609cb8
call fcn.100118c8
jmp 0x100435d1
or dword [ebp - 4], 0xffffffff
jmp 0x100435db
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
movzx eax, byte [eax]
test eax, eax
je 0x100435f9
push 0
push 0x6d
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
jmp 0x10043603
push 0
call fcn.1002dee1
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret