Function at 0x1002e812
Capabilities:
Get file attributes
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10060eaa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push esi
push edi
mov dword [esp + 0x10], 0x824a8c6a
mov edi, edx
mov dword [esp + 0x20], 0xc2da8afc
mov esi, ecx
push 0
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x14], 0xfffffff5
pop ebx
jmp 0x1002e9f9
mov dword [esp + 0x18], 0x7b1891f7
mov dword [esp + 0x24], 0x7392715e
mov dword [esp + 0x20], ebx
jmp 0x1002e885
mov eax, dword [esp + 0x20]
mov dword [esp + eax*4 + 0x2c], 0xffffffff
inc dword [esp + 0x20]
cmp dword [esp + 0x20], 1
jl 0x1002e875
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x18], ebx
jl 0x1002e9f5
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], 0xfffffffe
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
neg edx
mov dword [esp + 0x20], 0x573
mov eax, dword [esp + 0x20]
sbb edx, edx
mov dword [esp + 0x14], 0x168a
neg edx
mov eax, dword [esp + 0x10]
xor ecx, ecx
cmp eax, edx
setg cl
xor edx, edx
imul ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
cmp ecx, eax
mov eax, dword [esp + 0x10]
setg dl
xor ecx, ecx
cmp edx, eax
setle cl
xor edx, edx
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x18]
cmp ecx, eax
setne dl
cmp edx, dword [esp + 0x10]
jge 0x1002e93b
mov byte [esp + 0xf], bl
cmp byte [esp + 0xf], 0
je 0x1002e9eb
push ebx
push ebx
call dword [sym.imp.USER32.dll_LoadMenuW]
jmp 0x1002e9eb
push 3
mov dword [esp + 0x2c], 8
mov dword [esp + 0x24], ebx
pop ecx
jmp 0x1002e958
mov eax, dword [esp + 0x20]
mov dword [esp + eax*4 + 0x64], ecx
inc dword [esp + 0x20]
cmp dword [esp + 0x20], ecx
jl 0x1002e94c
mov dword [esp + 0x14], ebx
jmp 0x1002e9b2
mov dword [esp + 0x20], ebx
jmp 0x1002e98f
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x1c], ebx
jg 0x1002e98b
mov eax, 0x34283644
mov dword [esp + 0x68], eax
mov dword [esp + 0x28], eax
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], ebx
jle 0x1002e979
inc dword [esp + 0x20]
cmp dword [esp + 0x20], ebx
jle 0x1002e96a
mov byte [esp + 0xf], bl
cmp byte [esp + 0xf], 0
je 0x1002e9ae
push 1
push ebx
push 0xfe0
call dword [sym.imp.USER32.dll_InvalidateRect]
inc dword [esp + 0x14]
cmp dword [esp + 0x14], ebx
jle 0x1002e964
mov eax, dword [esp + 0x14]
mov ecx, 0xc3e5f885
cmp ecx, eax
sbb edx, edx
neg edx
sub edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp eax, edx
mov eax, dword [esp + 0x10]
setge cl
sub eax, ecx
neg eax
sbb eax, eax
neg eax
mov dword [esp + 0x28], eax
dec dword [esp + 0x18]
jns 0x1002e89a
dec dword [esp + 0x10]
cmp dword [esp + 0x10], 0xfffffff3
jg 0x1002e85f
mov byte [esp + 0xf], bl
cmp byte [esp + 0xf], 0
je 0x1002ea16
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 3
lea ecx, [esp + 0x50]
call fcn.1002bd73
mov dword [esp + 0x8c], ebx
lea ecx, [esp + 0x58]
mov dword [esp + 0x20], 0xf98a59c1
mov dword [esp + 0x30], 1
mov dword [esp + 0x1c], 0xb44cf59
mov dword [esp + 0x28], 0x2eda8ed4
mov dword [esp + 0x30], 0x28405cef
mov dword [esp + 0x14], 0xcbcb1a7a
mov dword [esp + 0x10], 0xfffffff9
push 3
call fcn.1002bd73
mov byte [esp + 0x8c], 1
mov dword [esp + 0x18], 0x2b56095d
mov dword [esp + 0x10], ebx
jmp 0x1002ea94
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x4c]
mov dword [eax + ecx*4], 0x4e1a3622
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 3
jl 0x1002ea81
mov dword [esp + 0x10], ebx
jmp 0x1002eab4
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x58]
mov dword [eax + ecx*4], 0xebda1846
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 3
jl 0x1002eaa1
push 2
mov dword [esp + 0x24], ebx
pop edx
jmp 0x1002ec47
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], ebx
jmp 0x1002eae1
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x34], 0x9cf13e1
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 3
jl 0x1002ead1
dec dword [esp + 0x18]
xor ecx, ecx
mov eax, dword [esp + 0x1c]
cmp eax, 0xbba6
setg cl
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x14], ebx
jne 0x1002eb0e
cmp dword [esp + 0x18], ebx
jne 0x1002eb0e
mov eax, ebx
jmp 0x1002eb11
xor eax, eax
inc eax
xor ecx, ecx
mov dword [esp + 0x24], ebx
cmp eax, 0x45be
sete cl
xor edx, edx
sub ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x38]
cmp ecx, eax
mov eax, dword [esp + 0x24]
setg dl
xor ecx, ecx
cmp eax, edx
setne cl
xor edx, edx
cmp ecx, 0x2aaf
setge dl
imul edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
neg edx
sbb edx, edx
xor ecx, ecx
neg edx
cmp edx, eax
setne cl
cmp ecx, dword [esp + 0x28]
jge 0x1002ec00
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x4c]
cmp dword [eax + ecx*4], ebx
je 0x1002ec00
push dword [esp + 0x30]
lea eax, [esp + 0x84]
mov dword [esp + 0x44], ebx
push eax
lea eax, [esp + 0x78]
mov dword [esp + 0x4c], ebx
push eax
xorps xmm0, xmm0
mov dword [esp + 0x54], ebx
push ebx
lea ecx, [esp + 0x50]
movdqu xmmword [esp + 0x80], xmm0
call fcn.1002dc27
mov dword [esp + 0x24], 0x802e
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x4c]
cmp dword [eax + ecx*4], ebx
je 0x1002ebd9
mov eax, dword [esp + 0x40]
xor ecx, ecx
cmp dword [eax + 0xc], ebx
mov eax, dword [esp + 0x38]
setne cl
imul eax, ecx
test eax, eax
je 0x1002ebd9
xor ecx, ecx
inc ecx
jmp 0x1002ebdb
mov ecx, ebx
mov eax, dword [esp + 0x3c]
xor edx, edx
cmp eax, ecx
mov eax, dword [esp + 0x3c]
setge dl
xor ecx, ecx
cmp edx, eax
setne cl
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x40]
call fcn.1002bdf5
jmp 0x1002ec08
mov eax, dword [esp + 0x38]
mov dword [esp + 0x38], eax
push 2
pop edx
mov dword [esp + 0x14], edx
cmp dword [esp + 0x14], ebx
jl 0x1002ec43
mov dword [esp + 0x24], 0xff9b
mov dword [esp + 0x10], edx
cmp dword [esp + 0x10], ebx
jl 0x1002ec35
mov dword [esp + 0x24], 1
dec dword [esp + 0x10]
jns 0x1002ec27
mov dword [esp + 0x24], 0xfffffff8
dec dword [esp + 0x14]
jns 0x1002ec15
inc dword [esp + 0x20]
cmp dword [esp + 0x20], edx
jle 0x1002eac7
mov dword [esp + 0x18], 0xa
jmp 0x1002ec7c
mov dword [esp + 0x1c], ebx
jmp 0x1002ec72
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x58]
cmp dword [eax + ecx*4], ebx
jne 0x1002ec78
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], edx
jle 0x1002ec61
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 0x15
jle 0x1002ec5b
lea ecx, [esp + 0x58]
call fcn.1002bdf5
lea ecx, [esp + 0x4c]
call fcn.1002bdf5
mov dword [esi], ebx
jmp 0x1002eca6
mov ecx, dword [esi]
mov eax, dword [edi]
mov dword [eax + ecx*4], 0xd4e0d3bd
inc dword [esi]
cmp dword [esi], 1
jl 0x1002ec99
mov ecx, dword [esp + 0x84]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret