Function at 0x100302d2
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1005b957
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb8
cmp byte [ebp + 8], 0
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x2c], esi
je 0x10030355
cmp byte [ebp + 0xc], 0
je 0x10030334
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
cmp dword [edx], 2
jge 0x100308b5
mov esi, dword [ebp + 0x1c]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0xfffffff8
inc dword [edx]
cmp dword [edx], 2
jl 0x1003031d
jmp 0x100308b5
xor eax, eax
mov edx, 0x7917
push eax
push eax
mov byte [esp + 0x26], al
mov cl, 1
lea eax, [esp + 0x26]
push eax
call fcn.1002ff7e
add esp, 0xc
jmp 0x100308b5
cmp byte [ebp + 0x20], 0
je 0x100308ab
push ecx
push 1
call fcn.1002f60b
xor ebx, ebx
mov dword [esp + 0x64], 7
xor eax, eax
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], ax
push 1
push 0x5bfc
lea eax, [ebp + 0x14]
mov dword [esp + 0xdc], ebx
push eax
push ebx
lea eax, [esp + 0x60]
mov edx, 0x6455
push eax
push 0x73f
push 0x7c2d
mov cl, 1
call fcn.1002f837
add esp, 0x24
lea eax, [esp + 0x1f]
xor dl, dl
mov ecx, 0xd90
push 4
pop edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
push 0x3902
mov dword [esp + 0x7c], edi
mov byte [esp + 0x23], bl
push eax
call fcn.1002f80c
push 1
lea edx, [esp + 0x29]
mov byte [esp + 0x29], bl
call fcn.1002f5cf
mov eax, dword [0x1007e9a8]
add esp, 0xc
test al, 1
jne 0x1003041d
or eax, 1
mov dword [0x1007e9a8], eax
push 0x121a
mov byte [esp + 0xd0], 1
call fcn.1000d901
pop ecx
mov word [0x1007d610], ax
mov byte [esp + 0xcc], bl
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0xc], ebx
jmp 0x1003043e
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0xb0], 0x10c9
inc dword [esp + 0xc]
cmp dword [esp + 0xc], edi
jl 0x1003042b
mov dword [esp + 0xc], ebx
jmp 0x1003045d
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x80], 0x1da622a1
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 2
jl 0x1003044a
mov dword [esp + 0xc], ebx
jmp 0x100304a4
mov dword [esp + 0x10], 1
mov dword [esp + 0x10], ebx
jmp 0x10030495
mov dword [esp + 0x14], 0x90a2
mov dword [esp + 0x80], 0xbb4ebb0c
cmp dword [esp + 0x14], ebx
jne 0x1003049c
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 3
jle 0x10030478
mov eax, dword [esp + 0x10]
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 3
jle 0x1003046a
mov eax, dword [0x1007e9a8]
test al, 2
jne 0x100304dc
or eax, 2
mov dword [0x1007e9a8], eax
push 0x109a
mov byte [esp + 0xd0], 2
call fcn.1000d901
pop ecx
mov word [0x1007e9b0], ax
mov byte [esp + 0xcc], bl
mov dword [esp + 0xc], 0x2ffab8c3
lea ecx, [esp + 0x3c]
mov dword [esp + 0x10], 0xfffffff8
push 3
call fcn.10001cf5
mov byte [esp + 0xcc], 3
lea eax, [esp + 0x3c]
xor edi, edi
lea edx, [esp + 0x7c]
inc edi
xor cl, cl
mov dword [esp + 0x14], edi
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x14], 0xe2ef
push eax
call fcn.1002f247
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
sub edx, eax
neg edx
pop ecx
mov ecx, dword [esp + 0x10]
sbb edx, edx
inc edx
neg ecx
sbb ecx, ecx
xor eax, eax
inc ecx
cmp edx, ecx
setne al
sub eax, dword [esp + 0xc]
je 0x100307c4
mov dword [esp + 0x28], 0xd402da3c
mov dword [esp + 0x18], 0x4733
cmp dword [esp + 0x18], 0x49d5
jle 0x10030600
push 0x5c2
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetROP2]
mov edi, ebx
mov esi, ebx
mov eax, ebx
mov dword [esp + 0x14], ebx
and eax, esi
lea ecx, [esp + 0x98]
and eax, edi
cdq
push edx
push eax
call fcn.100026cb
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x100305ba
mov eax, dword [eax]
push eax
call fcn.10041403
pop ecx
push ebx
push 1
lea ecx, [esp + 0xa0]
call fcn.1000e4ee
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, 0x230f
jl 0x1003059d
inc esi
cmp esi, 0x357d
jl 0x10030597
inc edi
cmp edi, 0x48f7
jl 0x10030595
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, dword [esp + 0x2c]
xor edi, edi
inc edi
cmp dword [esp + 0x18], 0x44db
jge 0x10030615
push str.hqd_whegu_bwa_umep_hbudi_xvqzaubd_jfhni
call fcn.10041403
pop ecx
push 3
pop eax
mov dword [esp + 0xcc], eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x14], edi
push eax
call fcn.10001cf5
mov byte [esp + 0xcc], 6
mov dword [esp + 0x20], ebx
jmp 0x1003064a
mov eax, dword [esp + 0x20]
mov dword [esp + eax*4 + 0x88], ebx
inc dword [esp + 0x20]
cmp dword [esp + 0x20], 4
jl 0x1003063b
lea eax, [esp + 0x60]
xor dl, dl
push eax
lea ecx, [esp + 0x24]
call fcn.1002f0cd
mov dword [esp + 0x10], 0x10
cmp dword [esp + 0x10], 6
pop ecx
jg 0x10030724
mov dword [esp + 0x10], ebx
jmp 0x10030687
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x34], ebx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 1
jl 0x1003067b
mov dword [esp + 0x10], ebx
jmp 0x1003070b
mov dword [esp + 0x14], 3
mov dword [esp + 0x14], ebx
jmp 0x10030700
mov dword [esp + 0x18], 6
mov dword [esp + 0x18], 0x1d
jmp 0x100306f5
sub esp, 0xc
mov dword [esp + 0x3c], 0x9642e40c
lea eax, [esp + 0x3c]
push 0x410
push eax
push 0x6db4
push ecx
push 0x68f0
push 0x7fbe
lea eax, [esp + 0x4c]
xor cl, cl
push eax
lea eax, [esp + 0x64]
push eax
call fcn.10030c83
mov eax, dword [esp + 0x60]
add esp, 0x2c
dec dword [esp + 0x18]
cmp dword [esp + 0x18], 0xffffffee
jl 0x100306b4
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 0xe
jle 0x100306a2
dec dword [esp + 0x10]
cmp dword [esp + 0x10], 0xfffffff1
je 0x10030694
dec dword [esp + 0xc]
cmp dword [esp + 0xc], 6
jle 0x10030675
xor edi, edi
inc edi
mov eax, dword [esp + 0x28]
xor edx, edx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
cmp eax, ecx
mov eax, dword [esp + 0x28]
setl dl
xor ebx, ebx
cmp edx, eax
mov eax, dword [esp + 0x10]
setl bl
xor ecx, ecx
cmp ebx, eax
mov eax, dword [esp + 0x28]
setge cl
xor edx, edx
cmp ecx, 0x5d06
setl dl
xor ebx, ebx
imul edx, eax
cmp edx, dword [esp + 0xc]
jg 0x10030773
mov eax, ebx
cmp dword [esp + 0x28], ebx
je 0x10030775
mov eax, edi
mov dword [esp + 0x90], eax
xor edx, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
cmp ecx, eax
mov eax, dword [esp + 0xc]
setl dl
xor ecx, ecx
cmp eax, edx
mov eax, dword [esp + 0x60]
setge cl
mov dword [eax + 8], ecx
lea ecx, [esp + 0x60]
call fcn.10001d31
jmp 0x100307d7
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 0x9d7fccea
push eax
call fcn.1002f100
pop ecx
lea ecx, [esp + 0x3c]
mov byte [esp + 0xcc], bl
call fcn.10001d31
sub esp, 0xc
lea eax, [ebp + 0x14]
push eax
push 0xb87
lea eax, [esp + 0x5c]
push eax
push ecx
push 0x1007e9b0
push 0x1007d610
push 0x7ae8
push 0x6247
mov cl, 1
call fcn.10030c83
add esp, 0x2c
mov dword [esp + 0x24], 0xffffffff
lea eax, [esp + 0x24]
push eax
push ecx
push 1
call fcn.1002eeec
add esp, 0xc
mov dword [esp + 0x24], ebx
jmp 0x1003084a
push ebx
mov edx, 0x421e
mov ecx, 0x23e7
call fcn.100302a8
dec dword [esp + 0x28]
pop ecx
cmp dword [esp + 0x24], 0xffffffe4
jne 0x10030835
lea eax, [esp + 0x48]
cmp esi, eax
je 0x10030864
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
call fcn.1000e580
mov dword [esp + 0x2c], 0x7de7
cmp dword [esp + 0x2c], 0x7efb
jle 0x1003089d
mov esi, ebx
mov edi, ebx
mov eax, edi
mov ecx, 0x10075958
and eax, esi
cdq
push edx
push eax
call fcn.1000daa1
inc edi
cmp edi, 0x1e77
jl 0x1003087a
inc esi
cmp esi, 0x10dd
jl 0x10030878
push ebx
push 1
lea ecx, [esp + 0x50]
call fcn.1000e6c2
jmp 0x100308b5
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [edx], eax
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret